diff options
author | Drae <paul@starstreak.net> | 2012-07-12 02:36:00 +0100 |
---|---|---|
committer | Drae <paul@starstreak.net> | 2012-07-18 14:32:42 +0100 |
commit | 584d49459d22ebf47239fc97ad8358a5404dacf4 (patch) | |
tree | c4c4933cce8b90665beed1848e8460425a67c9b7 /phpBB/search.php | |
parent | 27d8aef528460e87efc90bc4fffc82c0d1fa87d9 (diff) | |
download | forums-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/search.php')
-rw-r--r-- | phpBB/search.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index f643ccb137..efbf2f4dfe 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -603,7 +603,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) $phrase_search_disabled = $search->supports_phrase_search() ? false : true; } - phpbb_generate_template_pagination($template, $u_search, 'pagination', $total_match_count, $per_page, $start); + phpbb_generate_template_pagination($template, $u_search, 'pagination', 'start', $total_match_count, $per_page, $start); $template->assign_vars(array( 'SEARCH_TITLE' => $l_search_title, @@ -1006,7 +1006,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) if ($show_results == 'topics') { - phpbb_generate_template_pagination($template, $view_topic_url, 'searchresults.pagination', $replies + 1, $config['posts_per_page'], 1, true, true); + phpbb_generate_template_pagination($template, $view_topic_url, 'searchresults.pagination', 'start', $replies + 1, $config['posts_per_page'], 1, true, true); } } |