cvs: phpweb /include layout.inc

From: Date: Sun, 17 Sep 2006 14:12:17 +0000
Subject: cvs: phpweb /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-32672@lists.php.net to get a copy of this message
goba Sun Sep 17 14:12:17 2006 UTC Modified files: /phpweb/include layout.inc Log: fix archive navigation http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.242&r2=1.243&diff_format=u Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.242 phpweb/include/layout.inc:1.243 --- phpweb/include/layout.inc:1.242 Wed Sep 13 23:38:23 2006 +++ phpweb/include/layout.inc Sun Sep 17 14:12:16 2006 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.242 2006/09/13 23:38:23 pollita Exp $ */ +/* $Id: layout.inc,v 1.243 2006/09/17 14:12:16 goba Exp $ */ // Set the static content root differently on php.net $_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ? @@ -559,7 +559,7 @@ <ul class="toc"> '; for ($i = 1998; $i < 2007; $i++) { - $pagename = "news-$i.php"; + $pagename = "archive/$i.php"; $classname = ($pagename == $_SERVER['BASE_PAGE'] ? ' class="active"' : ''); $SIDEBAR_DATA .= '<li><a href="/' . $pagename .'"' . $classname .'>' . $i . "</a></li>\n"; }

« previous php.mirrors (#32672) next »