Project

General

Profile

Bug #20759 ยป 0011541_4-2.patch

Administrator Admin, 2009-07-15 17:26

View differences:

typo3/classes/class.workspaceselector.php (Arbeitskopie)
}
if($reloadBackend) {
$this->backendReference->addJavascript(
'top.location.href=\'backend.php\';'
);
header('Location: ' . t3lib_div::locationHeaderUrl(t3lib_BEfunc::getBackendScript()));
exit;
}
}
typo3/mod/user/ws/index.php (Arbeitskopie)
$changeWorkspace = t3lib_div::_GET('changeWorkspace');
if ($changeWorkspace != '') {
$BE_USER->setWorkspace($changeWorkspace);
$this->content .= $this->doc->wrapScriptTags('top.location.href="' . $BACK_PATH . t3lib_BEfunc::getBackendScript() . '";');
header('Location: ' . t3lib_div::locationHeaderUrl($BACK_PATH . t3lib_BEfunc::getBackendScript()));
exit;
} else {
// Starting page:
$this->content.=$this->doc->header($LANG->getLL('title'));
    (1-1/1)