--- class.tx_newloginbox_pi1.php.orig 2006-10-04 10:36:58.000000000 +0200 +++ class.tx_newloginbox_pi1.php 2006-10-04 09:46:17.000000000 +0200 @@ -202,6 +206,7 @@ header('Location: '.t3lib_div::locationHeaderUrl($redirect_url)); exit; } + $action_pid = $GLOBALS['TSFE']->id; } else { $templateMarker = '###TEMPLATE_LOGOUT###'; @@ -210,6 +215,7 @@ if ($outH) $markerArray['###STATUS_HEADER###'] = $outH; if ($outC) $markerArray['###STATUS_MESSAGE###'] = $outC; + $action_pid = isset($this->conf['logoutPid']) ? $this->conf['logoutPid'] : $GLOBALS['TSFE']->id; } if ($this->conf['detailsPage']) { @@ -219,7 +225,7 @@ $wrapArray['###DETAILS_LINK###'] = '|'; } - $markerArray['###ACTION_URI###'] = htmlspecialchars($this->pi_getPageLink($GLOBALS['TSFE']->id, '_top')); + $markerArray['###ACTION_URI###'] = htmlspecialchars($this->pi_getPageLink($action_pid, '_top')); $markerArray['###LOGOUT_LABEL###'] = $this->pi_getLL('logout', '', 1); $markerArray['###NAME###'] = $GLOBALS['TSFE']->fe_user->user['name']; $markerArray['###STORAGE_PID###'] = intval($spid['_STORAGE_PID']);