cvs: phpweb /include layout.inc
| From: | Gabor Hojtsy | Date: | Tue, 19 Sep 2006 12:10:20 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-32724@lists.php.net to get a copy of this message | ||
goba Tue Sep 19 12:10:20 2006 UTC
Modified files:
/phpweb/include layout.inc
Log:
bc functions for stats pages
http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.246&r2=1.247&diff_format=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.246 phpweb/include/layout.inc:1.247
--- phpweb/include/layout.inc:1.246 Mon Sep 18 22:14:07 2006
+++ phpweb/include/layout.inc Tue Sep 19 12:10:20 2006
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.246 2006/09/18 22:14:07 pollita Exp $ */
+/* $Id: layout.inc,v 1.247 2006/09/19 12:10:20 goba Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -53,6 +53,9 @@
else { echo $highlighted; }
}
+// Stats pages still need this
+function commonHeader($title) { site_header($title); }
+
function site_header($title = '', $config = array())
{
global $EXPL_LANG, $SIDEBAR_DATA, $RSIDEBAR_DATA, $PAGE_COLUMNS;
@@ -196,6 +199,9 @@
echo "\n <div id=\"content\">\n";
}
+// Stats pages still need this
+function commonFooter() { site_footer(); }
+
function site_footer($config = array())
{
global $LAST_UPDATED, $PAGE_COLUMNS;