aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_main.php
diff options
context:
space:
mode:
authorDrae <paul@starstreak.net>2012-07-12 02:36:00 +0100
committerDrae <paul@starstreak.net>2012-07-18 14:32:42 +0100
commit584d49459d22ebf47239fc97ad8358a5404dacf4 (patch)
treec4c4933cce8b90665beed1848e8460425a67c9b7 /phpBB/includes/ucp/ucp_main.php
parent27d8aef528460e87efc90bc4fffc82c0d1fa87d9 (diff)
downloadforums-584d49459d22ebf47239fc97ad8358a5404dacf4.tar
forums-584d49459d22ebf47239fc97ad8358a5404dacf4.tar.gz
forums-584d49459d22ebf47239fc97ad8358a5404dacf4.tar.bz2
forums-584d49459d22ebf47239fc97ad8358a5404dacf4.tar.xz
forums-584d49459d22ebf47239fc97ad8358a5404dacf4.zip
[feature/pagination-as-list] New parameter for name of start var
Add a new parameter to hold the name of the start variable. This fulfills ticket PHPBB3-8535. PHPBB3-10968
Diffstat (limited to 'phpBB/includes/ucp/ucp_main.php')
-rw-r--r--phpBB/includes/ucp/ucp_main.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php
index 5b6bdd445d..f21ea2471b 100644
--- a/phpBB/includes/ucp/ucp_main.php
+++ b/phpBB/includes/ucp/ucp_main.php
@@ -670,7 +670,7 @@ class ucp_main
if ($topics_count)
{
- phpbb_generate_template_pagination($template, $this->u_action, 'pagination', $topics_count, $config['topics_per_page'], $start);
+ phpbb_generate_template_pagination($template, $this->u_action, 'pagination', 'start', $topics_count, $config['topics_per_page'], $start);
$template->assign_vars(array(
'PAGE_NUMBER' => phpbb_on_page($template, $user, $this->u_action, $topics_count, $config['topics_per_page'], $start),
@@ -838,7 +838,7 @@ class ucp_main
'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $forum_id),
));
- phpbb_generate_template_pagination($template, append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . "&amp;t=$topic_id"), 'topicrow.pagination', $replies + 1, $config['posts_per_page'], 1, true, true);
+ phpbb_generate_template_pagination($template, append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . "&amp;t=$topic_id"), 'topicrow.pagination', 'start', $replies + 1, $config['posts_per_page'], 1, true, true);
}
}
}