From eb5b9bfb0718eb4d960ff2555d6084263750d874 Mon Sep 17 00:00:00 2001 From: uid29890 Date: Thu, 5 Jul 2001 00:47:03 +0000 Subject: Started on moderator control panel code. Main layout is started, no functionality yet git-svn-id: file:///svn/phpbb/trunk@561 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'phpBB/viewtopic.php') diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index cccd881a9d..5ccc14fa8e 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -537,20 +537,21 @@ $s_auth_can .= "You " . (($is_auth['auth_reply']) ? "can" : "cannotcan" : "cannot") . " edit your posts in this forum
"; $s_auth_can .= "You " . (($is_auth['auth_delete']) ? "can" : "cannot") . " delete your posts in this forum
"; -if($is_auth['auth_mod']) +if($is_auth['auth_mod'] || $userdata['user_level'] == ADMIN) { - $topic_mod = "  "; + $topic_mod = "  "; - $topic_mod .= "  "; + $topic_mod .= "  "; if($forum_row[0]['topic_status'] == UNLOCKED) { - $topic_mod .= "  "; + $topic_mod .= "  "; } else { - $topic_mod .= "  "; + $topic_mod .= "  "; } + $s_auth_can .= "You can moderate this forum
"; } $pagination = generate_pagination("viewtopic.$phpEx?".POST_TOPIC_URL."=$topic_id", $total_replies, $board_config['posts_per_page'], $start); -- cgit v1.2.1