1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 15:54:43 +02:00

Admin-ui type 'password' added. Password modification now possible via admin->users. Installed Media path issue corrected.

This commit is contained in:
CaMer0n
2012-07-18 03:47:28 +00:00
parent d8b956152e
commit 79224fe54d
4 changed files with 25 additions and 2 deletions

View File

@@ -2035,6 +2035,7 @@ class e_form
case 'url':
case 'email':
case 'text':
case 'password': // encrypts to md5 when saved.
$maxlength = vartrue($parms['maxlength'], 255);
unset($parms['maxlength']);
$ret = vartrue($parms['pre']).$this->text($key, $value, $maxlength, vartrue($parms['__options'])).vartrue($parms['post']);