Equity_PaymentFont - Version 1.0.1

Version Notes

- Added Admin Panel

Download this release

Release Info

Developer i6 Media
Extension Equity_PaymentFont
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/Equity/PaymentFont/Helper/Data.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Equity_PaymentFont_Helper_Data extends Mage_Core_Helper_Abstract
4
+ {
5
+ public function loadPaymentFont($uri)
6
+ {
7
+ if ( Mage::getStoreConfigFlag('equity_paymentfont/general/equity_paymentfont_enabled') ) {
8
+ return $uri;
9
+ }
10
+ }
11
+ }
app/code/community/Equity/PaymentFont/etc/adminhtml.xml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <acl>
4
+ <resources>
5
+ <all>
6
+ <title>Allow Everything</title>
7
+ </all>
8
+ <admin>
9
+ <children>
10
+ <system>
11
+ <children>
12
+ <config>
13
+ <children>
14
+ <equity_paymentfont>
15
+ <title>Equity - All</title>
16
+ </equity_paymentfont>
17
+ </children>
18
+ </config>
19
+ </children>
20
+ </system>
21
+ </children>
22
+ </admin>
23
+ </resources>
24
+ </acl>
25
+ </config>
app/code/community/Equity/PaymentFont/etc/config.xml CHANGED
@@ -1,5 +1,10 @@
1
  <?xml version="1.0"?>
2
  <config>
 
 
 
 
 
3
  <frontend>
4
  <layout>
5
  <updates>
@@ -9,4 +14,18 @@
9
  </updates>
10
  </layout>
11
  </frontend>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  </config>
1
  <?xml version="1.0"?>
2
  <config>
3
+ <modules>
4
+ <Equity_PaymentFont>
5
+ <version>1.0.1</version>
6
+ </Equity_PaymentFont>
7
+ </modules>
8
  <frontend>
9
  <layout>
10
  <updates>
14
  </updates>
15
  </layout>
16
  </frontend>
17
+ <global>
18
+ <helpers>
19
+ <equity_paymentfont>
20
+ <class>Equity_PaymentFont_Helper</class>
21
+ </equity_paymentfont>
22
+ </helpers>
23
+ </global>
24
+ <default>
25
+ <equity_sitemap_section>
26
+ <general>
27
+ <equity_sitemap_enabled>0</equity_sitemap_enabled>
28
+ </general>
29
+ </equity_sitemap_section>
30
+ </default>
31
  </config>
app/code/community/Equity/PaymentFont/etc/system.xml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <tabs>
4
+ <equity translate="label" module="equity_paymentfont">
5
+ <label>Equity Extensions</label>
6
+ <sort_order>100</sort_order>
7
+ </equity>
8
+ </tabs>
9
+ <sections>
10
+ <equity_paymentfont translate="label" module="equity_paymentfont">
11
+ <label>PaymentFont</label>
12
+ <tab>equity</tab>
13
+ <sort_order>1000</sort_order>
14
+ <show_in_default>1</show_in_default>
15
+ <show_in_website>1</show_in_website>
16
+ <show_in_store>1</show_in_store>
17
+
18
+ <groups>
19
+ <general translate="label" module="equity_paymentfont">
20
+ <label>Options</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>1000</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <expanded>1</expanded>
27
+
28
+ <fields>
29
+ <equity_paymentfont_enabled translate="label comment">
30
+ <label>Enable PaymentFont: </label>
31
+ <comment>Enables paymentfont in frontend.</comment>
32
+ <frontend_type>select</frontend_type>
33
+ <sort_order>90</sort_order>
34
+ <show_in_default>1</show_in_default>
35
+ <show_in_website>1</show_in_website>
36
+ <show_in_store>1</show_in_store>
37
+ <source_model>adminhtml/system_config_source_yesno</source_model>
38
+ <tooltip>Go to http://paymentfont.io/ to view documentation.</tooltip>
39
+ </equity_paymentfont_enabled>
40
+ </fields>
41
+ </general>
42
+ </groups>
43
+ </equity_paymentfont>
44
+ </sections>
45
+ </config>
app/design/frontend/base/default/layout/equity_paymentfont.xml CHANGED
@@ -3,10 +3,14 @@
3
  <default>
4
  <reference name="head">
5
  <action method="addCss">
6
- <stylesheet>css/Equity/PaymentFont/css/paymentfont.min.css</stylesheet>
 
 
7
  </action>
8
  <action method="addCss">
9
- <stylesheet>css/Equity/PaymentFont/css/equity_paymentfont.css</stylesheet>
 
 
10
  </action>
11
  </reference>
12
  </default>
3
  <default>
4
  <reference name="head">
5
  <action method="addCss">
