Various updates

git-svn-id: file:///svn/phpbb/trunk@2706 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-07-17 14:13:16 +00:00
parent 22431f6be4
commit 889cc525e4
3 changed files with 13 additions and 5 deletions

View file

@ -196,7 +196,7 @@ else
{
?>
<tr>
<td class="row1" nowrap="nowrap"><?php echo $lang['No_entries']; ?></td>
<td class="row1" colspan="5" nowrap="nowrap"><?php echo $lang['No_entries']; ?></td>
</tr>
<?php
}

View file

@ -39,7 +39,7 @@ require('pagestart.' . $phpEx);
//
if ( !$acl->get_acl_admin() )
{
message_die(MESSAGE, 'No_admin');
message_die(MESSAGE, 'No_admin', '', true);
}
//

View file

@ -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">