aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-04-10 16:58:07 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-04-10 16:58:07 +0000
commit067f80ecccf0ba709552e2ccd7c9714534eb80bf (patch)
tree1a4e5a1c34282ead90e164de915d5bc88c9638e3
parent586c90b37aade3acce6affb2f61ab25428efa45e (diff)
downloadforums-067f80ecccf0ba709552e2ccd7c9714534eb80bf.tar
forums-067f80ecccf0ba709552e2ccd7c9714534eb80bf.tar.gz
forums-067f80ecccf0ba709552e2ccd7c9714534eb80bf.tar.bz2
forums-067f80ecccf0ba709552e2ccd7c9714534eb80bf.tar.xz
forums-067f80ecccf0ba709552e2ccd7c9714534eb80bf.zip
#9755
git-svn-id: file:///svn/phpbb/trunk@7321 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/mcp.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index b2cd39c7af..ce87fd4ae0 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -227,9 +227,9 @@ $module->assign_tpl_vars(append_sid("{$phpbb_root_path}mcp.$phpEx"));
// Generate urls for letting the moderation control panel being accessed in different modes
$template->assign_vars(array(
'U_MCP' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main'),
- 'U_MCP_FORUM' => ($forum_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&amp;f=$forum_id") : '',
- 'U_MCP_TOPIC' => ($forum_id && $topic_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&amp;t=$topic_id") : '',
- 'U_MCP_POST' => ($forum_id && $topic_id && $post_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&amp;t=$topic_id&amp;p=$post_id") : '',
+ 'U_MCP_FORUM' => ($forum_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&amp;mode=forum_view&amp;f=$forum_id") : '',
+ 'U_MCP_TOPIC' => ($forum_id && $topic_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&amp;mode=topic_view&amp;t=$topic_id") : '',
+ 'U_MCP_POST' => ($forum_id && $topic_id && $post_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&amp;mode=post_details&amp;t=$topic_id&amp;p=$post_id") : '',
));
// Generate the page, do not display/query online list