aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-07-17 14:13:16 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-07-17 14:13:16 +0000
commit889cc525e43284e065c762f8cc886236c02fe694 (patch)
treec34ac3950ad7b1cfed79c8b24d1277b57964ca3c
parent22431f6be419aa8f7789e0b213597c01d24bb6ce (diff)
downloadforums-889cc525e43284e065c762f8cc886236c02fe694.tar
forums-889cc525e43284e065c762f8cc886236c02fe694.tar.gz
forums-889cc525e43284e065c762f8cc886236c02fe694.tar.bz2
forums-889cc525e43284e065c762f8cc886236c02fe694.tar.xz
forums-889cc525e43284e065c762f8cc886236c02fe694.zip
Various updates
git-svn-id: file:///svn/phpbb/trunk@2706 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/admin/admin_viewlogs.php2
-rw-r--r--phpBB/admin/index.php2
-rw-r--r--phpBB/admin/pagestart.php14
3 files changed, 13 insertions, 5 deletions
diff --git a/phpBB/admin/admin_viewlogs.php b/phpBB/admin/admin_viewlogs.php
index 1bcd9a3596..2bb50a85d4 100644
--- a/phpBB/admin/admin_viewlogs.php
+++ b/phpBB/admin/admin_viewlogs.php
@@ -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
}
diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php
index cfa9e85779..df10e1dea9 100644
--- a/phpBB/admin/index.php
+++ b/phpBB/admin/index.php
@@ -39,7 +39,7 @@ require('pagestart.' . $phpEx);
//
if ( !$acl->get_acl_admin() )
{
- message_die(MESSAGE, 'No_admin');
+ message_die(MESSAGE, 'No_admin', '', true);
}
//
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">