Révision 1fd3903e
Ajouté par jim-p il y a plus de 9 ans
etc/phpshellsessions/changepassword | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// Check if user is disabled |
53 | 53 |
if (is_account_disabled($username)) { |
54 |
echo gettext("Acount is disabled, would you like to re-enable? [y|n]") . ": "; |
|
54 |
echo gettext("Account is disabled, would you like to re-enable? [y|n]") . ": ";
|
|
55 | 55 |
if (strcasecmp(chop(fgets($fp)), "y") == 0) { |
56 | 56 |
unset($user['disabled']); |
57 | 57 |
} |
58 | 58 |
} |
59 | 59 |
// Check if user is expired |
60 | 60 |
if (is_account_expired($username)) { |
61 |
echo gettext("Acount is expired, would you like to clear the expiration date? [y|n]") . ": "; |
|
61 |
echo gettext("Account is expired, would you like to clear the expiration date? [y|n]") . ": ";
|
|
62 | 62 |
if (strcasecmp(chop(fgets($fp)), "y") == 0) { |
63 | 63 |
unset($user['expires']); |
64 | 64 |
} |
Formats disponibles : Unified diff
Fix typos