Project

General

Profile

Bug #58148 ยป TyposcriptFrontendController.diff

Gerrit Mohrmann, 2014-05-10 13:19

View differences:

typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
$originalFrontendUser = $this->fe_user->user;
}
$this->showHiddenPage = (bool)$GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview', 'showHiddenPages');
$this->showHiddenRecords = (bool)$GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview', 'showHiddenRecords');
$this->showHiddenRecords = $GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview', 'showHiddenRecords');
// Simulate date
$simTime = $GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview', 'simulateDate');
if ($simTime) {
......
if ($this->determineIdIsHiddenPage()) {
// The preview flag is set only if the current page turns out to actually be hidden!
$this->fePreview = 1;
$this->showHiddenPage = TRUE;
$this->showHiddenPage = 1;
}
// For Live workspace: Check root line for proper connection to tree root (done because of possible preview of page / branch versions)
if (!$this->fePreview && $this->whichWorkspace() === 0) {
    (1-1/1)