r21439 - htdocs/branches/beta/news - Use id instead of name as it is deprecated in XHTML.

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


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

Modified:
   htdocs/branches/beta/news/news-script.php
Log:
Use id instead of name as it is deprecated in XHTML.

Modified: htdocs/branches/beta/news/news-script.php
===================================================================
--- htdocs/branches/beta/news/news-script.php	2011-10-18 12:46:50 UTC (rev 21438)
+++ htdocs/branches/beta/news/news-script.php	2011-10-18 12:48:52 UTC (rev 21439)
@@ -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';" name="<?=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="<?=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