mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
7fb0acb562
|
@ -260,6 +260,7 @@
|
|||
- color category (use first 6 chars of md5(category name) as hex color)
|
||||
- create missing preview images in category or attribute manager
|
||||
- support README of extension in different languages
|
||||
- do not force password change if in substitute user mode
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.29
|
||||
|
|
|
@ -307,7 +307,7 @@ $(document).ready( function() {
|
|||
if($passwordexpiration > 0 && (!$currUser || !$currUser->isAdmin())) {
|
||||
$options = array();
|
||||
if($currUser)
|
||||
$options[] = array('', getMLText("keep"));
|
||||
$options[] = array('', getMLText("keep").($currUser->getPwdExpiration() ? ' ('.getLongReadableDate($currUser->getPwdExpiration()).')' : ''));
|
||||
$options[] = array('now', getMLText('now'));
|
||||
$options[] = array(date('Y-m-d H:i:s', time()+$passwordexpiration*86400), getMLText("according_settings"));
|
||||
$options[] = array('never', getMLText("never"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user