r21355 - htdocs/trunk/externals - Add a facebook like button.
Cristian Marchi
cmarchi at code.gnucash.org
Mon Sep 26 12:33:33 EDT 2011
Author: cmarchi
Date: 2011-09-26 12:33:33 -0400 (Mon, 26 Sep 2011)
New Revision: 21355
Trac: http://svn.gnucash.org/trac/changeset/21355
Modified:
htdocs/trunk/externals/gnucash.css
htdocs/trunk/externals/header.phtml
Log:
Add a facebook like button.
Modified: htdocs/trunk/externals/gnucash.css
===================================================================
--- htdocs/trunk/externals/gnucash.css 2011-09-25 09:19:40 UTC (rev 21354)
+++ htdocs/trunk/externals/gnucash.css 2011-09-26 16:33:33 UTC (rev 21355)
@@ -576,7 +576,7 @@
position:fixed;
height:0;
right:0;
- top:200px;
+ top:255px;
z-index:-1;
}
@@ -591,6 +591,7 @@
padding:5px;
right:0;
top:120px;
+ width:55px;
}
#googleplusone:hover {
Modified: htdocs/trunk/externals/header.phtml
===================================================================
--- htdocs/trunk/externals/header.phtml 2011-09-25 09:19:40 UTC (rev 21354)
+++ htdocs/trunk/externals/header.phtml 2011-09-26 16:33:33 UTC (rev 21355)
@@ -46,6 +46,21 @@
<div style="position:absolute;top:-1000px;left:-1000px;"><img src="<?=$home?>/images/gnc-download.png" alt="GnuCash small business accounting" height="152" width="125" /></div>
<div id="googleplusone">
+
+<!--facebook like button-->
+<div style="padding:0 0 5px 0">
+<div id="fb-root"></div>
+<script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) {return;}
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
+ fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'facebook-jssdk'));</script>
+
+<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>
More information about the gnucash-changes
mailing list