aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/page_tail.php
diff options
context:
space:
mode:
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