aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorDrae <paul@starstreak.net>2012-07-08 21:07:28 +0100
committerDrae <paul@starstreak.net>2012-07-18 14:32:18 +0100
commit27d8aef528460e87efc90bc4fffc82c0d1fa87d9 (patch)
tree91628c158d80d76bac305a9933ec8b74b5336b96 /phpBB/includes/mcp/mcp_queue.php
parentcf4d6e926dd83d61073ac355cdaf7778a18dcbf8 (diff)
downloadforums-27d8aef528460e87efc90bc4fffc82c0d1fa87d9.tar
forums-27d8aef528460e87efc90bc4fffc82c0d1fa87d9.tar.gz
forums-27d8aef528460e87efc90bc4fffc82c0d1fa87d9.tar.bz2
forums-27d8aef528460e87efc90bc4fffc82c0d1fa87d9.tar.xz
forums-27d8aef528460e87efc90bc4fffc82c0d1fa87d9.zip
[feature/pagination-as-list] Updates for nils comments
Re-remove deprecated functions, change on_page to phpbb_on_page, add null returns, remove globals and pass as params. PHPBB3-10968
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 8e06728332..eb3e856302 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -420,7 +420,7 @@ class mcp_queue
unset($rowset, $forum_names);
$base_url = $this->u_action . "&amp;f=$forum_id&amp;st=$sort_days&amp;sk=$sort_key&amp;sd=$sort_dir";
- phpbb_generate_template_pagination($base_url, 'pagination', $total, $config['topics_per_page'], $start);
+ phpbb_generate_template_pagination($template, $base_url, 'pagination', $total, $config['topics_per_page'], $start);
// Now display the page
$template->assign_vars(array(
@@ -433,7 +433,7 @@ class mcp_queue
'S_MCP_ACTION' => build_url(array('t', 'f', 'sd', 'st', 'sk')),
'S_TOPICS' => ($mode == 'unapproved_posts') ? false : true,
- 'PAGE_NUMBER' => on_page($base_url, $total, $config['topics_per_page'], $start),
+ 'PAGE_NUMBER' => phpbb_on_page($template, $user, $base_url, $total, $config['topics_per_page'], $start),
'TOPIC_ID' => $topic_id,
'TOTAL' => $user->lang((($mode == 'unapproved_posts') ? 'VIEW_TOPIC_POSTS' : 'VIEW_FORUM_TOPICS'), (int) $total),
));