winbuyerext - Version 1.0.3

Version Notes

First Release

Download this release

Release Info

Developer Magento Core Team
Extension winbuyerext
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/local/Winbuyer/Base/Block/Adminhtml/Config/Form/Renderer/Campaignid.php CHANGED
@@ -16,7 +16,7 @@ class Winbuyer_Base_Block_Adminhtml_Config_Form_Renderer_Campaignid extends Mage
16
  $html .= '<strong style="padding-left:13px;color:green;display:block;">'.$this->__('This is a valid Campaign ID').'</strong>';
17
  }
18
  }else{
19
- $html .= '<strong style="padding-left:13px;color:red;display:block;">'.$this->__('Please fill in a valid Campaign ID, or click ').'<a href="http://partners.winbuyer.com/merchant_join.aspx?kw=magento&c=6001090">'.$this->__('here').'</a>'.$this->__('to register').'</strong>';
20
  }
21
 
22
  return $html;
16
  $html .= '<strong style="padding-left:13px;color:green;display:block;">'.$this->__('This is a valid Campaign ID').'</strong>';
17
  }
18
  }else{
19
+ $html .= '<strong style="padding-left:13px;color:red;display:block;">'.$this->__('Please fill in a valid Campaign ID, or click ').'<a href="http://partners.winbuyer.com/merchant_join.aspx?kw=magento&c=6001090">'.$this->__('here').'</a>'.$this->__(' to register').'</strong>';
20
  }
21
 
22
  return $html;
app/code/local/Winbuyer/Base/Helper/Data.php CHANGED
@@ -13,8 +13,7 @@
13
  class Winbuyer_Base_Helper_Data extends Mage_Core_Helper_Abstract{
14
 
15
  public function getWinbuyerHtml(){
16
- $baseurl = Mage::getStoreConfig('web/unsecure/base_url');
17
- $domain_name = parse_url($baseurl, PHP_URL_HOST);
18
 
19
  /* get the font-style from the configuration */
20
  $fstyle_assoc_arr = Mage::getSingleton("winbuyer_base/adminhtml_system_config_source_fontstyle")->toAssocArray();
13
  class Winbuyer_Base_Helper_Data extends Mage_Core_Helper_Abstract{
14
 
15
  public function getWinbuyerHtml(){
16
+ $domain_name = $_SERVER['SERVER_NAME'];
 
17
 
18
  /* get the font-style from the configuration */
19
  $fstyle_assoc_arr = Mage::getSingleton("winbuyer_base/adminhtml_system_config_source_fontstyle")->toAssocArray();
app/code/local/Winbuyer/Base/etc/config.xml CHANGED
@@ -49,6 +49,7 @@
49
  <notrequired_params>
50
  <maxresults>10</maxresults>
51
  <width>685</width>
 
52
  <font_style>0</font_style>
53
  </notrequired_params>
54
  </winbuyer>
49
  <notrequired_params>
50
  <maxresults>10</maxresults>
51
  <width>685</width>
52
+ <title_text>Related Products from External Websites</title_text>
53
  <font_style>0</font_style>
54
  </notrequired_params>
55
  </winbuyer>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>winbuyerext</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>WinBuyer - Related Product Listing</summary>
10
- <description>WinBuyer - Related Product Listing</description>
11
  <notes>First Release</notes>
12
  <authors><author><name>WinBuyer</name><user>auto-converted</user><email>sveta@imonlinegroup.com</email></author></authors>
13
  <date>2011-11-14</date>
14
- <time>10:57:15</time>
15
- <contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Winbuyer_Base.xml" hash="a40b98c949b2499da2456a7425122477"/></dir></dir></dir><dir name="js"><dir name="winbuyer"><file name="jquery-1.4.4.min.js" hash="eef9a6a171184899b08ebd61f1a03425"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="winbuyer.xml" hash="20724fcd9a79efb4fdc39529ba9e1175"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="Winbuyer"><dir name="Base"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Renderer"><file name="Campaignid.php" hash="bd33d5c90ff0233fa8c03106d20feab9"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="df79ef5a2ccf1829fbc29136fa08cc07"/><file name="system.xml" hash="ccfb6e57608e794655538f23d087e88e"/></dir><dir name="Helper"><file name="Data.php" hash="1aebbe8657f4b208445d12546e73c65e"/></dir><dir name="Model"><file name="Observer.php" hash="03bd5ae83c75f50b2dfae931cd5728d1"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Fontstyle.php" hash="e5e2566416d3c187f2663719e9484f33"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>winbuyerext</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Related Product Listing - WinBuyer extension</summary>
10
+ <description>Related Product Listing - WinBuyer extension</description>
11
  <notes>First Release</notes>
12
  <authors><author><name>WinBuyer</name><user>auto-converted</user><email>sveta@imonlinegroup.com</email></author></authors>
13
  <date>2011-11-14</date>
14
+ <time>21:51:12</time>
15
+ <contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Winbuyer_Base.xml" hash="a40b98c949b2499da2456a7425122477"/></dir></dir></dir><dir name="js"><dir name="winbuyer"><file name="jquery-1.4.4.min.js" hash="eef9a6a171184899b08ebd61f1a03425"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="winbuyer.xml" hash="20724fcd9a79efb4fdc39529ba9e1175"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="Winbuyer"><dir name="Base"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Form"><dir name="Renderer"><file name="Campaignid.php" hash="51a087207d844609ab091bbe9b12469f"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="4a4ca2206cb891166d18776ad7f100d2"/><file name="system.xml" hash="ccfb6e57608e794655538f23d087e88e"/></dir><dir name="Helper"><file name="Data.php" hash="b8bdf3af21ab52705e3f549fb4ad3dad"/></dir><dir name="Model"><file name="Observer.php" hash="03bd5ae83c75f50b2dfae931cd5728d1"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Fontstyle.php" hash="e5e2566416d3c187f2663719e9484f33"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>