Nikolakisae_PaymentLogo - Version 0.1.6

Version Notes

Stable for Magento Vesrion 1.7, 1.8 ,1.8.1 and 1.9

Download this release

Release Info

Developer Niko K
Extension Nikolakisae_PaymentLogo
Version 0.1.6
Comparing to
See all releases


Code changes from version 0.1.5 to 0.1.6

app/code/community/Nikolakisae/PaymentLogo/Block/Checkout/Onepage/Payment/Methods.php CHANGED
@@ -27,7 +27,7 @@ class Nikolakisae_PaymentLogo_Block_Checkout_Onepage_Payment_Methods extends Mag
27
  $form = $this->getChild('payment.method.' . $method->getCode());
28
 
29
  if (file_exists(Mage::getBaseDir('media') . DS . 'payment' . DS . $method->getCode() . DS . Mage::getStoreConfig('payment/' . $method->getCode() . '/image')) && Mage::getStoreConfig('payment/' . $method->getCode() . '/image')) {
30
- $imageLogo = '<img src="' . Mage::getBaseUrl('media') . 'payment/' . $method->getCode() . '/' . Mage::getStoreConfig('payment/' . $method->getCode() . '/image') . '">';
31
  }
32
 
33
  if ($imageLogo != '' && Mage::getStoreConfig('payment/' . $method->getCode() . '/display_options') == 2) {
27
  $form = $this->getChild('payment.method.' . $method->getCode());
28
 
29
  if (file_exists(Mage::getBaseDir('media') . DS . 'payment' . DS . $method->getCode() . DS . Mage::getStoreConfig('payment/' . $method->getCode() . '/image')) && Mage::getStoreConfig('payment/' . $method->getCode() . '/image')) {
30
+ $imageLogo = '<img src="' . Mage::getBaseUrl('media') . 'payment/' . $method->getCode() . '/' . Mage::getStoreConfig('payment/' . $method->getCode() . '/image') . '" style="width:100%;" border="0" alt="Null">';
31
  }
32
 
33
  if ($imageLogo != '' && Mage::getStoreConfig('payment/' . $method->getCode() . '/display_options') == 2) {
app/code/community/Nikolakisae/PaymentLogo/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Nikolakisae_PaymentLogo>
5
- <version>0.1.5</version>
6
  </Nikolakisae_PaymentLogo>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Nikolakisae_PaymentLogo>
5
+ <version>0.1.6</version>
6
  </Nikolakisae_PaymentLogo>
7
  </modules>
8
  <global>
app/design/frontend/{default → base}/default/layout/paymentlogo.xml RENAMED
File without changes
app/design/frontend/{default → base}/default/template/paymentlogo/checkout/onepage/payment/methods.phtml RENAMED
File without changes
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Nikolakisae_PaymentLogo</name>
4
- <version>0.1.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -9,11 +9,11 @@
9
  <summary>Payment Logo extension for Magento</summary>
10
  <description>Display a payment method logo or payment method logo and method title or method title and payment method logo or just method title for the Magento default payment methods: Credit Card (saved), Cash On Delivery, Bank Transfer Payment,&#xD;
11
  Check / Money order, Purchase Order, Authorize.net, Authorize.net Direct Post</description>
12
- <notes>Stable for Magento Vesrion 1.7, 1.8 and 1.8.1</notes>
13
  <authors><author><name>Niko K</name><user>nikolakisae</user><email>info@nikolakisae.com</email></author></authors>
14
- <date>2013-12-15</date>
15
- <time>15:59:29</time>
16
- <contents><target name="magecommunity"><dir name="Nikolakisae"><dir name="PaymentLogo"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="5c0c7690813a0a33378333be2dafc937"/></dir></dir></dir></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Options.php" hash="51f1a091f2e1f8eb39f917edef69378f"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="26422ca774310a89006e9a7199117eff"/><file name="system.xml" hash="942149b03373b57922c4be2fcbf76d56"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="paymentlogo.xml" hash="c5e70d08bc64c3949f250f2cbbd2b71b"/></dir><dir name="template"><dir name="paymentlogo"><dir name="checkout"><dir name="onepage"><dir name="payment"><file name="methods.phtml" hash="1c34f86ea217f08f80135923ccc78ad5"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Nikolakisae_PaymentLogo.xml" hash="9cce35582dff8490521d6ccfbb6853ee"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Nikolakisae_PaymentLogo</name>
4
+ <version>0.1.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
9
  <summary>Payment Logo extension for Magento</summary>
10
  <description>Display a payment method logo or payment method logo and method title or method title and payment method logo or just method title for the Magento default payment methods: Credit Card (saved), Cash On Delivery, Bank Transfer Payment,&#xD;
11
  Check / Money order, Purchase Order, Authorize.net, Authorize.net Direct Post</description>
12
+ <notes>Stable for Magento Vesrion 1.7, 1.8 ,1.8.1 and 1.9</notes>
13
  <authors><author><name>Niko K</name><user>nikolakisae</user><email>info@nikolakisae.com</email></author></authors>
14
+ <date>2014-09-18</date>
15
+ <time>18:52:34</time>
16
+ <contents><target name="magecommunity"><dir name="Nikolakisae"><dir name="PaymentLogo"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="a9705bbdc682cb8eddd00032e0807e84"/></dir></dir></dir></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Source"><file name="Options.php" hash="51f1a091f2e1f8eb39f917edef69378f"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="559cf9c3f6f8503096a8dac1bbf3d190"/><file name="system.xml" hash="942149b03373b57922c4be2fcbf76d56"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="paymentlogo.xml" hash="c5e70d08bc64c3949f250f2cbbd2b71b"/></dir><dir name="template"><dir name="paymentlogo"><dir name="checkout"><dir name="onepage"><dir name="payment"><file name="methods.phtml" hash="1c34f86ea217f08f80135923ccc78ad5"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Nikolakisae_PaymentLogo.xml" hash="9cce35582dff8490521d6ccfbb6853ee"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
19
  </package>