r1010 - webspace/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Dec 2 18:40:54 EST 2006


Author: floam
Date: 2006-12-02 18:40:54 -0500 (Sat, 02 Dec 2006)
New Revision: 1010

Modified:
   webspace/include/home.php
   webspace/include/news.php
Log:
Let's keep people on the front page as they travel through news history.


Modified: webspace/include/home.php
===================================================================
--- webspace/include/home.php	2006-12-02 23:33:55 UTC (rev 1009)
+++ webspace/include/home.php	2006-12-02 23:40:54 UTC (rev 1010)
@@ -36,7 +36,7 @@
 ?>
 </p>
 
-<h2>News</h2>
+<h2 id="news">News</h2>
 <div class="indent">
 <?php include("news.php"); ?>
 </div>

Modified: webspace/include/news.php
===================================================================
--- webspace/include/news.php	2006-12-02 23:33:55 UTC (rev 1009)
+++ webspace/include/news.php	2006-12-02 23:40:54 UTC (rev 1010)
@@ -55,9 +55,9 @@
 		{
 			echo "<p id=\"newsnav\">";
 			if ($news_item_count == $news_item_max)
-				echo "<a class=\"left\" href=\"?page=news&amp;news_index=$lastid\">&larr;Backpedal</a>";
+				echo "<a class=\"left\" href=\"?page=home&amp;news_index=$lastid#news\">&larr;Backpedal</a>";
 			if ($news_index != false)
-				echo "<a class=\"right\" href=\"?page=news\">To Newest&rarr;</a>";
+				echo "<a class=\"right\" href=\"?page=home#news\">To Newest&rarr;</a>";
 			echo "</p>";
 		}
 }




More information about the quake3-commits mailing list