summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2013-07-31 18:51:06 +0200
committerChristopher Smith <chris@jalakai.co.uk>2013-07-31 18:51:06 +0200
commit7b3674bd7a2b20df3ba37b32b7cc33f574a95dc5 (patch)
tree93cb96994653756cbd168a32ff085da568a98ada /lib
parent71422fc898ea54876cd58c3bf5c4c0d9de032b52 (diff)
downloadrpg-7b3674bd7a2b20df3ba37b32b7cc33f574a95dc5.tar.gz
rpg-7b3674bd7a2b20df3ba37b32b7cc33f574a95dc5.tar.bz2
add html5 'email' type to the user manager forms
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/usermanager/admin.php3
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 = '';