mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@7321 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
586c90b37a
commit
067f80eccc
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue