diff --git a/phpBB/includes/page_tail.php b/phpBB/includes/page_tail.php index c092f00fe5..80cb7e3bfd 100644 --- a/phpBB/includes/page_tail.php +++ b/phpBB/includes/page_tail.php @@ -27,7 +27,11 @@ // if($userdata['user_level'] == ADMIN) { - $admin_link = "" . $lang['Admin_panel'] . ""; + $admin_link = "" . $lang['Admin_panel'] . "

"; +} +else +{ + $admin_link = ""; } $current_time = time(); @@ -36,8 +40,8 @@ $template->set_filenames(array( ); $template->assign_vars(array( - "PHPBB_VERSION" => "2.0-alpha", - "ADMIN_LINK" => $admin_link . "
")); + "PHPBB_VERSION" => "2.0a", + "ADMIN_LINK" => $admin_link)); $template->pparse("overall_footer"); @@ -53,7 +57,7 @@ $totaltime = ($endtime - $starttime); $gzip_text = ($board_config['gzip_compress']) ? "GZIP compression enabled" : "GZIP compression disabled"; $debug_mode = (DEBUG) ? " : Debug Mode" : ""; -printf("
phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."
", $totaltime); +printf("
phpBB Created this page in %f seconds : " . $db->num_queries . " queries executed : $gzip_text".$debug_mode."
", $totaltime); // // Close our DB connection. diff --git a/phpBB/templates/PSO/overall_footer.tpl b/phpBB/templates/PSO/overall_footer.tpl index 35702d9af0..cf56c83bfb 100644 --- a/phpBB/templates/PSO/overall_footer.tpl +++ b/phpBB/templates/PSO/overall_footer.tpl @@ -1,7 +1,7 @@
-
{ADMIN_LINK}
+
{ADMIN_LINK} -Powered by phpBB 2.0a © 2001 phpBB Group
+// --> +Powered by phpBB {PHPBB_VERSION} © 2001 phpBB Group
\ No newline at end of file