diff options
author | uid29890 <uid29890@users.sourceforge.net> | 2001-07-05 00:47:03 +0000 |
---|---|---|
committer | uid29890 <uid29890@users.sourceforge.net> | 2001-07-05 00:47:03 +0000 |
commit | eb5b9bfb0718eb4d960ff2555d6084263750d874 (patch) | |
tree | fedbf115d01c2de262dde1569d74c9ee582524eb /phpBB/viewforum.php | |
parent | 14c6a0a4af67323b4243d507a69e054d35d6ea2a (diff) | |
download | forums-eb5b9bfb0718eb4d960ff2555d6084263750d874.tar forums-eb5b9bfb0718eb4d960ff2555d6084263750d874.tar.gz forums-eb5b9bfb0718eb4d960ff2555d6084263750d874.tar.bz2 forums-eb5b9bfb0718eb4d960ff2555d6084263750d874.tar.xz forums-eb5b9bfb0718eb4d960ff2555d6084263750d874.zip |
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
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r-- | phpBB/viewforum.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index e1efd7b52c..08853925ff 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -410,7 +410,11 @@ if($total_topics) $s_auth_can .= "You " . (($is_auth['auth_reply']) ? "<b>can</b>" : "<b>cannot</b>") . " reply to posts in this forum<br>"; $s_auth_can .= "You " . (($is_auth['auth_edit']) ? "<b>can</b>" : "<b>cannot</b>") . " edit your posts in this forum<br>"; $s_auth_can .= "You " . (($is_auth['auth_delete']) ? "<b>can</b>" : "<b>cannot</b>") . " delete your posts in this forum<br>"; - + if($is_auth['auth_mod'] || $userdata['user_level'] == ADMIN) + { + $s_auth_can .= "You <b>can</b> <a href=\"" . append_sid("modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id") . "\">moderate this forum</a><br>"; + } + $template->assign_vars(array( "PAGINATION" => generate_pagination("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id&postdays=$post_days", $topics_count, $board_config['topics_per_page'], $start), "ON_PAGE" => ( floor( $start / $board_config['topics_per_page'] ) + 1 ), |