From: robin Date: Mon, 17 Sep 2012 00:38:20 +0000 (+0200) Subject: Use email input type on SpecialChangeEmail X-Git-Tag: 1.31.0-rc.0~22356^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=1fce53ad0bc01297e700b9cc3f65d309d9916029;p=lhc%2Fweb%2Fwiklou.git Use email input type on SpecialChangeEmail Change the input type for the e-mail input field to HTML5 'email' ('input' should have been 'text' anyway'). Change-Id: Idb1195e3f56b6b43d3b86d38747a4113d04053b5 --- diff --git a/includes/specials/SpecialChangeEmail.php b/includes/specials/SpecialChangeEmail.php index fc72610602..0996de34c4 100644 --- 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 );