1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 07:47:34 +02:00

[feature/pagination-as-list] Rename and deprecate functions

Returned and marked deprecated topic_generate_pagination. Rename
new function in line with coding guidelines.

PHPBB3-10968
This commit is contained in:
Drae
2012-07-06 14:44:04 +01:00
parent dc71c0629e
commit cf4d6e926d
25 changed files with 72 additions and 29 deletions

View File

@@ -1882,7 +1882,7 @@ function tracking_unserialize($string, $max_depth = 3)
/**
* Pagination routine, generates page number sequence
* To generate pagination which is rendered fully within the template use generate_template_pagination
* To generate pagination which is rendered fully within the template use phpbb_generate_template_pagination
*
* @param string $base_url the base url is prepended to all links generated within the function
* @param int $num_items the total number of items, posts, topics, etc., used to determine the number of pages to produce
@@ -1985,7 +1985,7 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add
* @param bool $ignore_on_page decides whether we enable an active (unlinked) item, used primarily for embedded lists
*
*/
function generate_template_pagination($base_url, $block_var_name, $num_items, $per_page, $start_item = 1, $reverse_count = false, $ignore_on_page = false)
function phpbb_generate_template_pagination($base_url, $block_var_name, $num_items, $per_page, $start_item = 1, $reverse_count = false, $ignore_on_page = false)
{
global $template;