mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +02:00
- added splitting of topics to mcp
- added merging of posts to mcp - fixed parsing of acl_getf results - adjusted tracking code for important announcements (seems to work now) git-svn-id: file:///svn/phpbb/trunk@4923 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -297,6 +297,13 @@ if ($action == 'merge_select')
|
||||
$mode = 'forum_view';
|
||||
}
|
||||
|
||||
if (in_array($mode, array('split', 'split_all', 'split_beyond', 'merge', 'merge_posts')))
|
||||
{
|
||||
$_REQUEST['action'] = $action = $mode;
|
||||
$mode = 'topic_view';
|
||||
$quickmod = 0;
|
||||
}
|
||||
|
||||
if (!$quickmod)
|
||||
{
|
||||
$post_id = request_var('p', 0);
|
||||
@@ -334,11 +341,6 @@ switch ($mode)
|
||||
case 'delete_post':
|
||||
$mcp->load('mcp', 'main', $mode);
|
||||
break;
|
||||
case 'split':
|
||||
case 'merge':
|
||||
case 'fork':
|
||||
case 'viewlogs':
|
||||
break;
|
||||
default:
|
||||
trigger_error("$mode not allowed as quickmod");
|
||||
}
|
||||
|
Reference in New Issue
Block a user