mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Various updates
git-svn-id: file:///svn/phpbb/trunk@2706 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
@@ -39,7 +39,7 @@ require('pagestart.' . $phpEx);
|
||||
//
|
||||
if ( !$acl->get_acl_admin() )
|
||||
{
|
||||
message_die(MESSAGE, 'No_admin');
|
||||
message_die(MESSAGE, 'No_admin', '', true);
|
||||
}
|
||||
|
||||
//
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user