[TASK] Use HTML5 input type "email" in user settings 87/33587/2
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 27 Oct 2014 21:08:48 +0000 (22:08 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 27 Oct 2014 21:41:59 +0000 (22:41 +0100)
The field "email" should use the input type "email".

Resolves: #62504
Releases: master
Change-Id: I1f443eac86508dd914a75c4a1ab7d0454c043f66
Reviewed-on: http://review.typo3.org/33587
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php
typo3/sysext/setup/ext_tables.php

index 6c8184d..4664757 100644 (file)
@@ -474,6 +474,7 @@ class SetupModuleController {
 
                        switch ($type) {
                                case 'text':
+                               case 'email':
                                case 'password': {
                                        $noAutocomplete = '';
                                        if ($type === 'password') {
index 64afbd7..a2bbf0c 100644 (file)
@@ -25,7 +25,7 @@ if (TYPO3_MODE === 'BE') {
                                'csh' => 'beUser_realName'
                        ),
                        'email' => array(
-                               'type' => 'text',
+                               'type' => 'email',
                                'label' => 'LLL:EXT:setup/mod/locallang.xlf:beUser_email',
                                'table' => 'be_users',
                                'csh' => 'beUser_email'