Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2023-03-29 20:50:19 +02:00
commit 7fb0acb562
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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"));