Project

General

Profile

Bug #18936 ยป felogin_logout_redirect.diff

Administrator Admin, 2008-08-25 16:12

View differences:

typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php (working copy)
$markerArray['###STORAGE_PID###'] = $this->spid;
$markerArray['###USERNAME###'] = htmlspecialchars($GLOBALS['TSFE']->fe_user->user['username']);
$markerArray['###USERNAME_LABEL###'] = $this->pi_getLL('username', '', 1);
if ($this->redirectUrl) {
// use redirectUrl for action tag because of possible access restricted pages
$markerArray['###ACTION_URI###'] = $this->redirectUrl;
$this->redirectUrl = '';
}
return $this->cObj->substituteMarkerArrayCached($subpart, $markerArray, $subpartArray, $linkpartArray);
}
......
}
break;
}
} elseif ($this->logintype === 'logout') { // after logout
} elseif ($this->logintype === 'logout' || !$this->logintype) { // after logout
// Hook for general actions after after logout has been confirmed
if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['logout_confirmed']) {
if ($this->logintype === 'logout' && $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['logout_confirmed']) {
$_params = array();
foreach($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['logout_confirmed'] as $_funcRef) {
if ($_funcRef) {
    (1-1/1)