aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/pagestart.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/admin/pagestart.php')
-rw-r--r--phpBB/admin/pagestart.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/phpBB/admin/pagestart.php b/phpBB/admin/pagestart.php
index 3addac5dd4..c834d78649 100644
--- a/phpBB/admin/pagestart.php
+++ b/phpBB/admin/pagestart.php
@@ -46,7 +46,7 @@ $session->configure($userdata);
//
function page_header($sub_title)
{
- global $db, $lang, $phpEx;
+ global $board_config, $db, $lang, $phpEx;
include('page_header_admin.'.$phpEx);
@@ -68,7 +68,7 @@ function page_header($sub_title)
function page_footer($ignore_copyright = false)
{
- global $db, $lang, $phpEx;
+ global $board_config, $db, $lang, $phpEx;
?>
@@ -82,10 +82,12 @@ function page_footer($ignore_copyright = false)
}
-function page_message($title, $message)
+function page_message($title, $message, $show_header)
{
global $lang;
+ if ( $show_header )
+ {
?>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
@@ -95,6 +97,12 @@ function page_message($title, $message)
</tr>
</table>
+<?php
+
+ }
+
+?>
+
<br /><br />
<table class="bg" width="80%" cellpadding="4" cellspacing="1" border="0" align="center">