10320-Confirm delete user
This commit is contained in:
parent
871a8f15c5
commit
a3ed2b1f6b
|
@ -970,7 +970,7 @@ foreach ($info as $user_id => $user_info) {
|
|||
*/
|
||||
$userListActionButtons[] = html_print_menu_button(
|
||||
[
|
||||
'href' => ui_get_full_url(
|
||||
'href' => ui_get_full_url(
|
||||
sprintf(
|
||||
'index.php?sec=%s&sec2=godmode/users/user_list&user_del=1&pure=%s&delete_user=%s',
|
||||
$sec,
|
||||
|
@ -978,8 +978,9 @@ foreach ($info as $user_id => $user_info) {
|
|||
$user_info['id_user']
|
||||
)
|
||||
),
|
||||
'image' => 'images/delete.svg',
|
||||
'title' => __('Delete'),
|
||||
'image' => 'images/delete.svg',
|
||||
'title' => __('Delete'),
|
||||
'onClick' => 'if (!confirm(\''.__('Are you sure?').'\')) return false;',
|
||||
],
|
||||
true
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue