[BUGFIX] Validation problem in forgot and change password form
authorJigal van Hemert <jigal@xs4all.nl>
Sat, 24 Dec 2011 20:15:13 +0000 (21:15 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 11 Apr 2012 11:15:16 +0000 (13:15 +0200)
Label for attribute is invalid for XHTML. Changing it to a hard coded
value solves the problem. In case custom styling or Javascript breaks
the whole template can be replaced.

Change-Id: I41008125706f51104ff5ddf16786f0d7a71cf2af
Fixes: #18901
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/7514
Reviewed-by: Oliver Klee
Reviewed-by: Sebastian Michaelsen
Tested-by: Sebastian Michaelsen
Reviewed-by: Andy Grunwald
Tested-by: Andy Grunwald
Reviewed-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/felogin/template.html

index c4a00b7..0fed244 100644 (file)
        <fieldset>
        <legend>###LEGEND###</legend>
        <div>
-               <label for="###FORGOT_EMAIL###">###DATA_LABEL###</label>
-               <input type="text" name="###FORGOT_EMAIL###" id="###FORGOT_EMAIL###" />
+               <label for="tx_felogin_pi1-forgot-email">###DATA_LABEL###</label>
+               <input type="text" name="###FORGOT_EMAIL###" id="tx_felogin_pi1-forgot-email" />
        </div>
        <div>
                <input type="submit" name="submit" value="###SEND_PASSWORD###" />
        <fieldset>
                <legend>###LEGEND###</legend>
                <div>
-                       <label for="###NEWPASSWORD1###">###NEWPASSWORD1_LABEL###</label>
-                       <input type="password" name="###NEWPASSWORD1###" id="###NEWPASSWORD1###" />
+                       <label for="tx_felogin_pi1-newpassword1">###NEWPASSWORD1_LABEL###</label>
+                       <input type="password" name="###NEWPASSWORD1###" id="tx_felogin_pi1-newpassword1" />
                </div>
                <div>
-                       <label for="###NEWPASSWORD2###">###NEWPASSWORD2_LABEL###</label>
-                       <input type="password" name="###NEWPASSWORD2###" id="###NEWPASSWORD2###" />
+                       <label for="tx_felogin_pi1-newpassword2">###NEWPASSWORD2_LABEL###</label>
+                       <input type="password" name="###NEWPASSWORD2###" id="tx_felogin_pi1-newpassword2" />
                </div>
                <div>
                        <input type="submit" name="tx_felogin_pi1[changepasswordsubmit]" value="###SEND_PASSWORD###" />
 <!--###TEMPLATE_CHANGEPASSWORD###--> 
 
 
-