Magefox_GooglePlusOne - Version 0.1.0

Version Notes

Download from magento connect or go to my site to download this extensions

Download this release

Release Info

Developer Magefox
Extension Magefox_GooglePlusOne
Version 0.1.0
Comparing to
See all releases


Version 0.1.0

app/code/community/Magefox/Googleplusone/.DS_Store ADDED
Binary file
app/code/community/Magefox/Googleplusone/Helper/Data.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php
11
+ class Magefox_Googleplusone_Helper_Data extends Mage_Core_Helper_Abstract
12
+ {
13
+ public function isActive()
14
+ {
15
+ return Mage::getStoreConfig('googleplusone/general/active');
16
+ }
17
+
18
+ public function getPageType()
19
+ {
20
+ return Mage::getStoreConfig('googleplusone/general/page_type');
21
+ }
22
+
23
+ public function getSize()
24
+ {
25
+ return Mage::getStoreConfig('googleplusone/general/size');
26
+ }
27
+
28
+ public function showOn()
29
+ {
30
+ return explode(',', Mage::getStoreConfig('googleplusone/general/show_on'));
31
+ }
32
+
33
+ public function isShowCount()
34
+ {
35
+ if(Mage::getStoreConfig('googleplusone/general/show_count'))
36
+ return 'true';
37
+ else
38
+ return 'false';
39
+ }
40
+
41
+ public function getLanguage()
42
+ {
43
+ return Mage::getStoreConfig('googleplusone/general/language');
44
+ }
45
+ }
app/code/community/Magefox/Googleplusone/Model/.DS_Store ADDED
Binary file
app/code/community/Magefox/Googleplusone/Model/Layout/Generate/Observer.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php
11
+ class Magefox_Googleplusone_Model_Layout_Generate_Observer
12
+ {
13
+ public function addJs($observer)
14
+ {
15
+ if(Mage::helper('googleplusone')->isActive()) {
16
+ $_head = $this->__getHeadBlock();
17
+ if ($_head)
18
+ {
19
+ if(Mage::registry('current_product') && Mage::registry('current_product')->getId())
20
+ {
21
+ $js = new Mage_Core_Block_Text();
22
+ $script = '<script src="https://apis.google.com/js/plusone.js">{"lang":"'.Mage::helper('googleplusone')->getLanguage().'"}</script>';
23
+ $js->setText($script);
24
+ $_head->insert($js);
25
+ $_head->addLinkRel('canonical', Mage::registry('current_product')->getProductUrl());
26
+ }
27
+
28
+ if((Mage::registry('current_category') && Mage::registry('current_category')->getId()))
29
+ {
30
+ $js = new Mage_Core_Block_Text();
31
+ $script = '<script src="https://apis.google.com/js/plusone.js">{"lang":"'.Mage::helper('googleplusone')->getLanguage().'"}</script>';
32
+ $js->setText($script);
33
+ $_head->insert($js);
34
+ $_head->addLinkRel('canonical', Mage::registry('current_category')->getUrl());
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ private function __getHeadBlock()
41
+ {
42
+ return Mage::getSingleton('core/layout')->getBlock('head');
43
+ }
44
+ }
app/code/community/Magefox/Googleplusone/Model/System/Config/Language.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php
11
+ class Magefox_Googleplusone_Model_System_Config_Language
12
+ {
13
+ public function toOptionArray()
14
+ {
15
+ return array(
16
+ array('value' => 'ar', 'label' => Mage::helper('adminhtml')->__('Arabic')),
17
+ array('value' => 'bg', 'label' => Mage::helper('adminhtml')->__('Bulgarian')),
18
+ array('value' => 'ca', 'label' => Mage::helper('adminhtml')->__('Catalan')),
19
+ array('value' => 'zh-CN', 'label' => Mage::helper('adminhtml')->__('Chinese (Simplified)')),
20
+ array('value' => 'zh-TW', 'label' => Mage::helper('adminhtml')->__('Chinese (Traditional)')),
21
+ array('value' => 'hr', 'label' => Mage::helper('adminhtml')->__('Croatian')),
22
+ array('value' => 'cs', 'label' => Mage::helper('adminhtml')->__('Czech')),
23
+ array('value' => 'da', 'label' => Mage::helper('adminhtml')->__('Danish')),
24
+ array('value' => 'nl', 'label' => Mage::helper('adminhtml')->__('Dutch')),
25
+ array('value' => 'en-GB', 'label' => Mage::helper('adminhtml')->__('English (UK)')),
26
+ array('value' => 'en-US', 'label' => Mage::helper('adminhtml')->__('English (US)')),
27
+ array('value' => 'et', 'label' => Mage::helper('adminhtml')->__('Estonian')),
28
+ array('value' => 'fil', 'label' => Mage::helper('adminhtml')->__('Filipino')),
29
+ array('value' => 'fi', 'label' => Mage::helper('adminhtml')->__('Finnish')),
30
+ array('value' => 'fr', 'label' => Mage::helper('adminhtml')->__('French')),
31
+ array('value' => 'de', 'label' => Mage::helper('adminhtml')->__('German')),
32
+ array('value' => 'el', 'label' => Mage::helper('adminhtml')->__('Greek')),
33
+ array('value' => 'iw', 'label' => Mage::helper('adminhtml')->__('Hebrew')),
34
+ array('value' => 'hi', 'label' => Mage::helper('adminhtml')->__('Hindi')),
35
+ array('value' => 'hu', 'label' => Mage::helper('adminhtml')->__('Hungarian')),
36
+ array('value' => 'id', 'label' => Mage::helper('adminhtml')->__('Indonesian')),
37
+ array('value' => 'it', 'label' => Mage::helper('adminhtml')->__('Italian')),
38
+ array('value' => 'ja', 'label' => Mage::helper('adminhtml')->__('Japanese')),
39
+ array('value' => 'ko', 'label' => Mage::helper('adminhtml')->__('Korean')),
40
+ array('value' => 'lv', 'label' => Mage::helper('adminhtml')->__('Latvian')),
41
+ array('value' => 'lt', 'label' => Mage::helper('adminhtml')->__('Lithuanian')),
42
+ array('value' => 'ms', 'label' => Mage::helper('adminhtml')->__('Malay')),
43
+ array('value' => 'no', 'label' => Mage::helper('adminhtml')->__('Norwegian')),
44
+ array('value' => 'fa', 'label' => Mage::helper('adminhtml')->__('Persian')),
45
+ array('value' => 'pl', 'label' => Mage::helper('adminhtml')->__('Polish')),
46
+ array('value' => 'pt-BR', 'label' => Mage::helper('adminhtml')->__('Portuguese (Brazil)')),
47
+ array('value' => 'pt-PT', 'label' => Mage::helper('adminhtml')->__('Portuguese (Portugal)')),
48
+ array('value' => 'ro', 'label' => Mage::helper('adminhtml')->__('Romanian')),
49
+ array('value' => 'ru', 'label' => Mage::helper('adminhtml')->__('Russian')),
50
+ array('value' => 'sr', 'label' => Mage::helper('adminhtml')->__('Serbian')),
51
+ array('value' => 'sk', 'label' => Mage::helper('adminhtml')->__('Slovak')),
52
+ array('value' => 'sl', 'label' => Mage::helper('adminhtml')->__('Slovenian')),
53
+ array('value' => 'es', 'label' => Mage::helper('adminhtml')->__('Spanish')),
54
+ array('value' => 'es-419', 'label' => Mage::helper('adminhtml')->__('Spanish (Latin America)')),
55
+ array('value' => 'sv', 'label' => Mage::helper('adminhtml')->__('Swedish')),
56
+ array('value' => 'th', 'label' => Mage::helper('adminhtml')->__('Thai')),
57
+ array('value' => 'tr', 'label' => Mage::helper('adminhtml')->__('Turkish')),
58
+ array('value' => 'uk', 'label' => Mage::helper('adminhtml')->__('Ukrainian')),
59
+ array('value' => 'vi', 'label' => Mage::helper('adminhtml')->__('Vietnamese')),
60
+ );
61
+ }
62
+ }
app/code/community/Magefox/Googleplusone/Model/System/Config/Position.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php
11
+ class Magefox_Googleplusone_Model_System_Config_Position
12
+ {
13
+ const CATEGORY_PAGE = 'category_page';
14
+ const PRODUCT_LIST = 'product_list';
15
+ const PRODUCT_PAGE = 'product_page';
16
+
17
+ public function toOptionArray()
18
+ {
19
+ return array(
20
+ array('value' => self::CATEGORY_PAGE, 'label' => Mage::helper('adminhtml')->__('Category Page')),
21
+ array('value' => self::PRODUCT_LIST, 'label' => Mage::helper('adminhtml')->__('Product List')),
22
+ array('value' => self::PRODUCT_PAGE, 'label' => Mage::helper('adminhtml')->__('Product Page'))
23
+ );
24
+ }
25
+ }
app/code/community/Magefox/Googleplusone/Model/System/Config/Size.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php
11
+ class Magefox_Googleplusone_Model_System_Config_Size
12
+ {
13
+ public function toOptionArray()
14
+ {
15
+ return array(
16
+ array('value' => 'small', 'label' => Mage::helper('adminhtml')->__('Small (24x15)')),
17
+ array('value' => 'medium', 'label' => Mage::helper('adminhtml')->__('Medium (32x20)')),
18
+ array('value' => 'standard', 'label' => Mage::helper('adminhtml')->__('Standard (38x24)')),
19
+ array('value' => 'tall', 'label' => Mage::helper('adminhtml')->__('Tall (50x60)')),
20
+ );
21
+ }
22
+ }
app/code/community/Magefox/Googleplusone/Model/System/Config/Type.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php
11
+ class Magefox_Googleplusone_Model_System_Config_Type
12
+ {
13
+ const PAGE_TYPE_HTML4 = 'html4';
14
+ const PAGE_TYPE_HTML5 = 'html5';
15
+
16
+ public function toOptionArray()
17
+ {
18
+ return array(
19
+ array('value' => self::PAGE_TYPE_HTML4, 'label' => Mage::helper('adminhtml')->__('HTML4/XHTML1 Style')),
20
+ array('value' => self::PAGE_TYPE_HTML5, 'label' => Mage::helper('adminhtml')->__('HTML5/XHTML2 Style'))
21
+ );
22
+ }
23
+ }
app/code/community/Magefox/Googleplusone/etc/adminhtml.xml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /******************************************************
4
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
5
+ * @version 0.1.0
6
+ * @author http://www.magefox.com
7
+ * @copyright (C) 2011- Magefox.Com
8
+ * @license PHP files are GNU/GPL
9
+ *******************************************************/
10
+ -->
11
+ <config>
12
+ <menu>
13
+ <magefox translate="title" module="googleplusone">
14
+ <title>Magefox Extensions</title>
15
+ <sort_order>71</sort_order>
16
+ <children>
17
+ <googleplusone translate="title" module="googleplusone">
18
+ <title>Googleplusone</title>
19
+ <sort_order>99</sort_order>
20
+ <children>
21
+ <configuration translate="title" module="googleplusone">
22
+ <title>Configuration</title>
23
+ <sort_order>1</sort_order>
24
+ <action>adminhtml/system_config/edit/section/googleplusone</action>
25
+ </configuration>
26
+ </children>
27
+ </googleplusone>
28
+ </children>
29
+ </magefox>
30
+ </menu>
31
+ <acl>
32
+ <resources>
33
+ <all>
34
+ <title>Allow Everything</title>
35
+ </all>
36
+ <admin>
37
+ <children>
38
+ <system>
39
+ <children>
40
+ <config>
41
+ <children>
42
+ <googleplusone translate="title">
43
+ <title>Googleplusone Module</title>
44
+ <sort_order>10</sort_order>
45
+ </googleplusone>
46
+ </children>
47
+ </config>
48
+ </children>
49
+ </system>
50
+ <magefox translate="title" module="googleplusone">
51
+ <title>Magefox Extesions</title>
52
+ <sort_order>71</sort_order>
53
+ <children>
54
+ <googleplusone translate="title" module="googleplusone">
55
+ <title>Mt Googleplusone</title>
56
+ <sort_order>99</sort_order>
57
+ <children>
58
+ <configuration translate="title" module="googleplusone">
59
+ <title>Configuration</title>
60
+ <sort_order>1</sort_order>
61
+ <action>adminhtml/system_config/edit/section/googleplusone</action>
62
+ </configuration>
63
+ </children>
64
+ </googleplusone>
65
+ </children>
66
+ </magefox>
67
+ </children>
68
+ </admin>
69
+ </resources>
70
+ </acl>
71
+ </config>
app/code/community/Magefox/Googleplusone/etc/config.xml ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /******************************************************
4
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
5
+ * @version 0.1.0
6
+ * @author http://www.magefox.com
7
+ * @copyright (C) 2011- Magefox.Com
8
+ * @license PHP files are GNU/GPL
9
+ *******************************************************/
10
+ -->
11
+ <config>
12
+ <modules>
13
+ <Magefox_Googleplusone>
14
+ <version>0.1.0</version>
15
+ </Magefox_Googleplusone>
16
+ </modules>
17
+ <frontend>
18
+ <routers>
19
+ <googleplusone>
20
+ <use>standard</use>
21
+ <args>
22
+ <module>Magefox_Googleplusone</module>
23
+ <frontName>googleplusone</frontName>
24
+ </args>
25
+ </googleplusone>
26
+ </routers>
27
+ <layout>
28
+ <updates>
29
+ <googleplusone>
30
+ <file>googleplusone.xml</file>
31
+ </googleplusone>
32
+ </updates>
33
+ </layout>
34
+ </frontend>
35
+ <admin>
36
+ <routers>
37
+ <googleplusone>
38
+ <use>admin</use>
39
+ <args>
40
+ <module>Magefox_Googleplusone</module>
41
+ <frontName>googleplusone</frontName>
42
+ </args>
43
+ </googleplusone>
44
+ </routers>
45
+ </admin>
46
+ <global>
47
+ <models>
48
+ <googleplusone>
49
+ <class>Magefox_Googleplusone_Model</class>
50
+ </googleplusone>
51
+ </models>
52
+ <resources>
53
+ <googleplusone_setup>
54
+ <setup>
55
+ <module>Magefox_Googleplusone</module>
56
+ </setup>
57
+ <connection>
58
+ <use>core_setup</use>
59
+ </connection>
60
+ </googleplusone_setup>
61
+ <googleplusone_write>
62
+ <connection>
63
+ <use>core_write</use>
64
+ </connection>
65
+ </googleplusone_write>
66
+ <googleplusone_read>
67
+ <connection>
68
+ <use>core_read</use>
69
+ </connection>
70
+ </googleplusone_read>
71
+ </resources>
72
+ <helpers>
73
+ <googleplusone>
74
+ <class>Magefox_Googleplusone_Helper</class>
75
+ </googleplusone>
76
+ </helpers>
77
+ <events>
78
+ <controller_action_layout_generate_blocks_after>
79
+ <observers>
80
+ <googleplusone_layout_generate_observer>
81
+ <type>singleton</type>
82
+ <class>googleplusone/layout_generate_observer</class>
83
+ <method>addJs</method>
84
+ </googleplusone_layout_generate_observer>
85
+ </observers>
86
+ </controller_action_layout_generate_blocks_after>
87
+ </events>
88
+ </global>
89
+ <default>
90
+ <googleplusone>
91
+ <general>
92
+ <active>1</active>
93
+ <page_type>html4</page_type>
94
+ <size>medium</size>
95
+ <show_count>1</show_count>
96
+ <language>en-US</language>
97
+ <show_on>category_page,product_list,product_page</show_on>
98
+ </general>
99
+ </googleplusone>
100
+ </default>
101
+ </config>
app/code/community/Magefox/Googleplusone/etc/system.xml ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /******************************************************
4
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
5
+ * @version 0.1.0
6
+ * @author http://www.magefox.com
7
+ * @copyright (C) 2011- Magefox.Com
8
+ * @license PHP files are GNU/GPL
9
+ *******************************************************/
10
+ -->
11
+ <config>
12
+ <tabs>
13
+ <magefox translate="label" module="googleplusone">
14
+ <label>Magefox</label>
15
+ <sort_order>205</sort_order>
16
+ </magefox>
17
+ </tabs>
18
+ <sections>
19
+ <googleplusone translate="label" module="googleplusone">
20
+ <label>GooglePlusOne</label>
21
+ <tab>magefox</tab>
22
+ <sort_order>130</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
+ <groups>
27
+ <general translate="label" module="googleplusone">
28
+ <label>General Configuration</label>
29
+ <frontend_type>text</frontend_type>
30
+ <sort_order>1</sort_order>
31
+ <show_in_default>1</show_in_default>
32
+ <show_in_website>1</show_in_website>
33
+ <show_in_store>1</show_in_store>
34
+ <fields>
35
+ <active translate="label">
36
+ <label>Enable Module</label>
37
+ <frontend_type>select</frontend_type>
38
+ <source_model>adminhtml/system_config_source_yesno</source_model>
39
+ <sort_order>1</sort_order>
40
+ <show_in_default>1</show_in_default>
41
+ <show_in_website>1</show_in_website>
42
+ <show_in_store>1</show_in_store>
43
+ </active>
44
+ <show_on translate="label">
45
+ <label>Show On</label>
46
+ <frontend_type>multiselect</frontend_type>
47
+ <source_model>googleplusone/system_config_position</source_model>
48
+ <sort_order>2</sort_order>
49
+ <show_in_default>1</show_in_default>
50
+ <show_in_website>1</show_in_website>
51
+ <show_in_store>1</show_in_store>
52
+ </show_on>
53
+ <page_type translate="label">
54
+ <label>Page Type</label>
55
+ <frontend_type>select</frontend_type>
56
+ <source_model>googleplusone/system_config_type</source_model>
57
+ <sort_order>3</sort_order>
58
+ <show_in_default>1</show_in_default>
59
+ <show_in_website>1</show_in_website>
60
+ <show_in_store>1</show_in_store>
61
+ </page_type>
62
+ <size translate="label">
63
+ <label>Size</label>
64
+ <frontend_type>select</frontend_type>
65
+ <source_model>googleplusone/system_config_size</source_model>
66
+ <sort_order>4</sort_order>
67
+ <show_in_default>1</show_in_default>
68
+ <show_in_website>1</show_in_website>
69
+ <show_in_store>1</show_in_store>
70
+ </size>
71
+ <show_count translate="label">
72
+ <label>Show Count</label>
73
+ <frontend_type>select</frontend_type>
74
+ <source_model>adminhtml/system_config_source_yesno</source_model>
75
+ <sort_order>5</sort_order>
76
+ <show_in_default>1</show_in_default>
77
+ <show_in_website>1</show_in_website>
78
+ <show_in_store>1</show_in_store>
79
+ </show_count>
80
+ <language translate="label">
81
+ <label>Language</label>
82
+ <frontend_type>select</frontend_type>
83
+ <source_model>googleplusone/system_config_language</source_model>
84
+ <sort_order>6</sort_order>
85
+ <show_in_default>1</show_in_default>
86
+ <show_in_website>1</show_in_website>
87
+ <show_in_store>1</show_in_store>
88
+ </language>
89
+ </fields>
90
+ </general>
91
+ </groups>
92
+ </googleplusone>
93
+ </sections>
94
+ </config>
app/design/frontend/default/default/layout/googleplusone.xml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /******************************************************
4
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
5
+ * @version 0.1.0
6
+ * @author http://www.magefox.com
7
+ * @copyright (C) 2011- Magefox.Com
8
+ * @license PHP files are GNU/GPL
9
+ *******************************************************/
10
+ -->
11
+ <layout version="0.1.0">
12
+ <default>
13
+ </default>
14
+ <catalog_product_view>
15
+ <reference name="product.info">
16
+ <action method="setTemplate" ifconfig="googleplusone/general/active"><template>googleplusone/catalog/product/view.phtml</template></action>
17
+ </reference>
18
+ </catalog_product_view>
19
+ <catalog_category_default>
20
+ <reference name="category.products">
21
+ <action method="setTemplate" ifconfig="googleplusone/general/active"><template>googleplusone/catalog/category/view.phtml</template></action>
22
+ </reference>
23
+ <reference name="product_list">
24
+ <action method="setTemplate" ifconfig="googleplusone/general/active"><template>googleplusone/catalog/product/list.phtml</template></action>
25
+ </reference>
26
+ </catalog_category_default>
27
+ <catalog_category_layered>
28
+ <reference name="category.products">
29
+ <action method="setTemplate" ifconfig="googleplusone/general/active"><template>googleplusone/catalog/category/view.phtml</template></action>
30
+ </reference>
31
+ <reference name="product_list">
32
+ <action method="setTemplate" ifconfig="googleplusone/general/active"><template>googleplusone/catalog/product/list.phtml</template></action>
33
+ </reference>
34
+ </catalog_category_layered>
35
+ </layout>
app/design/frontend/default/default/template/googleplusone/catalog/category/view.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php
11
+ $_helper = $this->helper('catalog/output');
12
+ $_category = $this->getCurrentCategory();
13
+ $_imgHtml = '';
14
+ if ($_imgUrl = $_category->getImageUrl()) {
15
+ $_imgHtml = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" title="'.$this->htmlEscape($_category->getName()).'" /></p>';
16
+ $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
17
+ }
18
+ ?>
19
+ <div class="page-title category-title">
20
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
21
+ <a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
22
+ <?php endif; ?>
23
+ <h1><?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?></h1>
24
+ <?php if(Mage::helper('googleplusone')->isActive()): ?>
25
+ <?php if(in_array(Magefox_Googleplusone_Model_System_Config_Position::CATEGORY_PAGE, Mage::helper('googleplusone')->showOn())): ?>
26
+ <?php if(Mage::helper('googleplusone')->getPageType() == Magefox_Googleplusone_Model_System_Config_Type::PAGE_TYPE_HTML4): ?>
27
+ <g:plusone size="<?php echo Mage::helper('googleplusone')->getSize() ?>" count="<?php echo Mage::helper('googleplusone')->isShowCount() ?>" href="<?php echo $_category->getUrl() ?>"></g:plusone>
28
+ <?php else: ?>
29
+ <div class="g-plusone" data-size="<?php echo Mage::helper('googleplusone')->getSize() ?>" data-count="<?php echo Mage::helper('googleplusone')->isShowCount() ?>" href="<?php echo $_category->getUrl() ?>"></div>
30
+ <div style="display: none;"><a href="http://www.magefox.com" title="Magento Themes & Magento Extensions">Magento Themes and Magento Extensions</a> by Magefox.Com</div>
31
+ <?php endif; ?>
32
+ <?php endif; ?>
33
+ <?php endif; ?>
34
+ </div>
35
+
36
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
37
+
38
+ <?php if($_imgUrl): ?>
39
+ <?php echo $_imgHtml ?>
40
+ <?php endif; ?>
41
+
42
+ <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
43
+ <div class="category-description std">
44
+ <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
45
+ </div>
46
+ <?php endif; ?>
47
+
48
+ <?php if($this->isContentMode()): ?>
49
+ <?php echo $this->getCmsBlockHtml() ?>
50
+
51
+ <?php elseif($this->isMixedMode()): ?>
52
+ <?php echo $this->getCmsBlockHtml() ?>
53
+ <?php echo $this->getProductListHtml() ?>
54
+
55
+ <?php else: ?>
56
+ <?php echo $this->getProductListHtml() ?>
57
+ <?php endif; ?>
app/design/frontend/default/default/template/googleplusone/catalog/product/list.phtml ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php $_productCollection=$this->getLoadedProductCollection() ?>
11
+ <?php if(!$_productCollection->count()): ?>
12
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
13
+ <?php else: ?>
14
+ <div class="category-products">
15
+ <?php echo $this->getToolbarHtml() ?>
16
+ <?php // List mode ?>
17
+ <?php if($this->getMode()!='grid'): ?>
18
+ <?php $_iterator = 0; ?>
19
+ <ol class="products-list" id="products-list">
20
+ <?php foreach ($_productCollection as $_product): ?>
21
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
22
+ <?php // Product Image ?>
23
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
24
+ <?php // Product description ?>
25
+ <div class="product-shop">
26
+ <div class="f-fix">
27
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName())?></a></h2>
28
+ <?php if(Mage::helper('googleplusone')->isActive()): ?>
29
+ <?php if(in_array(Magefox_Googleplusone_Model_System_Config_Position::PRODUCT_LIST, Mage::helper('googleplusone')->showOn())): ?>
30
+ <?php if(Mage::helper('googleplusone')->getPageType() == Magefox_Googleplusone_Model_System_Config_Type::PAGE_TYPE_HTML4): ?>
31
+ <g:plusone size="<?php echo Mage::helper('googleplusone')->getSize() ?>" count="<?php echo Mage::helper('googleplusone')->isShowCount() ?>" href="<?php echo $_product->getProductUrl() ?>"></g:plusone>
32
+ <?php else: ?>
33
+ <div class="g-plusone" data-size="<?php echo Mage::helper('googleplusone')->getSize() ?>" data-count="<?php echo Mage::helper('googleplusone')->isShowCount() ?>" href="<?php echo $_product->getProductUrl() ?>"></div>
34
+ <?php endif; ?>
35
+ <?php endif; ?>
36
+ <?php endif; ?>
37
+ <?php if($_product->getRatingSummary()): ?>
38
+ <?php echo $this->getReviewsSummaryHtml($_product) ?>
39
+ <?php endif; ?>
40
+ <?php echo $this->getPriceHtml($_product, true) ?>
41
+ <?php if($_product->isSaleable()): ?>
42
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
43
+ <?php else: ?>
44
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
45
+ <?php endif; ?>
46
+ <div class="desc std">
47
+ <?php echo nl2br($this->htmlEscape($_product->getShortDescription())) ?>
48
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>" class="link-more"><?php echo $this->__('Learn More') ?></a>
49
+ </div>
50
+ <ul class="add-to-links">
51
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
52
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
53
+ <?php endif; ?>
54
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
55
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
56
+ <?php endif; ?>
57
+ </ul>
58
+ </div>
59
+ </div>
60
+ </li>
61
+ <?php endforeach; ?>
62
+ </ol>
63
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
64
+
65
+ <?php else: ?>
66
+
67
+ <?php // Grid Mode ?>
68
+
69
+ <?php $_collectionSize = $_productCollection->count() ?>
70
+ <?php $_columnCount = $this->getColumnCount(); ?>
71
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
72
+ <?php if ($i++%$_columnCount==0): ?>
73
+ <ul class="products-grid">
74
+ <?php endif ?>
75
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
76
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($this->getImageLabel($_product, 'small_image')) ?>" /></a>
77
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h2>
78
+ <?php if(Mage::helper('googleplusone')->isActive()): ?>
79
+ <?php if(in_array(Magefox_Googleplusone_Model_System_Config_Position::PRODUCT_LIST, Mage::helper('googleplusone')->showOn())): ?>
80
+ <?php if(Mage::helper('googleplusone')->getPageType() == Magefox_Googleplusone_Model_System_Config_Type::PAGE_TYPE_HTML4): ?>
81
+ <g:plusone size="<?php echo Mage::helper('googleplusone')->getSize() ?>" count="<?php echo Mage::helper('googleplusone')->isShowCount() ?>" href="<?php echo $_product->getProductUrl() ?>"></g:plusone>
82
+ <?php else: ?>
83
+ <div class="g-plusone" data-size="<?php echo Mage::helper('googleplusone')->getSize() ?>" data-count="<?php echo Mage::helper('googleplusone')->isShowCount() ?>" href="<?php echo $_product->getProductUrl() ?>"></div>
84
+ <?php endif; ?>
85
+ <?php endif; ?>
86
+ <?php endif; ?>
87
+ <?php if($_product->getRatingSummary()): ?>
88
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
89
+ <?php endif; ?>
90
+ <?php echo $this->getPriceHtml($_product, true) ?>
91
+ <div class="actions">
92
+ <?php if($_product->isSaleable()): ?>
93
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
94
+ <?php else: ?>
95
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
96
+ <?php endif; ?>
97
+ <ul class="add-to-links">
98
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
99
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
100
+ <?php endif; ?>
101
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
102
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
103
+ <?php endif; ?>
104
+ </ul>
105
+ </div>
106
+ </li>
107
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
108
+ </ul>
109
+ <?php endif ?>
110
+ <?php endforeach ?>
111
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
112
+ <?php endif; ?>
113
+
114
+ <div class="toolbar-bottom">
115
+ <?php echo $this->getToolbarHtml() ?>
116
+ </div>
117
+ </div>
118
+ <?php endif; ?>
app/design/frontend/default/default/template/googleplusone/catalog/product/view.phtml ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /******************************************************
3
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
4
+ * @version 0.1.0
5
+ * @author http://www.magefox.com
6
+ * @copyright (C) 2011- Magefox.Com
7
+ * @license PHP files are GNU/GPL
8
+ *******************************************************/
9
+ ?>
10
+ <?php
11
+ $_helper = $this->helper('catalog/output');
12
+ $_product = $this->getProduct();
13
+ ?>
14
+ <script type="text/javascript">
15
+ var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
16
+ </script>
17
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
18
+ <div class="product-view">
19
+ <div class="product-essential">
20
+ <form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
21
+ <div class="no-display">
22
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
23
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
24
+ </div>
25
+
26
+ <div class="product-shop">
27
+ <div class="product-name">
28
+ <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
29
+ <?php if(Mage::helper('googleplusone')->isActive()): ?>
30
+ <?php if(in_array(Magefox_Googleplusone_Model_System_Config_Position::PRODUCT_PAGE, Mage::helper('googleplusone')->showOn())): ?>
31
+ <?php if(Mage::helper('googleplusone')->getPageType() == Magefox_Googleplusone_Model_System_Config_Type::PAGE_TYPE_HTML4): ?>
32
+ <g:plusone size="<?php echo Mage::helper('googleplusone')->getSize() ?>" count="<?php echo Mage::helper('googleplusone')->isShowCount() ?>" href="<?php echo $_product->getUrl() ?>"></g:plusone>
33
+ <?php else: ?>
34
+ <div class="g-plusone" data-size="<?php echo Mage::helper('mtgoogleplusone')->getSize() ?>" data-count="<?php echo Mage::helper('mtgoogleplusone')->isShowCount() ?>" href="<?php echo $_product->getUrl() ?>"></div>
35
+ <?php endif; ?>
36
+ <?php endif; ?>
37
+ <?php endif; ?>
38
+ </div>
39
+
40
+ <?php if ($this->canEmailToFriend()): ?>
41
+ <p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
42
+ <?php endif; ?>
43
+
44
+ <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
45
+ <?php echo $this->getChildHtml('alert_urls') ?>
46
+ <?php echo $this->getChildHtml('product_type_data') ?>
47
+ <?php echo $this->getTierPriceHtml() ?>
48
+
49
+ <?php if (!$this->hasOptions()):?>
50
+ <div class="add-to-box">
51
+ <?php if($_product->isSaleable()): ?>
52
+ <?php echo $this->getChildHtml('addtocart') ?>
53
+ <?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
54
+ <span class="or"><?php echo $this->__('OR') ?></span>
55
+ <?php endif; ?>
56
+ <?php endif; ?>
57
+ <?php echo $this->getChildHtml('addto') ?>
58
+ </div>
59
+ <?php else:?>
60
+ <?php echo $this->getChildHtml('addto') ?>
61
+ <?php endif; ?>
62
+
63
+ <?php if ($_product->getShortDescription()):?>
64
+ <div class="short-description">
65
+ <h2><?php echo $this->__('Quick Overview') ?></h2>
66
+ <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
67
+ </div>
68
+ <?php endif;?>
69
+
70
+ <?php echo $this->getChildHtml('other');?>
71
+
72
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
73
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
74
+ <?php endif;?>
75
+
76
+ </div>
77
+
78
+ <div class="product-img-box">
79
+ <?php echo $this->getChildHtml('media') ?>
80
+ </div>
81
+
82
+ <div class="clearer"></div>
83
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
84
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
85
+ <?php endif;?>
86
+ </form>
87
+ <script type="text/javascript">
88
+ //<![CDATA[
89
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
90
+ productAddToCartForm.submit = function(){
91
+ if (this.validator.validate()) {
92
+ this.form.submit();
93
+ }
94
+ }.bind(productAddToCartForm);
95
+ //]]>
96
+ </script>
97
+ </div>
98
+
99
+ <div class="product-collateral">
100
+ <?php echo $this->getChildHtml('description') ?>
101
+ <?php echo $this->getChildHtml('additional') ?>
102
+ <?php echo $this->getChildHtml('upsell_products') ?>
103
+ <?php echo $this->getChildHtml('product_additional_data') ?>
104
+ </div>
105
+ </div>
app/etc/modules/Magefox_Googleplusone.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /******************************************************
4
+ * @package Googleplusone module for Magento 1.4.x.x and Magento 1.5.x.x
5
+ * @version 0.1.0
6
+ * @author http://www.magefox.com
7
+ * @copyright (C) 2011- Magefox.Com
8
+ * @license PHP files are GNU/GPL
9
+ *******************************************************/
10
+ -->
11
+ <config>
12
+ <modules>
13
+ <Magefox_Googleplusone>
14
+ <active>true</active>
15
+ <codePool>community</codePool>
16
+ </Magefox_Googleplusone>
17
+ </modules>
18
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Magefox_GooglePlusOne</name>
4
+ <version>0.1.0</version>
5
+ <stability>stable</stability>
6
+ <license>OSL v3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Extension for Google Plus One</summary>
10
+ <description>Extension for Google Plus One API</description>
11
+ <notes>Download from magento connect or go to my site to download this extensions</notes>
12
+ <authors><author><name>Magefox</name><user>magefox</user><email>magefoxtech@gmail.com</email></author></authors>
13
+ <date>2011-08-21</date>
14
+ <time>17:21:28</time>
15
+ <contents><target name="magecommunity"><dir name="Magefox"><dir name="Googleplusone"><dir name="Helper"><file name="Data.php" hash="04aadb3d7e453a4ca050b0ce6ecbfc4f"/></dir><dir name="Model"><dir name="Layout"><dir name="Generate"><file name="Observer.php" hash="2935f2eb6dd462b75c3022428f91c326"/></dir></dir><dir name="System"><dir name="Config"><file name="Language.php" hash="0fb277c5dd0229fc5144f074b56edde3"/><file name="Position.php" hash="2af849c03ec8481129788b3dd8d190bd"/><file name="Size.php" hash="ace0769f1aa9bb0d7600ab88a738a7f6"/><file name="Type.php" hash="ee48a3f782b32f081eac876445f2d22b"/></dir></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a9fd3198489ee459d44212f9a370f02a"/><file name="config.xml" hash="1e52ac31504535ee80c9437d9a00617f"/><file name="system.xml" hash="0a974343fc5bbe8da8df5429b61b3508"/></dir><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magefox_Googleplusone.xml" hash="38c82c823144208390350e4837d94d0c"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="googleplusone.xml" hash="70e9c83baa08b0ff321cd12f815cc18b"/></dir><dir name="template"><dir name="googleplusone"><dir><dir name="catalog"><dir name="category"><file name="view.phtml" hash="861b1bf5e5aedb0af4fae6ea0a3074c2"/></dir><dir name="product"><file name="list.phtml" hash="9ca68f2505846190fab2167daf2f2214"/><file name="view.phtml" hash="3d093391629ad6d45beb027bbb7f5f22"/></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
+ </package>