r750 - webspace/include
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri May 5 20:14:50 EDT 2006
Author: floam
Date: 2006-05-05 20:14:50 -0400 (Fri, 05 May 2006)
New Revision: 750
Modified:
webspace/include/news.php
Log:
need news ids so we can link to them
Modified: webspace/include/news.php
===================================================================
--- webspace/include/news.php 2006-05-06 00:02:47 UTC (rev 749)
+++ webspace/include/news.php 2006-05-06 00:14:50 UTC (rev 750)
@@ -29,7 +29,7 @@
$err = "Failed to grab news item: $err";
break;
}
- echo "<h3>" . $item['title'] . " - <em>" . date("F j, Y", strtotime($item['postdate'])) . "</em></h3>\n<p>" . $item['text'] . "</p>";
+ echo "<h3 id=\"" . $item['id'] . "\">" . $item['title'] . " - <em>" . date("F j, Y", strtotime($item['postdate'])) . "</em></h3>\n<p>" . $item['text'] . "</p>";
if ($current_post++ == $news_item_count - 1)
$lastid = $digestItem['id'];
}
More information about the quake3-commits
mailing list