diff options
author | Drae <paul@starstreak.net> | 2012-07-06 14:44:04 +0100 |
---|---|---|
committer | Drae <paul@starstreak.net> | 2012-07-18 14:31:50 +0100 |
commit | cf4d6e926dd83d61073ac355cdaf7778a18dcbf8 (patch) | |
tree | e1f4e755a159d65bee8c0e569bf74ce4a8434f45 /phpBB/includes/ucp/ucp_main.php | |
parent | dc71c0629e60acccd39b59538f2e7f5b09b32509 (diff) | |
download | forums-cf4d6e926dd83d61073ac355cdaf7778a18dcbf8.tar forums-cf4d6e926dd83d61073ac355cdaf7778a18dcbf8.tar.gz forums-cf4d6e926dd83d61073ac355cdaf7778a18dcbf8.tar.bz2 forums-cf4d6e926dd83d61073ac355cdaf7778a18dcbf8.tar.xz forums-cf4d6e926dd83d61073ac355cdaf7778a18dcbf8.zip |
[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
Diffstat (limited to 'phpBB/includes/ucp/ucp_main.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_main.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php index d07d838227..0c28fbecf1 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) { - generate_template_pagination($this->u_action, 'pagination', $topics_count, $config['topics_per_page'], $start); + phpbb_generate_template_pagination($this->u_action, 'pagination', $topics_count, $config['topics_per_page'], $start); $template->assign_vars(array( 'PAGE_NUMBER' => on_page($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), )); - generate_template_pagination(append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . "&t=$topic_id"), 'topicrow.pagination', $replies + 1, $config['posts_per_page'], 1, true, true); + phpbb_generate_template_pagination(append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id'] . "&t=$topic_id"), 'topicrow.pagination', $replies + 1, $config['posts_per_page'], 1, true, true); } } } |