#10493 fixed pagination in profiles
This commit is contained in:
parent
2b185b5754
commit
f9c3524be8
|
@ -816,7 +816,7 @@ foreach ($info as $user_id => $user_info) {
|
||||||
$toDoClass = 'filter_none';
|
$toDoClass = 'filter_none';
|
||||||
}
|
}
|
||||||
|
|
||||||
$data[6] = '<form method="POST" action="index.php?sec='.$sec.'&sec2=godmode/users/user_list&pure='.$pure.'" class="inline">';
|
$data[6] = '<form method="POST" action="index.php?sec='.$sec.'&sec2=godmode/users/user_list&pure='.$pure.'&offset='.$offset.'" class="inline">';
|
||||||
$data[6] .= html_print_input_hidden(
|
$data[6] .= html_print_input_hidden(
|
||||||
'id',
|
'id',
|
||||||
$user_info['id_user'],
|
$user_info['id_user'],
|
||||||
|
@ -874,7 +874,8 @@ foreach ($info as $user_id => $user_info) {
|
||||||
&& $user_info['id_user'] != $config['id_user']
|
&& $user_info['id_user'] != $config['id_user']
|
||||||
&& isset($user_info['not_delete']) === false
|
&& isset($user_info['not_delete']) === false
|
||||||
) {
|
) {
|
||||||
$data[6] .= '<form method="POST" action="index.php?sec='.$sec.'&sec2=godmode/users/user_list&pure='.$pure.'" class="inline">';
|
$offset_delete = ($offset >= count($info) - 1) ? ($offset - $config['block_size']) : $offset;
|
||||||
|
$data[6] .= '<form method="POST" action="index.php?sec='.$sec.'&sec2=godmode/users/user_list&pure='.$pure.'&offset='.$offset_delete.'" class="inline">';
|
||||||
$data[6] .= html_print_input_hidden(
|
$data[6] .= html_print_input_hidden(
|
||||||
'delete_user',
|
'delete_user',
|
||||||
$user_info['id_user'],
|
$user_info['id_user'],
|
||||||
|
|
Loading…
Reference in New Issue