Version Notes
This module adds Google Plus One to Magento
Download this release
Release Info
Developer | Magento Core Team |
Extension | Yireo_GooglePlusOne |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
app/code/community/Yireo/GooglePlusOne/Model/Backend/Source/Pagetype.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* GooglePlusOne plugin for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_GooglePlusOne
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2010 Yireo (http://www.yireo.com/)
|
9 |
+
* @license Open Software License
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Yireo_GooglePlusOne_Model_Backend_Source_Pagetype
|
13 |
+
{
|
14 |
+
/**
|
15 |
+
* Options getter
|
16 |
+
*
|
17 |
+
* @return array
|
18 |
+
*/
|
19 |
+
public function toOptionArray()
|
20 |
+
{
|
21 |
+
return array(
|
22 |
+
array('value' => 'default', 'label'=> Mage::helper('googleplusone')->__('HTML4 / XHTML1 style')),
|
23 |
+
array('value' => 'html5', 'label'=> Mage::helper('googleplusone')->__('HTML5 style')),
|
24 |
+
);
|
25 |
+
}
|
26 |
+
|
27 |
+
}
|
app/code/community/Yireo/GooglePlusOne/Model/Backend/Source/Size.php
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* GooglePlusOne plugin for Magento
|
4 |
+
*
|
5 |
+
* @category design_default
|
6 |
+
* @package Yireo_GooglePlusOne
|
7 |
+
* @author Yireo (http://www.yireo.com/)
|
8 |
+
* @copyright Copyright (c) 2010 Yireo (http://www.yireo.com/)
|
9 |
+
* @license Open Software License
|
10 |
+
*/
|
11 |
+
|
12 |
+
class Yireo_GooglePlusOne_Model_Backend_Source_Size
|
13 |
+
{
|
14 |
+
/**
|
15 |
+
* Options getter
|
16 |
+
*
|
17 |
+
* @return array
|
18 |
+
*/
|
19 |
+
public function toOptionArray()
|
20 |
+
{
|
21 |
+
return array(
|
22 |
+
array('value' => 'small', 'label'=> Mage::helper('googleplusone')->__('Small')),
|
23 |
+
array('value' => 'standard', 'label'=> Mage::helper('googleplusone')->__('Standard')),
|
24 |
+
array('value' => 'medium', 'label'=> Mage::helper('googleplusone')->__('Medium')),
|
25 |
+
array('value' => 'tall', 'label'=> Mage::helper('googleplusone')->__('Tall')),
|
26 |
+
);
|
27 |
+
}
|
28 |
+
|
29 |
+
}
|
app/code/community/Yireo/GooglePlusOne/etc/config.xml
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Yireo_GooglePlusOne>
|
16 |
-
<version>1.0.
|
17 |
</Yireo_GooglePlusOne>
|
18 |
</modules>
|
19 |
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Yireo_GooglePlusOne>
|
16 |
+
<version>1.0.6</version>
|
17 |
</Yireo_GooglePlusOne>
|
18 |
</modules>
|
19 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Yireo_GooglePlusOne</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php/">Open Software License</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>This module adds Google Plus One to Magento</description>
|
11 |
<notes>This module adds Google Plus One to Magento</notes>
|
12 |
<authors><author><name>Yireo</name><user>auto-converted</user><email>info@yireo.com</email></author></authors>
|
13 |
-
<date>2011-
|
14 |
<time>15:38:57</time>
|
15 |
-
<contents><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="googleplusone"><file name="default.phtml" hash="a31423250199274bc9289792ca6e66fc"/></dir></dir><dir name="layout"><file name="googleplusone.xml" hash="7861b6d8a5d40791ba0848d004e641dd"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Yireo"><dir name="GooglePlusOne"><dir name="Block"><file name="Default.php" hash="42bb87fb3a41c491dd9637a198576d11"/></dir><dir name="Model"><file name="Observer.php" hash="5b3aab89c03138269a8c877a8bbe1837"/></dir><dir name="Helper"><file name="Data.php" hash="e7a9f894ee468741cf7570573371454d"/></dir><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Yireo_GooglePlusOne</name>
|
4 |
+
<version>1.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php/">Open Software License</license>
|
7 |
<channel>community</channel>
|
10 |
<description>This module adds Google Plus One to Magento</description>
|
11 |
<notes>This module adds Google Plus One to Magento</notes>
|
12 |
<authors><author><name>Yireo</name><user>auto-converted</user><email>info@yireo.com</email></author></authors>
|
13 |
+
<date>2011-09-13</date>
|
14 |
<time>15:38:57</time>
|
15 |
+
<contents><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="googleplusone"><file name="default.phtml" hash="a31423250199274bc9289792ca6e66fc"/></dir></dir><dir name="layout"><file name="googleplusone.xml" hash="7861b6d8a5d40791ba0848d004e641dd"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Yireo"><dir name="GooglePlusOne"><dir name="Block"><file name="Default.php" hash="42bb87fb3a41c491dd9637a198576d11"/></dir><dir name="Model"><dir name="Backend"><dir name="Source"><file name="Size.php" hash="34d71c1b390df747fbed7c22eed28ad6"/><file name="Pagetype.php" hash="7349db7c3292eda4e3971d4291250a1d"/></dir></dir><file name="Observer.php" hash="5b3aab89c03138269a8c877a8bbe1837"/></dir><dir name="Helper"><file name="Data.php" hash="e7a9f894ee468741cf7570573371454d"/></dir><dir name="etc"><file name="config.xml" hash="cc8380cc1d99322463db6cd007f714cb"/><file name="system.xml" hash="34dae4529f07fd1db7e43fb4747ce94e"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Yireo_GooglePlusOne.xml" hash="db7a93cca2a6d87f9b4d8021cace5cf0"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|