r22040 - htdocs/branches/beta/externals - Use google code for the button.
Cristian Marchi
cmarchi at code.gnucash.org
Thu Feb 16 13:14:52 EST 2012
Author: cmarchi
Date: 2012-02-16 13:14:52 -0500 (Thu, 16 Feb 2012)
New Revision: 22040
Trac: http://svn.gnucash.org/trac/changeset/22040
Modified:
htdocs/branches/beta/externals/header.phtml
Log:
Use google code for the button.
Modified: htdocs/branches/beta/externals/header.phtml
===================================================================
--- htdocs/branches/beta/externals/header.phtml 2012-02-16 18:12:37 UTC (rev 22039)
+++ htdocs/branches/beta/externals/header.phtml 2012-02-16 18:14:52 UTC (rev 22040)
@@ -80,10 +80,15 @@
</script>
</div>
<!-- google +1 button-->
-<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 id="gplusone">
+<g:plusone size="tall"></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>
</div>
<!-- the icons on the top right-->
More information about the gnucash-changes
mailing list