r792 - webspace/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun May 28 23:58:15 EDT 2006


Author: floam
Date: 2006-05-28 23:58:15 -0400 (Sun, 28 May 2006)
New Revision: 792

Modified:
   webspace/include/news.php
Log:
Id names cannot begin with numbers.


Modified: webspace/include/news.php
===================================================================
--- webspace/include/news.php	2006-05-29 03:02:54 UTC (rev 791)
+++ webspace/include/news.php	2006-05-29 03:58:15 UTC (rev 792)
@@ -40,7 +40,7 @@
 				$err = "Failed to grab news item: $err";
 				break;
 			}
-			echo "<h3 id=\"" . $item['id'] . "\">" . $item['title'] . " - <em>" .
+			echo "<h3 id=\"post" . $item['id'] . "\">" . $item['title'] . " - <em>" .
 			 date("F j, Y", strtotime($item['postdate'])) . "</em></h3>\n<p>" . $item['text'] .
 			 "</p><p><a class=\"permalink\" href=\"?page=news&amp;news_item=" . $item['id'] . "\">Permalink</a></p>";
 			if ($current_post++ == $news_item_count - 1)




More information about the quake3-commits mailing list