Project

General

Profile

Bug #21162 » 15421.diff

Administrator Admin, 2010-08-11 10:56

View differences:

typo3/sysext/felogin/ext_typoscript_setup.txt (working copy)
# Allowed Referrer-Redirect-Domains:
domains =
# Show logout form direct after login
noSuccessMessageAfterLogin =
dateFormat = Y-m-d H:i
}
typo3/sysext/felogin/flexform.xml (working copy)
</config>
</TCEforms>
</showPermaLogin>
<noSuccessMessageAfterLogin>
<TCEforms>
<label>LLL:EXT:felogin/locallang_db.xml:tt_content.pi_flexform.show_logoutFormAfterLogin</label>
<config>
<default></default>
<type>check</type>
</config>
</TCEforms>
</noSuccessMessageAfterLogin>
<pages>
<TCEforms>
<exclude>1</exclude>
typo3/sysext/felogin/locallang_db.xml (working copy)
<label index="tt_content.pi_flexform.sheet_messages">Messages</label>
<label index="tt_content.pi_flexform.show_forgot_password">Show &quot;Forgot password?&quot; link:</label>
<label index="tt_content.pi_flexform.show_permalogin">Show &quot;Stay logged in&quot; checkbox (if switched on for the installation):</label>
<label index="tt_content.pi_flexform.show_logoutFormAfterLogin">Show logout form after successful login:</label>
<label index="tt_content.pi_flexform.groupSelectmode">FE group select mode:</label>
<label index="tt_content.pi_flexform.groupSelectmode_showAll">Show all</label>
<label index="tt_content.pi_flexform.groupSelectmode_showSelected">Show selected</label>
typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php (working copy)
}
}
}
// show logout form directly
if ($this->conf['noSuccessMessageAfterLogin']) {
return $this->showLogout();
}
} else {
// login error
$markerArray['###STATUS_HEADER###'] = $this->getDisplayText('error_header',$this->conf['errorHeader_stdWrap.']);
......
$flex['showPermaLogin'] = $this->flexFormValue('showPermaLogin', 'sDEF');
}
if ($this->flexFormValue('noSuccessMessageAfterLogin', 'sDEF')) {
$flex['noSuccessMessageAfterLogin'] = $this->flexFormValue('noSuccessMessageAfterLogin', 'sDEF');
}
if ($this->flexFormValue('pages', 'sDEF')) {
$flex['pages'] = $this->flexFormValue('pages', 'sDEF');
}
(1-1/2)