Bug #20335 » 10951_r7462.diff
typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie) | ||
---|---|---|
}
|
||
|
||
// The preview flag will be set if a backend user is in an offline workspace
|
||
if (($GLOBALS['BE_USER']->user['workspace_preview'] || t3lib_div::_GP('ADMCMD_view') || $this->doWorkspacePreview()) && ($this->whichWorkspace()===-1 || $this->whichWorkspace()>0)) {
|
||
if (($GLOBALS['BE_USER']->user['workspace_preview'] || $this->doWorkspacePreview()) && ($this->whichWorkspace()===-1 || $this->whichWorkspace()>0)) {
|
||
$this->fePreview = 2; // Will show special preview message.
|
||
}
|
||
|
||
... | ... | |
|
||
// Initialize the page-select functions.
|
||
$this->sys_page = t3lib_div::makeInstance('t3lib_pageSelect');
|
||
$this->sys_page->versioningPreview = ($this->fePreview===2 || intval($this->workspacePreview) || t3lib_div::_GP('ADMCMD_view')) ? TRUE : FALSE;
|
||
$this->sys_page->versioningPreview = (intval($this->workspacePreview)) ? TRUE : FALSE;
|
||
$this->sys_page->versioningWorkspaceId = $this->whichWorkspace();
|
||
$this->sys_page->init($this->showHiddenPage);
|
||
|