diff options
author | David M <davidmj@users.sourceforge.net> | 2007-04-10 16:58:07 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-04-10 16:58:07 +0000 |
commit | 067f80ecccf0ba709552e2ccd7c9714534eb80bf (patch) | |
tree | 1a4e5a1c34282ead90e164de915d5bc88c9638e3 | |
parent | 586c90b37aade3acce6affb2f61ab25428efa45e (diff) | |
download | forums-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.php | 6 |
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&f=$forum_id") : '', - 'U_MCP_TOPIC' => ($forum_id && $topic_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&t=$topic_id") : '', - 'U_MCP_POST' => ($forum_id && $topic_id && $post_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&t=$topic_id&p=$post_id") : '', + 'U_MCP_FORUM' => ($forum_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&mode=forum_view&f=$forum_id") : '', + 'U_MCP_TOPIC' => ($forum_id && $topic_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&mode=topic_view&t=$topic_id") : '', + 'U_MCP_POST' => ($forum_id && $topic_id && $post_id) ? append_sid("{$phpbb_root_path}mcp.$phpEx", "i=main&mode=post_details&t=$topic_id&p=$post_id") : '', )); // Generate the page, do not display/query online list |