diff options
author | Simon Rettberg | 2014-12-05 19:15:41 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-12-05 19:15:41 +0100 |
commit | 19ec20ab89bf938fe2dd1a99b62debc76e199425 (patch) | |
tree | fb084493aed19cc481b2276dff5063ac796c7a65 /inc/render.inc.php | |
parent | Use different icons for client log entries (incomplete) (diff) | |
download | slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.tar.gz slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.tar.xz slx-admin-19ec20ab89bf938fe2dd1a99b62debc76e199425.zip |
Add option to hide or show password fields
Diffstat (limited to 'inc/render.inc.php')
-rw-r--r-- | inc/render.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/render.inc.php b/inc/render.inc.php index fc64203e..5827dcf9 100644 --- a/inc/render.inc.php +++ b/inc/render.inc.php @@ -179,8 +179,10 @@ class Render // Always add token to parameter list if (is_array($params) || $params === false || is_null($params)) $params['token'] = Session::get('token'); - // Likewise, add currently selected language ( its two letter code) to params + // Likewise, add currently selected language (its two letter code) to params $params['current_lang'] = LANG; + // Add desired password field type + $params['password_type'] = Property::getPasswordFieldType(); // Return rendered html return self::$mustache->render($html, array_merge($dictionary,$params)); } |