dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec32e64
)
Use email input type on SpecialChangeEmail
author
robin
<robinp.1273@gmail.com>
Mon, 17 Sep 2012 00:38:20 +0000
(
02:38
+0200)
committer
robin
<robinp.1273@gmail.com>
Mon, 17 Sep 2012 00:38:20 +0000
(
02:38
+0200)
Change the input type for the e-mail input field to HTML5 'email' ('input' should have been 'text' anyway').
Change-Id: Idb1195e3f56b6b43d3b86d38747a4113d04053b5
includes/specials/SpecialChangeEmail.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialChangeEmail.php
b/includes/specials/SpecialChangeEmail.php
index
fc72610
..
0996de3
100644
(file)
--- a/
includes/specials/SpecialChangeEmail.php
+++ b/
includes/specials/SpecialChangeEmail.php
@@
-151,7
+151,7
@@
class SpecialChangeEmail extends UnlistedSpecialPage {
$items = array(
array( 'wpName', 'username', 'text', $user->getName() ),
array( 'wpOldEmail', 'changeemail-oldemail', 'text', $oldEmailText ),
- array( 'wpNewEmail', 'changeemail-newemail', '
input
', $this->mNewEmail ),
+ array( 'wpNewEmail', 'changeemail-newemail', '
email
', $this->mNewEmail ),
);
if ( $wgRequirePasswordforEmailChange ) {
$items[] = array( 'wpPassword', 'yourpassword', 'password', $this->mPassword );