diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-25 20:19:42 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-25 20:19:42 +0000 |
| commit | 4bca9f448ec83831ddb61abee1214c671ae218e9 (patch) | |
| tree | 8cd9bbc9e71dc05697a640eec5ff1083e10c1b6a /phpBB | |
| parent | 4bcfafdc64a8a77c67982604fc2f92513b05fa50 (diff) | |
| download | forums-4bca9f448ec83831ddb61abee1214c671ae218e9.tar forums-4bca9f448ec83831ddb61abee1214c671ae218e9.tar.gz forums-4bca9f448ec83831ddb61abee1214c671ae218e9.tar.bz2 forums-4bca9f448ec83831ddb61abee1214c671ae218e9.tar.xz forums-4bca9f448ec83831ddb61abee1214c671ae218e9.zip | |
test new syncmail version...
git-svn-id: file:///svn/phpbb/trunk@5585 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/mcp.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 7cea4384ca..d9ee045d0b 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -105,7 +105,7 @@ if (!$forum_id && !$auth->acl_get('m_') && !$auth->acl_getf_global('m_')) trigger_error('MODULE_NOT_EXIST'); } -if($forum_id) +if ($forum_id) { $module->acl_forup_id = $forum_id; } @@ -154,20 +154,24 @@ if (!$post_id) $module->set_display('main', 'post_details', false); $module->set_display('warn', 'warn_post', false); } + if (!$topic_id) { $module->set_display('main', 'topic_view', false); $module->set_display('logs', 'topic_logs', false); } + if (!$topic_id && !$post_id) { $module->set_display('queue', 'approve_details', false); } + if (!$forum_id) { $module->set_display('main', 'forum_view', false); $module->set_display('logs', 'forum_logs', false); } + if (!$user_id && $username == '') { $module->set_display('notes', 'user_notes', false); |
