r22043 - htdocs/branches/beta/externals - Try to fix the google+ button.

Cristian Marchi cmarchi at code.gnucash.org
Thu Feb 16 14:36:04 EST 2012


Author: cmarchi
Date: 2012-02-16 14:36:04 -0500 (Thu, 16 Feb 2012)
New Revision: 22043
Trac: http://svn.gnucash.org/trac/changeset/22043

Modified:
   htdocs/branches/beta/externals/header.phtml
Log:
Try to fix the google+ button.

Modified: htdocs/branches/beta/externals/header.phtml
===================================================================
--- htdocs/branches/beta/externals/header.phtml	2012-02-16 19:23:40 UTC (rev 22042)
+++ htdocs/branches/beta/externals/header.phtml	2012-02-16 19:36:04 UTC (rev 22043)
@@ -39,8 +39,8 @@
 <meta name="description" content="A personal and small-business financial-accounting software, licensed under GNU/GPL and available for Linux, Windows, Mac OS X, BSD, and Solaris." />
 
 <title><?= T_($title); ?> | GnuCash</title>
-<!--script for Google+1 button-->
-<!--<script type="text/javascript" src="https://apis.google.com/js/plusone.js">      {lang:'en', parsetags:'explicit'}   </script>-->
+<!--script for google+ button-->
+<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
 </head>
 
 <body>
@@ -74,14 +74,7 @@
 </div>
 <!-- google +1 button-->
 <div id="gplusone">
-<g:plusone size="tall" href="www.gnucash.org"></g:plusone></div>
-<script type="text/javascript">
-  (function() {
-    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
-    po.src = 'https://apis.google.com/js/plusone.js';
-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
-  })();
-</script>
+<g:plusone size="tall" href="www.gnucash.org"></g:plusone>
 </div>
 
 <!-- the icons on the top right-->



More information about the gnucash-changes mailing list