aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/page_tail.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-20 15:16:03 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-20 15:16:03 +0000
commitc285a885ae3a45a1ccb765553cea65b15331e6f1 (patch)
tree2f86781940a8cf5dcd71606b27883db267dc0d0f /phpBB/includes/page_tail.php
parent862f5d67003f73ed419b06bd5d59832308ed1be5 (diff)
downloadforums-c285a885ae3a45a1ccb765553cea65b15331e6f1.tar
forums-c285a885ae3a45a1ccb765553cea65b15331e6f1.tar.gz
forums-c285a885ae3a45a1ccb765553cea65b15331e6f1.tar.bz2
forums-c285a885ae3a45a1ccb765553cea65b15331e6f1.tar.xz
forums-c285a885ae3a45a1ccb765553cea65b15331e6f1.zip
Fixed errors, non-sid-appended urls, lang switchovers, etc.
git-svn-id: file:///svn/phpbb/trunk@707 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/page_tail.php')
-rw-r--r--phpBB/includes/page_tail.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/includes/page_tail.php b/phpBB/includes/page_tail.php
index f5a22e4203..607b322b0b 100644
--- a/phpBB/includes/page_tail.php
+++ b/phpBB/includes/page_tail.php
@@ -27,7 +27,7 @@
//
if($userdata['user_level'] == ADMIN)
{
- $admin_link = "<a href=\"admin/index.$phpEx\">Administration Panel</a>";
+ $admin_link = "<a href=\"" . append_sid("admin/index.$phpEx") . "\">" . $lang['Admin_panel'] . "</a>";
}
$current_time = time();
@@ -51,14 +51,18 @@ $endtime = $mtime;
$totaltime = ($endtime - $starttime);
$gzip_text = ($board_config['gzip_compress']) ? "GZIP compression enabled" : "GZIP compression disabled";
+$debug_mode = (DEBUG) ? " : Debug Mode" : "";
-printf("<center><font size=-2>phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text</font></center>", $totaltime);
+printf("<center><font size=-2>phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."</font></center>", $totaltime);
//
// Close our DB connection.
//
$db->sql_close();
+//for($i=0;$i<count($db->query_array);$i++)
+// echo $db->query_array[$i] . "<BR>";
+
//
// Compress buffered output if required
// and send to browser