r22046 - htdocs/branches/beta/externals - Revert changes for google button.
Cristian Marchi
cmarchi at code.gnucash.org
Thu Feb 16 14:55:02 EST 2012
Author: cmarchi
Date: 2012-02-16 14:55:02 -0500 (Thu, 16 Feb 2012)
New Revision: 22046
Trac: http://svn.gnucash.org/trac/changeset/22046
Modified:
htdocs/branches/beta/externals/header.phtml
Log:
Revert changes for google button.
Modified: htdocs/branches/beta/externals/header.phtml
===================================================================
--- htdocs/branches/beta/externals/header.phtml 2012-02-16 19:46:18 UTC (rev 22045)
+++ htdocs/branches/beta/externals/header.phtml 2012-02-16 19:55:02 UTC (rev 22046)
@@ -39,8 +39,14 @@
<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+ button-->
-<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
+<!--script for Google+1 button-->
+<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>
</head>
<body>
@@ -73,8 +79,7 @@
</script>
</div>
<!-- google +1 button-->
-<div id="gplusone">
-<g:plusone size="tall" href="www.gnucash.org/beta/"></g:plusone></div>
+<g:plusone size="tall" href="http://www.gnucash.org/beta/"></g:plusone>
</div>
<!-- the icons on the top right-->
More information about the gnucash-changes
mailing list