mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +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:
@@ -1572,11 +1572,11 @@ switch ($mode)
|
||||
}
|
||||
}
|
||||
|
||||
phpbb_generate_template_pagination($pagination_url, 'pagination', $total_users, $config['topics_per_page'], $start);
|
||||
phpbb_generate_template_pagination($template, $pagination_url, 'pagination', $total_users, $config['topics_per_page'], $start);
|
||||
|
||||
// Generate page
|
||||
$template->assign_vars(array(
|
||||
'PAGE_NUMBER' => on_page($pagination_url, $total_users, $config['topics_per_page'], $start),
|
||||
'PAGE_NUMBER' => phpbb_on_page($template, $user, $pagination_url, $total_users, $config['topics_per_page'], $start),
|
||||
'TOTAL_USERS' => $user->lang('LIST_USERS', (int) $total_users),
|
||||
|
||||
'PROFILE_IMG' => $user->img('icon_user_profile', $user->lang['PROFILE']),
|
||||
|
Reference in New Issue
Block a user