1
0
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:
Meik Sievertsen
2004-07-09 12:31:33 +00:00
parent e083255f66
commit bdd1643a7d
10 changed files with 427 additions and 61 deletions

View File

@@ -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");
}