mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +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:
@@ -1223,13 +1223,13 @@ class acp_attachments
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$base_url = $this->u_action . "&$u_sort_param";
|
||||
phpbb_generate_template_pagination($base_url, 'pagination', $num_files, $attachments_per_page, $start);
|
||||
phpbb_generate_template_pagination($template, $base_url, 'pagination', $num_files, $attachments_per_page, $start);
|
||||
|
||||
$template->assign_vars(array(
|
||||
'TOTAL_FILES' => $num_files,
|
||||
'TOTAL_SIZE' => get_formatted_filesize($total_size),
|
||||
|
||||
'S_ON_PAGE' => on_page($base_url, $num_files, $attachments_per_page, $start),
|
||||
'S_ON_PAGE' => phpbb_on_page($template, $user, $base_url, $num_files, $attachments_per_page, $start),
|
||||
'S_LIMIT_DAYS' => $s_limit_days,
|
||||
'S_SORT_KEY' => $s_sort_key,
|
||||
'S_SORT_DIR' => $s_sort_dir)
|
||||
|
Reference in New Issue
Block a user