Commit:    bf9bfb142e63238e5b8fbe101ffe83ba5bd63370
Author:    Hannes Magnusson <[email protected]>         Mon, 27 Dec 2010 15:12:19 
+0000
Parents:   4ed0b9cf615f0b9bfe1e8b5e8836f91057dd156a
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=bf9bfb142e63238e5b8fbe101ffe83ba5bd63370

Log:
Make the news header point to the archive of the 'current year'
remove news archive link

Changed paths:
  M  include/layout.inc


Diff:
diff --git a/include/layout.inc b/include/layout.inc
index 9c79d15..0982efc 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -832,7 +832,7 @@ function news_toc() {
     $items = array(
         array(
             "title" => "News",
-            "link"  => "/",
+            "link"  => "/archive/",
             "children" => print_news($NEWS_ENTRIES, "frontpage", 3, null, 
true),
         ),
         array(
@@ -854,7 +854,6 @@ function news_toc() {
             echo "<dd><a 
href='{$child["permlink"]}'>{$child["title"]}</a></dd>\n";
         }
     }
-    echo "<dt><a href='/archive/'>News archive</a></dt>\n";
     echo "</dl>\n";
 }
 function doc_toc($lang) {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to