[FEATURE] felogin: Introduce new label for the legend marker
authorJigal van Hemert <jigal@xs4all.nl>
Mon, 6 Feb 2012 22:33:30 +0000 (23:33 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Mon, 13 Feb 2012 07:59:11 +0000 (08:59 +0100)
In felogin the optional label 'legend' is now used for
the legend marker. Fallback is the original label 'reset_password'.

Change-Id: I3f7911711ba877da764b810c24a5984bc2aa3af0
Resolves: #24185
Releases: 4.7
Reviewed-on: http://review.typo3.org/8873
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php

index 9455ff9..271d79a 100644 (file)
@@ -221,7 +221,7 @@ class tx_felogin_pi1 extends tslib_pibase {
                $markerArray['###BACKLINK_LOGIN###'] = $this->getPageLink($this->pi_getLL('ll_forgot_header_backToLogin', '', 1), array());
                $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('forgot_header', $this->conf['forgotHeader_stdWrap.']);
 
                $markerArray['###BACKLINK_LOGIN###'] = $this->getPageLink($this->pi_getLL('ll_forgot_header_backToLogin', '', 1), array());
                $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('forgot_header', $this->conf['forgotHeader_stdWrap.']);
 
-               $markerArray['###LEGEND###'] = $this->pi_getLL('reset_password', '', 1);
+               $markerArray['###LEGEND###'] = $this->pi_getLL('legend', $this->pi_getLL('reset_password', '', 1), 1);
                $markerArray['###ACTION_URI###'] = $this->getPageLink('', array($this->prefixId . '[forgot]'=>1), TRUE);
                $markerArray['###EMAIL_LABEL###'] = $this->pi_getLL('your_email', '', 1);
                $markerArray['###FORGOT_PASSWORD_ENTEREMAIL###'] = $this->pi_getLL('forgot_password_enterEmail', '', 1);
                $markerArray['###ACTION_URI###'] = $this->getPageLink('', array($this->prefixId . '[forgot]'=>1), TRUE);
                $markerArray['###EMAIL_LABEL###'] = $this->pi_getLL('your_email', '', 1);
                $markerArray['###FORGOT_PASSWORD_ENTEREMAIL###'] = $this->pi_getLL('forgot_password_enterEmail', '', 1);