From 30aeac65dccceab18e19318e5981118f150c0647 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Fri, 4 Oct 2002 13:09:10 +0000 Subject: Well, here are all my changes ... don't blame me if things break :D git-svn-id: file:///svn/phpbb/trunk@2923 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/admin/admin_forums.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'phpBB/admin/admin_forums.php') diff --git a/phpBB/admin/admin_forums.php b/phpBB/admin/admin_forums.php index a15fb902c6..34e842b0fb 100644 --- a/phpBB/admin/admin_forums.php +++ b/phpBB/admin/admin_forums.php @@ -21,7 +21,7 @@ if (!empty($setmodules)) { - if (!$acl->get_acl_admin('forum')) + if (!$auth->get_acl_admin('forum')) { return; } @@ -43,7 +43,7 @@ include($phpbb_root_path . 'includes/functions_admin.'.$phpEx); // // Do we have forum admin permissions? // -if (!$acl->get_acl_admin('forum')) +if (!$auth->get_acl_admin('forum')) { message_die(MESSAGE, $lang['No_admin']); } @@ -535,7 +535,7 @@ switch ($mode) - +
&mode=remove&f=" method="post"> - + - + @@ -573,11 +573,11 @@ switch ($mode) if ($forum_status != ITEM_CATEGORY) { ?> - + - + @@ -586,18 +586,18 @@ switch ($mode) if ($right_id - $left_id > 1) { ?> - + - + - +
@@ -705,7 +705,7 @@ while ($row = $db->sql_fetchrow($result)) $forum_title = htmlspecialchars($sub_row['forum_name']); $forum_desc = htmlspecialchars($sub_row['forum_desc']); $subforums = ($sub_row['right_id'] - $sub_row['left_id'] - 1) / 2; - + if ($sub_row['forum_status'] != ITEM_CATEGORY) { $colspan = ''; -- cgit v1.2.1