r21432 - htdocs/trunk/externals - Try a fix for the google+1 button validation.

Cristian Marchi cmarchi at code.gnucash.org
Tue Oct 18 04:40:28 EDT 2011


Author: cmarchi
Date: 2011-10-18 04:40:27 -0400 (Tue, 18 Oct 2011)
New Revision: 21432
Trac: http://svn.gnucash.org/trac/changeset/21432

Modified:
   htdocs/trunk/externals/header.phtml
Log:
Try a fix for the google+1 button validation.

Modified: htdocs/trunk/externals/header.phtml
===================================================================
--- htdocs/trunk/externals/header.phtml	2011-10-17 20:10:56 UTC (rev 21431)
+++ htdocs/trunk/externals/header.phtml	2011-10-18 08:40:27 UTC (rev 21432)
@@ -41,7 +41,9 @@
 
 <title><?= T_($title); ?> | GnuCash</title>
 <!--script for Google+1 button-->
-<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
+<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
+{ parsetags: 'explicit' }
+</script>
 </head>
 
 <body>
@@ -71,9 +73,21 @@
 <div class="fb-like" data-href="www.gnucash.org" data-send="false" data-layout="box_count" data-width="60" data-show-faces="true" data-font="verdana"></div>
 </div>
 <!-- google +1 button-->
-<g:plusone size="tall" href="http://www.gnucash.org/"></g:plusone>
+<div id="g-plusone"></div>
+<script type="text/javascript">
+gapi.plusone.render
+(
+    'g-plusone',
+    {
+        "size": "standard",
+        "count": "true"
+    }
+);
+</script>
 </div>
 
+</div>
+
 <!-- the icons on the top right-->
 <div style="float:right;">
 <ul id="navlist">



More information about the gnucash-changes mailing list