summaryrefslogtreecommitdiff
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-08-01 11:11:53 +0200
commita588ab29f86cc2971ec131bec02e2810d6409a55 (patch)
treeaf76649bcc614698e3507d1529149b4a9618a04d
parent4eb3462fac9bb0d739d48a98bba6a21c6a727e3b (diff)
downloadrpg-a588ab29f86cc2971ec131bec02e2810d6409a55.tar.gz
rpg-a588ab29f86cc2971ec131bec02e2810d6409a55.tar.bz2
add html5 'email' type to the user manager forms
-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 = '';