[BUGFIX] Wrong stdWrap keys used in fe_login
authorGeorg Ringer <mail@ringerge.org>
Mon, 6 Jun 2011 17:18:01 +0000 (19:18 +0200)
committerGeorg Ringer <mail@ringerge.org>
Mon, 6 Jun 2011 17:52:45 +0000 (19:52 +0200)
logoutHeader_stdWrap and logoutMessage_stdWrap do exist, but are not
used.

Change-Id: I8f12b10ec8f4fd0165904a38d7be913b97242a8d
Resolves: #26758
Reviewed-on: http://review.typo3.org/2547
Reviewed-by: Markus Klein
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php

index d811db5..e3b70fc 100644 (file)
@@ -421,7 +421,7 @@ class tx_felogin_pi1 extends tslib_pibase {
         */
         protected function showLogin() {
                $subpart = $this->cObj->getSubpart($this->template, '###TEMPLATE_LOGIN###');
-               $subpartArray = $linkpartArray = array();
+               $subpartArray = $linkpartArray = $markerArray = array();
 
                $gpRedirectUrl = '';
 
@@ -458,8 +458,8 @@ class tx_felogin_pi1 extends tslib_pibase {
                } else {
                        if($this->logintype === 'logout') {
                                        // login form after logout
-                               $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('logout_header',$this->conf['welcomeHeader_stdWrap.']);
-                               $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('logout_message',$this->conf['welcomeMessage_stdWrap.']);
+                               $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('logout_header', $this->conf['logoutHeader_stdWrap.']);
+                               $markerArray['###STATUS_MESSAGE###'] = $this->getDisplayText('logout_message', $this->conf['logoutMessage_stdWrap.']);
                        } else {
                                        // login form
                                $markerArray['###STATUS_HEADER###'] = $this->getDisplayText('welcome_header',$this->conf['welcomeHeader_stdWrap.']);