6
+ <stylesheet helper="equity_paymentfont/loadPaymentFont">
7
+ <args>css/Equity/PaymentFont/css/paymentfont.min.css</args>
8
+ </stylesheet>
9
  </action>
10
  <action method="addCss">
11
+ <stylesheet helper="equity_paymentfont/loadPaymentFont">
12
+ <args>css/Equity/PaymentFont/css/equity_paymentfont.css</args>
13
+ </stylesheet>
14
  </action>
15
  </reference>
16
  </default>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Equity_PaymentFont</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.equity-plugins.com/eula">Equity EULA</license>
7
  <channel>community</channel>
@@ -12,12 +12,11 @@
12
  Go to http://paymentfont.io/ for documentation.&#xD;
13
  &#xD;
14
  Extra classes added with the plugin: pf-lg, pf-md, pf-bordered, pf-inv, pf-rounded</description>
15
- <notes>- Initial commit&#xD;
16
- - Added custom classes: pf-md, pf-lg, pf-inv, pf-bordered, pf-rounded</notes>
17
  <authors><author><name>i6 Media</name><user>equity</user><email>info@i6media.com</email></author></authors>
18
- <date>2015-11-03</date>
19
- <time>14:18:12</time>
20
- <contents><target name="mageetc"><dir name="modules"><file name="Equity_PaymentFont.xml" hash="05d3e55219f670a65905f9a4379eb082"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="equity_paymentfont.xml" hash="6a3bed89ffa4d7373fd758d7925e773c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="Equity"><dir name="PaymentFont"><dir name="css"><file name="equity_paymentfont.css" hash="d7829472b2bfc9cc138547188abb66db"/><file name="paymentfont.min.css" hash="493d16201cbadfc70ea94cb3af4d224e"/></dir><dir name="fonts"><file name="paymentfont-webfont.eot" hash="1c4ce55b1c04c5b99cb46f41bc5bf912"/><file name="paymentfont-webfont.svg" hash="2a1b29479dbb8ec91202537f54e6c6d1"/><file name="paymentfont-webfont.ttf" hash="ee8af6b2f5ccfce287b25e6c7d0a5ef4"/><file name="paymentfont-webfont.woff" hash="966196dae4fcb2b6cbf4b5a817c9d2ef"/><file name="paymentfont-webfont.woff2" hash="05956c1d0cdac013c6f0ee4f830f63b7"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Equity"><dir name="PaymentFont"><dir name="etc"><file name="config.xml" hash="a345315040534069eace7d25153d33fe"/></dir></dir></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.2.0</min><max>5.7.0</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Equity_PaymentFont</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.equity-plugins.com/eula">Equity EULA</license>
7
  <channel>community</channel>
12
  Go to http://paymentfont.io/ for documentation.&#xD;
13
  &#xD;
14
  Extra classes added with the plugin: pf-lg, pf-md, pf-bordered, pf-inv, pf-rounded</description>
15
+ <notes>- Added Admin Panel</notes>
 
16
  <authors><author><name>i6 Media</name><user>equity</user><email>info@i6media.com</email></author></authors>
17
+ <date>2015-11-09</date>
18
+ <time>10:01:25</time>
19
+ <contents><target name="mageetc"><dir name="modules"><file name="Equity_PaymentFont.xml" hash="05d3e55219f670a65905f9a4379eb082"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="equity_paymentfont.xml" hash="ad06b64e04fb84144127a5710409ccca"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="Equity"><dir name="PaymentFont"><dir name="css"><file name="equity_paymentfont.css" hash="d7829472b2bfc9cc138547188abb66db"/><file name="paymentfont.min.css" hash="493d16201cbadfc70ea94cb3af4d224e"/></dir><dir name="fonts"><file name="paymentfont-webfont.eot" hash="1c4ce55b1c04c5b99cb46f41bc5bf912"/><file name="paymentfont-webfont.svg" hash="2a1b29479dbb8ec91202537f54e6c6d1"/><file name="paymentfont-webfont.ttf" hash="ee8af6b2f5ccfce287b25e6c7d0a5ef4"/><file name="paymentfont-webfont.woff" hash="966196dae4fcb2b6cbf4b5a817c9d2ef"/><file name="paymentfont-webfont.woff2" hash="05956c1d0cdac013c6f0ee4f830f63b7"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Equity"><dir name="PaymentFont"><dir name="Helper"><file name="Data.php" hash="fcc615a5216fe1186e8c5007f4e5a2ae"/></dir><dir name="etc"><file name="adminhtml.xml" hash="9ef50ef0a3d1844aa9bbe560d62f37d8"/><file name="config.xml" hash="53db531fe2655de8863bf01fb505aa56"/><file name="system.xml" hash="58fb92ce033170cde144cb0b50ddd3af"/></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.7.0</max></php></required></dependencies>
22
  </package>