r21452 - htdocs/trunk/externals - Finally validate the google+1 button.
Cristian Marchi
cmarchi at code.gnucash.org
Tue Oct 18 09:44:24 EDT 2011
Author: cmarchi
Date: 2011-10-18 09:44:23 -0400 (Tue, 18 Oct 2011)
New Revision: 21452
Trac: http://svn.gnucash.org/trac/changeset/21452
Modified:
htdocs/trunk/externals/header.phtml
Log:
Finally validate the google+1 button.
Modified: htdocs/trunk/externals/header.phtml
===================================================================
--- htdocs/trunk/externals/header.phtml 2011-10-18 13:42:15 UTC (rev 21451)
+++ htdocs/trunk/externals/header.phtml 2011-10-18 13:44:23 UTC (rev 21452)
@@ -40,7 +40,7 @@
<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"> {lang:'en', parsetags:'explicit'} </script>
</head>
<body>
@@ -62,7 +62,7 @@
<script type="text/javascript">
//<![CDATA[
(function() {
- document.write('<fb:like width="200" data-href="http://www.gnucash.org" data-send="false" data-layout="box_count" data-width="60" data-show-faces="true" data-font="verdana"></fb:like>');
+ document.write('<fb:like width="200" data-href="www.gnucash.org" data-send="false" data-layout="box_count" data-width="60" data-show-faces="true" data-font="verdana"></fb:like>');
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.async = true;
@@ -73,7 +73,10 @@
</script>
</div>
<!-- google +1 button-->
-<g:plusone size="tall" href="http://www.gnucash.org/"></g:plusone>
+<div id="gplusone" class="plusone"></div>
+ <script type="text/javascript">
+ gapi.plusone.render('gplusone', { "size": "tall", "href": "http://www.gnucash.org/", "count": "false" });
+ </script>
</div>
<!-- the icons on the top right-->
More information about the gnucash-changes
mailing list