gnucash-htdocs master: Try to get a valig g+ button

Frank H.Ellenberger fell at code.gnucash.org
Sat Apr 21 18:10:22 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/a9422b4e (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/dbae9d65 (commit)



commit a9422b4eedaa9ece9b733212d1a1893564cc8ccd
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Sun Apr 22 00:10:03 2018 +0200

    Try to get a valig g+ button

diff --git a/externals/header.phtml b/externals/header.phtml
index 33bc836..a155c02 100644
--- a/externals/header.phtml
+++ b/externals/header.phtml
@@ -94,10 +94,19 @@
           
           <div class="fb-like" data-href="https://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-->
-  
+
+<!-- HTML5:
         <g:plusone size="tall" href="https://www.gnucash.org/"></g:plusone>
+      </div>
+      The following was taken from https://productforums.google.com/forum/#!topic/webmasters/UHu945nsdEM for older forms.
+ -->
+        <div class="g-plusone" id="my_plusone" size="tall" >
+          <script type="text/javascript">
+            document.getElementById("my_plusone").setAttribute("data-href", "https://www.gnucash.org/");
+          </script>
+        </div>
       </div> <!-- googleplusone -->
-  
+
       <!-- the icons on the top right-->
       <div style="float:right;">
         <ul id="navlist">



Summary of changes:
 externals/header.phtml | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list