Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-3785 now.

MCP - Moderate forum/topic/posts links (fix completed in vcs)

The links to [ Moderate Forum | Moderate Topic | Moderate Post ] all put the user on the main page, instead of to the specific section.
See diff...



Code: Select all
*** /phpBB2/mcp.php  Mon Apr  2 14:30:23 2007
--- /forum/mcp.php   Tue Apr 10 05:58:16 2007
***************
*** 
227,235 ****
  
// 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") : '',
  ));
  
  
// Generate the page, do not display/query online list
--- 227,235 ----
  
// 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&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

Comments / History

Assigned ticket to user "DavidMJ"

Action performed by DavidMJ (Former Team Member) on Apr 10th 2007, 16:53

Changed ticket status from "New" to "Reviewed"

Action performed by DavidMJ (Former Team Member) on Apr 10th 2007, 16:53

Linked ticket with changeset: r7321

Action performed by DavidMJ (Former Team Member) on Apr 10th 2007, 16:58

Changed ticket status from "Reviewed" to "Fix completed in CVS"

Action performed by DavidMJ (Former Team Member) on Apr 10th 2007, 16:59

Ticket details

Related SVN changesets