$performWorkspaceSwitch = FALSE;
if (!$GLOBALS['BE_USER']->isAdmin()) {
- $wsCur = array($activeWorkspace => true);
+ $wsCur = array($activeWorkspace => TRUE);
$wsList = array_intersect_key($wsList, $wsCur);
} else {
$wsList = $wsService->getAvailableWorkspaces();
} else {
$wsService = t3lib_div::makeInstance('tx_Workspaces_Service_Workspaces');
$this->view->assign('pageUid', t3lib_div::_GP('id'));
- $this->view->assign('showGrid', true);
- $this->view->assign('showLegend', true);
+ $this->view->assign('showGrid', TRUE);
+ $this->view->assign('showLegend', TRUE);
$this->view->assign('showAllWorkspaceTab', $GLOBALS['BE_USER']->isAdmin());
$this->view->assign('workspaceList', $wsService->getAvailableWorkspaces());
$this->view->assign('activeWorkspaceUid', tx_Workspaces_Service_Workspaces::SELECT_ALL_WORKSPACES);
$wsList = $wsService->getAvailableWorkspaces();
$activeWorkspace = $GLOBALS['BE_USER']->workspace;
- $wsCur = array($activeWorkspace => true);
+ $wsCur = array($activeWorkspace => TRUE);
$wsList = array_intersect_key($wsList, $wsCur);
$this->view->assign('pageUid', t3lib_div::_GP('id'));
- $this->view->assign('showGrid', true);
- $this->view->assign('showAllWorkspaceTab', false);
+ $this->view->assign('showGrid', TRUE);
+ $this->view->assign('showAllWorkspaceTab', FALSE);
$this->view->assign('workspaceList', $wsList);
$this->view->assign('backendDomain', t3lib_div::getIndpEnv('TYPO3_HOST_ONLY'));
$this->pageRenderer->addInlineSetting('Workspaces', 'singleView', '1');