mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[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
This commit is contained in:
@@ -289,7 +289,7 @@ class acp_inactive
|
||||
}
|
||||
|
||||
$base_url = $this->u_action . "&$u_sort_param&users_per_page=$per_page";
|
||||
phpbb_generate_template_pagination($base_url, 'pagination', $inactive_count, $per_page, $start);
|
||||
phpbb_generate_template_pagination($template, $base_url, 'pagination', $inactive_count, $per_page, $start);
|
||||
|
||||
$template->assign_vars(array(
|
||||
'S_INACTIVE_USERS' => true,
|
||||
@@ -298,7 +298,7 @@ class acp_inactive
|
||||
'S_LIMIT_DAYS' => $s_limit_days,
|
||||
'S_SORT_KEY' => $s_sort_key,
|
||||
'S_SORT_DIR' => $s_sort_dir,
|
||||
'S_ON_PAGE' => on_page($base_url, $inactive_count, $per_page, $start),
|
||||
'S_ON_PAGE' => phpbb_on_page($template, $user, $base_url, $inactive_count, $per_page, $start),
|
||||
|
||||
'USERS_PER_PAGE' => $per_page,
|
||||
|
||||
|
Reference in New Issue
Block a user