mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-13 20:28:44 +01:00
Redirect to relevant MCP page of multi-page topic if accessing quickmod tools (Split option for example)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9414 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
1fae177b9a
commit
9d3d63181f
@ -140,6 +140,7 @@
|
||||
<li>[Change] Add IN_PHPBB check to generated cache files. (reported by bantu)</li>
|
||||
<li>[Change] Add topic icons to prosilver UCP main and subscribed templates (Bug #42735 - Patch by Raimon)</li>
|
||||
<li>[Change] Add unique key to ACL options table to prevent duplicate permission options. (Bug #41835)</li>
|
||||
<li>[Change] Redirect to relevant MCP page of multi-page topic if accessing quickmod tools (Split option for example)</li>
|
||||
<li>[Feature] Allow translation of custom BBCode help messages. (Patch by bantu)</li>
|
||||
<li>[Feature] db_tools now support create table and drop table.</li>
|
||||
<li>[Feature] Database updater checks for incompatible db schema (MySQL 3.x/4.x against MySQL 4.1.x/5.x/6.x)</li>
|
||||
|
@ -170,6 +170,12 @@ if ($quickmod)
|
||||
break;
|
||||
|
||||
case 'topic_logs':
|
||||
// Reset start parameter if we jumped from the quickmod dropdown
|
||||
if (request_var('start', 0))
|
||||
{
|
||||
$_REQUEST['start'] = 0;
|
||||
}
|
||||
|
||||
$module->set_active('logs', 'topic_logs');
|
||||
break;
|
||||
|
||||
|
@ -604,7 +604,7 @@ $template->assign_vars(array(
|
||||
'S_SINGLE_MODERATOR' => (!empty($forum_moderators[$forum_id]) && sizeof($forum_moderators[$forum_id]) > 1) ? false : true,
|
||||
'S_TOPIC_ACTION' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&start=$start"),
|
||||
'S_TOPIC_MOD' => ($topic_mod != '') ? '<select name="action" id="quick-mod-select">' . $topic_mod . '</select>' : '',
|
||||
'S_MOD_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "f=$forum_id&t=$topic_id&quickmod=1&redirect=" . urlencode(str_replace('&', '&', $viewtopic_url)), true, $user->session_id),
|
||||
'S_MOD_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "f=$forum_id&t=$topic_id&start=$start&quickmod=1&redirect=" . urlencode(str_replace('&', '&', $viewtopic_url)), true, $user->session_id),
|
||||
|
||||
'S_VIEWTOPIC' => true,
|
||||
'S_DISPLAY_SEARCHBOX' => ($auth->acl_get('u_search') && $auth->acl_get('f_search', $forum_id) && $config['load_search']) ? true : false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user