diff --git a/main/admin/user_list.php b/main/admin/user_list.php index 207142eea5..23044745d6 100644 --- a/main/admin/user_list.php +++ b/main/admin/user_list.php @@ -1,4 +1,4 @@ -$_user['user_id']) // you cannot lock yourself out otherwise you could disable all the accounts including your own => everybody is locked out and nobody can change it anymore. - { + if ($action=='edit') { + $result = Display::return_icon($image.'.gif', get_lang('AccountExpired')); + }elseif ($row['0']<>$_user['user_id']) { // you cannot lock yourself out otherwise you could disable all the accounts including your own => everybody is locked out and nobody can change it anymore. $result = ''.Display::return_icon($image.'.gif', get_lang(ucfirst($action))).''; } return $result; diff --git a/main/img/expired.gif b/main/img/expired.gif new file mode 100644 index 0000000000..95aaa18d1e Binary files /dev/null and b/main/img/expired.gif differ