VS_GooglePlus - Version 1.1.4

Version Notes

This extension will be add Google+ button on product details page of your store.

Download this release

Release Info

Developer Magento Core Team
Extension VS_GooglePlus
Version 1.1.4
Comparing to
See all releases


Code changes from version 1.1.3 to 1.1.4

app/design/frontend/default/default/template/googleplus/googleplus.phtml CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  $bsize = Mage::getStoreConfig('googleplus/general/buttonsize');
3
  $annotation = Mage::getStoreConfig('googleplus/general/annotation');
4
  $datawidth = Mage::getStoreConfig('googleplus/general/datawidth');
@@ -18,7 +19,7 @@ $btext.=" data-width=".$datawidth;
18
 
19
  <!-- Place this tag after the last +1 button tag. -->
20
  <script type="text/javascript">
21
- window.___gcfg = {lang: 'en-GB'};
22
 
23
  (function() {
24
  var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
1
  <?php
2
+ $locale = Mage::app()->getLocale()->getLocaleCode();
3
  $bsize = Mage::getStoreConfig('googleplus/general/buttonsize');
4
  $annotation = Mage::getStoreConfig('googleplus/general/annotation');
5
  $datawidth = Mage::getStoreConfig('googleplus/general/datawidth');
19
 
20
  <!-- Place this tag after the last +1 button tag. -->
21
  <script type="text/javascript">
22
+ window.___gcfg = {lang: '<?php echo $locale;?>'};
23
 
24
  (function() {
25
  var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>VS_GooglePlus</name>
4
- <version>1.1.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>
@@ -11,8 +11,8 @@
11
  <notes>This extension will be add Google+ button on product details page of your store.</notes>
12
  <authors><author><name>Virendra Kumar Sharma</name><user>auto-converted</user><email>bhardwajveerendra@gmail.com</email></author></authors>
13
  <date>2012-10-29</date>
14
- <time>09:12:38</time>
15
- <contents><target name="magecommunity"><dir name="VS"><dir name="Googleplus"><dir name="Block"><file name="About.php" hash="714693963a86da5d7e43a8a104329ffe"/><file name="googleplus.php" hash="8749b51b1da7ec9abe26a32de3688c6e"/></dir><dir name="Helper"><file name="Data.php" hash="62a0d104dbb4edf1677a34082bfbe5c8"/></dir><dir name="Model"><file name="Annotation.php" hash="c328aba23bf63fdabae0370d76ab8394"/><file name="Button.php" hash="e4f3a1f932b102169a80aa441d9c7e88"/></dir><dir name="etc"><file name="config.xml" hash="63a45df5d827a18165823790ee3cf4fa"/><file name="system.xml" hash="4d42a9376b1fbe0bf79173d702c7be50"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="googleplus"><file name="googleplus.phtml" hash="08324382791d1ed6435e4f533eac7f91"/></dir></dir><dir name="layout"><file name="googleplus.xml" hash="3ba53aca50b370e585984f9506296486"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VS_Googleplus.xml" hash="7f34ab0b56c00a5d1600b3608b6cccbb"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>VS_GooglePlus</name>
4
+ <version>1.1.4</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>
11
  <notes>This extension will be add Google+ button on product details page of your store.</notes>
12
  <authors><author><name>Virendra Kumar Sharma</name><user>auto-converted</user><email>bhardwajveerendra@gmail.com</email></author></authors>
13
  <date>2012-10-29</date>
14
+ <time>09:21:25</time>
15
+ <contents><target name="magecommunity"><dir name="VS"><dir name="Googleplus"><dir name="Block"><file name="About.php" hash="714693963a86da5d7e43a8a104329ffe"/><file name="googleplus.php" hash="8749b51b1da7ec9abe26a32de3688c6e"/></dir><dir name="Helper"><file name="Data.php" hash="62a0d104dbb4edf1677a34082bfbe5c8"/></dir><dir name="Model"><file name="Annotation.php" hash="c328aba23bf63fdabae0370d76ab8394"/><file name="Button.php" hash="e4f3a1f932b102169a80aa441d9c7e88"/></dir><dir name="etc"><file name="config.xml" hash="63a45df5d827a18165823790ee3cf4fa"/><file name="system.xml" hash="4d42a9376b1fbe0bf79173d702c7be50"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="googleplus"><file name="googleplus.phtml" hash="610f74a59daf84acba1fbad645fca35b"/></dir></dir><dir name="layout"><file name="googleplus.xml" hash="3ba53aca50b370e585984f9506296486"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="VS_Googleplus.xml" hash="7f34ab0b56c00a5d1600b3608b6cccbb"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>