aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-08-05 14:59:47 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-08-05 14:59:47 +0000
commitac288081ba897488763d40e51bb98496c68579fd (patch)
treefd925c44199dc23a687c13c8bb84579a7456b716 /phpBB/includes
parent375470282542dce9e059a3ec70374a878cb68610 (diff)
downloadforums-ac288081ba897488763d40e51bb98496c68579fd.tar
forums-ac288081ba897488763d40e51bb98496c68579fd.tar.gz
forums-ac288081ba897488763d40e51bb98496c68579fd.tar.bz2
forums-ac288081ba897488763d40e51bb98496c68579fd.tar.xz
forums-ac288081ba897488763d40e51bb98496c68579fd.zip
message_die admin header/footer update
git-svn-id: file:///svn/phpbb/trunk@2820 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php20
1 files changed, 16 insertions, 4 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 365b9c2fe9..f6758022cd 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -603,8 +603,14 @@ function message_die($msg_code, $msg_text = '', $msg_title = '', $display_header
if ( !defined('HEADER_INC') )
{
- $page = ( !defined('IN_ADMIN') ) ? 'includes/page_header.' : 'admin/page_header_admin.';
- include($phpbb_root_path . $page . $phpEx);
+ if ( !defined('IN_ADMIN') )
+ {
+ include($phpbb_root_path . 'includes/page_header.' . $phpEx);
+ }
+ else
+ {
+ page_header();
+ }
}
$msg_title = ( $msg_title == '' ) ? $lang['Information'] : $msg_title;
@@ -626,8 +632,14 @@ function message_die($msg_code, $msg_text = '', $msg_title = '', $display_header
);
}
- $page = ( !defined('IN_ADMIN') ) ? 'includes/page_tail.' : 'admin/page_footer_admin.';
- include($phpbb_root_path . $page . $phpEx);
+ if ( !defined('IN_ADMIN') )
+ {
+ include($phpbb_root_path . 'includes/page_footer.' . $phpEx);
+ }
+ else
+ {
+ page_footer();
+ }
break;
case ERROR: