Revision 4c40e2a7
Added by Phil Davis over 10 years ago
usr/local/www/system_usermanager.php | ||
---|---|---|
261 | 261 |
} |
262 | 262 |
|
263 | 263 |
/* |
264 |
* Check for a valid expirationdate if one is set at all (valid means, |
|
264 |
* Check for a valid expiration date if one is set at all (valid means,
|
|
265 | 265 |
* DateTime puts out a time stamp so any DateTime compatible time |
266 | 266 |
* format may be used. to keep it simple for the enduser, we only |
267 | 267 |
* claim to accept MM/DD/YYYY as inputs. Advanced users may use inputs |
268 | 268 |
* like "+1 day", which will be converted to MM/DD/YYYY based on "now". |
269 |
* Otherwhise such an entry would lead to an invalid expiration data.
|
|
269 |
* Otherwise such an entry would lead to an invalid expiration data. |
|
270 | 270 |
*/ |
271 | 271 |
if ($_POST['expires']){ |
272 | 272 |
try { |
... | ... | |
304 | 304 |
local_user_del($userent); |
305 | 305 |
} |
306 | 306 |
|
307 |
/* the user password was mofified */
|
|
307 |
/* the user password was modified */
|
|
308 | 308 |
if ($_POST['passwordfld1']) |
309 | 309 |
local_user_set_password($userent, $_POST['passwordfld1']); |
310 | 310 |
|
Also available in: Unified diff
Unimportant typos in user and group manager
that do not effect anything.