r21287 - htdocs/branches/beta - Move Google+1 button to the right above branding and remove it from the news heading.
Cristian Marchi
cmarchi at code.gnucash.org
Thu Sep 22 04:41:10 EDT 2011
Author: cmarchi
Date: 2011-09-22 04:41:09 -0400 (Thu, 22 Sep 2011)
New Revision: 21287
Trac: http://svn.gnucash.org/trac/changeset/21287
Modified:
htdocs/branches/beta/externals/gnucash.css
htdocs/branches/beta/externals/header.phtml
htdocs/branches/beta/news/news-script.php
Log:
Move Google+1 button to the right above branding and remove it from the news heading.
Modified: htdocs/branches/beta/externals/gnucash.css
===================================================================
--- htdocs/branches/beta/externals/gnucash.css 2011-09-21 10:24:42 UTC (rev 21286)
+++ htdocs/branches/beta/externals/gnucash.css 2011-09-22 08:41:09 UTC (rev 21287)
@@ -560,6 +560,14 @@
position:fixed;
height:0;
right:0;
- top:140px;
+ top:200px;
z-index:-1;
}
+
+#googleplusone {
+ position:fixed;
+ height:0;
+ right:0;
+ top:130px;
+ z-index:-1;
+}
Modified: htdocs/branches/beta/externals/header.phtml
===================================================================
--- htdocs/branches/beta/externals/header.phtml 2011-09-21 10:24:42 UTC (rev 21286)
+++ htdocs/branches/beta/externals/header.phtml 2011-09-22 08:41:09 UTC (rev 21287)
@@ -40,6 +40,10 @@
<p><img src="<?=$top_dir?>/images/gnucash-vert.png" alt="GnuCash" /></p>
</div>
+<div id="googleplusone">
+<g:plusone size="tall" href="http://www.gnucash.org"></g:plusone>
+</div>
+
<div style="float:right;">
<p id="rss">
<a href="http://gnucash.uservoice.com/"><img style="margin: 0 10px 0 0" src="<?=$top_dir?>/images/icons/uservoice-32x32.png" title="<?php echo T_($titleuservoice);?>" alt="[Donation]" width="32" height="32" /></a>
Modified: htdocs/branches/beta/news/news-script.php
===================================================================
--- htdocs/branches/beta/news/news-script.php 2011-09-21 10:24:42 UTC (rev 21286)
+++ htdocs/branches/beta/news/news-script.php 2011-09-22 08:41:09 UTC (rev 21287)
@@ -134,11 +134,11 @@
<img src="<?=$top_dir?>/images/icons/document.txt.gif" width="16" height="16" alt="[news]" />
<a style="text-decoration:none;color:black;" onmouseover="this.style.backgroundColor='#cacaf7';" onmouseout="this.style.backgroundColor='#cacaf7';" name="<?=generate_anchor($key)?>"><?= $fa[0]; ?> - <b><?= $newsfile[$key] ?></b></a>
</div>
- <div style="float:right; min-width:100px;padding-top:5px">
- <!-- The google +1 button-->
- <g:plusone href="http://www.gnucash.org/beta/#<?=generate_anchor($key)?>"></g:plusone>
+<!-- the next div could be used to add a date on the right of the news' heading-->
+ <div style="float:right;">
+ </div>
+
</div>
- </div>
<div class="newsinner">
<? for ($i=2; $i<$n; $i++) {
print $fa[$i];
More information about the gnucash-changes
mailing list