cvs: phpweb /include layout.inc

From: Date: Fri, 16 Mar 2001 00:53:12 +0000
Subject: cvs: phpweb /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-4488@lists.php.net to get a copy of this message
jimw Thu Mar 15 16:53:12 2001 EDT Modified files: /phpweb/include layout.inc Log: include link to stats if mirror has them Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.24 phpweb/include/layout.inc:1.25 --- phpweb/include/layout.inc:1.24 Mon Mar 12 10:17:03 2001 +++ phpweb/include/layout.inc Thu Mar 15 16:53:12 2001 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.24 2001/03/12 18:17:03 goba Exp $ */ +/* $Id: layout.inc,v 1.25 2001/03/16 00:53:12 jimw Exp $ */ # spacer() @@ -288,7 +288,7 @@ # function commonFooter() { - global $SCRIPT_NAME,$MIRRORS,$MYSITE,$COUNTRIES,$LAST_UPDATED,$enclosed; + global $SCRIPT_NAME,$MIRRORS,$MYSITE,$COUNTRIES,$LAST_UPDATED,$DOCUMENT_ROOT,$enclosed; if ($enclosed) { echo "</td></tr></table></td></tr></table>\n"; } @@ -316,6 +316,10 @@ echo delim(); print_link('/credits.php', 'credits', false, 'class="small"'); echo delim(); + if (file_exists("$DOCUMENT_ROOT/stats/index.php")): + print_link('/stats/', 'stats', false, 'class="small"'); + echo delim(); + endif; print_link('/mirrors.php', 'mirror sites:', false, 'class="small"'); echo " <select class=\"small\" name=\"country\" onchange=\"gotomirror(this.form)\">\n"; echo "<option value=\"-1\">--\n";

« previous php.mirrors (#4488) next »