diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-07-31 18:51:06 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-07-31 18:51:06 +0200 |
commit | 7b3674bd7a2b20df3ba37b32b7cc33f574a95dc5 (patch) | |
tree | 93cb96994653756cbd168a32ff085da568a98ada | |
parent | 71422fc898ea54876cd58c3bf5c4c0d9de032b52 (diff) | |
download | rpg-7b3674bd7a2b20df3ba37b32b7cc33f574a95dc5.tar.gz rpg-7b3674bd7a2b20df3ba37b32b7cc33f574a95dc5.tar.bz2 |
add html5 'email' type to the user manager forms
-rw-r--r-- | lib/plugins/usermanager/admin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/plugins/usermanager/admin.php b/lib/plugins/usermanager/admin.php index 445836a50..ca4c6a650 100644 --- a/lib/plugins/usermanager/admin.php +++ b/lib/plugins/usermanager/admin.php @@ -311,6 +311,9 @@ class admin_plugin_usermanager extends DokuWiki_Admin_Plugin { if($name == 'userpass'){ $fieldtype = 'password'; $autocomp = 'autocomplete="off"'; + }elseif($name == 'usermail'){ + $fieldtype = 'email'; + $autocomp = ''; }else{ $fieldtype = 'text'; $autocomp = ''; |