From 4bca9f448ec83831ddb61abee1214c671ae218e9 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 25 Feb 2006 20:19:42 +0000 Subject: [PATCH] test new syncmail version... git-svn-id: file:///svn/phpbb/trunk@5585 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/mcp.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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);