r21440 - htdocs/branches/beta/news - Id cannot start with a number so add a letter.

Cristian Marchi cmarchi at code.gnucash.org
Tue Oct 18 08:51:48 EDT 2011


Author: cmarchi
Date: 2011-10-18 08:51:48 -0400 (Tue, 18 Oct 2011)
New Revision: 21440
Trac: http://svn.gnucash.org/trac/changeset/21440

Modified:
   htdocs/branches/beta/news/news-script.php
Log:
Id cannot start with a number so add a letter.

Modified: htdocs/branches/beta/news/news-script.php
===================================================================
--- htdocs/branches/beta/news/news-script.php	2011-10-18 12:48:52 UTC (rev 21439)
+++ htdocs/branches/beta/news/news-script.php	2011-10-18 12:51:48 UTC (rev 21440)
@@ -132,7 +132,7 @@
   <div class="newsheader" style="display:inline-block;background-color:#CACAF7;width:100%">
     <div style="float:left;">
     <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';" id="<?=generate_anchor($key)?>"><?= $fa[0]; ?> - <b><?= $newsfile[$key] ?></b></a>
+    <a style="text-decoration:none;color:black;" onmouseover="this.style.backgroundColor='#cacaf7';" onmouseout="this.style.backgroundColor='#cacaf7';" id="n-<?=generate_anchor($key)?>"><?= $fa[0]; ?> - <b><?= $newsfile[$key] ?></b></a>
   </div>
 <!-- the next div could be used to add a date on the right of the news heading-->
     <div style="float:right;">



More information about the gnucash-changes mailing list