1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

forgot something

git-svn-id: file:///svn/phpbb/trunk@8240 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2007-11-17 12:18:42 +00:00
parent 9b751a330d
commit 056d24a0bd

View File

@ -143,7 +143,7 @@ class acp_inactive
'action' => $action, 'action' => $action,
'mark' => $mark, 'mark' => $mark,
'submit' => 1, 'submit' => 1,
'start' => ($start - sizeof($user_affected) < 0) ? 0 : $start - sizeof($user_affected), 'start' => $start,
); );
confirm_box(false, $user->lang['CONFIRM_OPERATION'], build_hidden_fields($s_hidden_fields)); confirm_box(false, $user->lang['CONFIRM_OPERATION'], build_hidden_fields($s_hidden_fields));
} }
@ -217,7 +217,7 @@ class acp_inactive
$inactive = array(); $inactive = array();
$inactive_count = 0; $inactive_count = 0;
view_inactive_users($inactive, $inactive_count, $config['topics_per_page'], $start, $sql_where, $sql_sort); $start = view_inactive_users($inactive, $inactive_count, $config['topics_per_page'], $start, $sql_where, $sql_sort);
foreach ($inactive as $row) foreach ($inactive as $row)
{ {
@ -248,7 +248,7 @@ class acp_inactive
'S_ON_PAGE' => on_page($inactive_count, $config['topics_per_page'], $start), 'S_ON_PAGE' => on_page($inactive_count, $config['topics_per_page'], $start),
'PAGINATION' => generate_pagination($this->u_action . "&amp;$u_sort_param", $inactive_count, $config['topics_per_page'], $start, true), 'PAGINATION' => generate_pagination($this->u_action . "&amp;$u_sort_param", $inactive_count, $config['topics_per_page'], $start, true),
'U_ACTION' => $this->u_action, 'U_ACTION' => $this->u_action . '&amp;start=' . $start,
)); ));
$this->tpl_name = 'acp_inactive'; $this->tpl_name = 'acp_inactive';