mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
message_die admin header/footer update
git-svn-id: file:///svn/phpbb/trunk@2820 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
3754702825
commit
ac288081ba
1 changed files with 16 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue