aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-12-13 20:30:16 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2012-12-13 20:32:43 -0600
commit5c614ff6249c441637103ba0b78338f878057479 (patch)
tree7fb26e68c76f837ded2fdc39f27b5f2572a586ee /phpBB
parent71bcc58feecd49fe05f6b7e0e2bca8a94424f240 (diff)
downloadforums-5c614ff6249c441637103ba0b78338f878057479.tar
forums-5c614ff6249c441637103ba0b78338f878057479.tar.gz
forums-5c614ff6249c441637103ba0b78338f878057479.tar.bz2
forums-5c614ff6249c441637103ba0b78338f878057479.tar.xz
forums-5c614ff6249c441637103ba0b78338f878057479.zip
[ticket/8610] Revert some funky merging I did from rebase
PHPBB3-8610
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/mcp/mcp_forum.php5
-rw-r--r--phpBB/includes/mcp/mcp_main.php2
-rw-r--r--phpBB/includes/mcp/mcp_topic.php8
3 files changed, 3 insertions, 12 deletions
diff --git a/phpBB/includes/mcp/mcp_forum.php b/phpBB/includes/mcp/mcp_forum.php
index ce709e7f71..78239698a9 100644
--- a/phpBB/includes/mcp/mcp_forum.php
+++ b/phpBB/includes/mcp/mcp_forum.php
@@ -98,9 +98,6 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
$forum_topics = ($total == -1) ? $forum_info['forum_topics'] : $total;
$limit_time_sql = ($sort_days) ? 'AND t.topic_last_post_time >= ' . (time() - ($sort_days * 86400)) : '';
- $base_url = $url . "&amp;i=$id&amp;action=$action&amp;mode=$mode&amp;sd=$sort_dir&amp;sk=$sort_key&amp;st=$sort_days" . (($merge_select) ? $selected_ids : '');
- phpbb_generate_template_pagination($template, $base_url, 'pagination', 'start', $forum_topics, $topics_per_page, $start);
-
$template->assign_vars(array(
'ACTION' => $action,
'FORUM_NAME' => $forum_info['forum_name'],
@@ -460,4 +457,4 @@ function merge_topics($forum_id, $topic_ids, $to_topic_id)
}
}
-?>
+?> \ No newline at end of file
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index cce4db8b4d..0cef8933fc 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -1336,4 +1336,4 @@ function mcp_fork_topic($topic_ids)
}
}
-?>
+?> \ No newline at end of file
diff --git a/phpBB/includes/mcp/mcp_topic.php b/phpBB/includes/mcp/mcp_topic.php
index 28f5c6a41d..ba11b04884 100644
--- a/phpBB/includes/mcp/mcp_topic.php
+++ b/phpBB/includes/mcp/mcp_topic.php
@@ -307,12 +307,6 @@ function mcp_topic_view($id, $mode, $action)
'post_ids' => $post_id_list,
));
- $base_url = append_sid("{$phpbb_root_path}mcp.$phpEx", "i=$id&amp;t={$topic_info['topic_id']}&amp;mode=$mode&amp;action=$action&amp;to_topic_id=$to_topic_id&amp;posts_per_page=$posts_per_page&amp;st=$sort_days&amp;sk=$sort_key&amp;sd=$sort_dir");
- if ($posts_per_page)
- {
- phpbb_generate_template_pagination($template, $base_url, 'pagination', 'start', $total, $posts_per_page, $start);
- }
-
$template->assign_vars(array(
'TOPIC_TITLE' => $topic_info['topic_title'],
'U_VIEW_TOPIC' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $topic_info['forum_id'] . '&amp;t=' . $topic_info['topic_id']),
@@ -712,4 +706,4 @@ function merge_posts($topic_id, $to_topic_id)
}
}
-?>
+?> \ No newline at end of file