From d08403d8555f19c440607e515f6eead9c347ce7f Mon Sep 17 00:00:00 2001 From: Oliver Hader Date: Tue, 10 May 2011 12:53:49 +0200 Subject: [PATCH] [TASK] Reapply direct changes of TYPO3 Core Commits 59900b6682cc043d7541b3e26380cb3dd843d14b..50cbf2640caad79144d3d9c2d511030a78c7cc9c Change-Id: I2171bcb0997d69f99d52c899b3dda91da90ebfeb Resolves: #26728 --- .../WorkspaceSelectorToolbarItem.php | 12 ++++++------ .../Classes/Controller/PreviewController.php | 18 +++++++++--------- .../Classes/Controller/ReviewController.php | 12 ++++++------ .../Classes/ExtDirect/ActionHandler.php | 2 +- .../Classes/ExtDirect/MassActionHandler.php | 12 ++++++------ .../workspaces/Classes/ExtDirect/Server.php | 2 +- .../Classes/ExtDirect/ToolbarMenu.php | 3 ++- .../Classes/Reports/StatusProvider.php | 2 +- .../workspaces/Classes/Service/Fehooks.php | 1 + .../workspaces/Classes/Service/GridData.php | 2 +- .../workspaces/Classes/Service/Stages.php | 6 +++--- .../workspaces/Classes/Service/Workspaces.php | 14 +++++++------- typo3/sysext/workspaces/ext_tables.php | 6 +++--- 13 files changed, 47 insertions(+), 45 deletions(-) diff --git a/typo3/sysext/workspaces/Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php b/typo3/sysext/workspaces/Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php index d58b40c9246e..25fb3e98e1f5 100644 --- a/typo3/sysext/workspaces/Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php +++ b/typo3/sysext/workspaces/Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php @@ -56,7 +56,7 @@ class WorkspaceSelectorToolbarItem implements backend_toolbarItem { * * @param TYPO3backend TYPO3 backend object reference */ - public function __construct(TYPO3backend &$backendReference = null) { + public function __construct(TYPO3backend &$backendReference = NULL) { $this->backendReference = $backendReference; $this->changeWorkspace = t3lib_div::_GP('changeWorkspace'); $this->changeWorkspacePreview = t3lib_div::_GP('changeWorkspacePreview'); @@ -69,7 +69,7 @@ class WorkspaceSelectorToolbarItem implements backend_toolbarItem { * checks whether the user has access to this toolbar item * * @see typo3/alt_shortcut.php - * @return boolean true if user has access, false if not + * @return boolean TRUE if user has access, FALSE if not */ public function checkAccess() { if (t3lib_extMgm::isLoaded('workspaces')) { @@ -92,7 +92,7 @@ class WorkspaceSelectorToolbarItem implements backend_toolbarItem { * @return string workspace selector as HTML select */ public function render() { - $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.workspace', true); + $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.workspace', TRUE); $this->addJavascriptToBackend(); $availableWorkspaces = tx_Workspaces_Service_Workspaces::getAvailableWorkspaces(); $workspaceMenu = array(); @@ -124,7 +124,7 @@ class WorkspaceSelectorToolbarItem implements backend_toolbarItem { } } else { $workspaceMenu[] = '
  • ' . $stateUncheckedIcon . ' ' . - $GLOBALS['LANG']->getLL('bookmark_noWSfound', true) . + $GLOBALS['LANG']->getLL('bookmark_noWSfound', TRUE) . '
  • '; } @@ -132,7 +132,7 @@ class WorkspaceSelectorToolbarItem implements backend_toolbarItem { // go to workspace module link $workspaceMenu[] = '
  • ' . $stateUncheckedIcon . ' ' . '' . - ' '. $GLOBALS['LANG']->getLL('bookmark_workspace', true) . '
  • '; + ' '. $GLOBALS['LANG']->getLL('bookmark_workspace', TRUE) . ''; } $workspaceMenu[] = ''; @@ -168,4 +168,4 @@ if(!(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX)) { if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php'])) { include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php']); } -?> +?> \ No newline at end of file diff --git a/typo3/sysext/workspaces/Classes/Controller/PreviewController.php b/typo3/sysext/workspaces/Classes/Controller/PreviewController.php index c304ca38c64f..2acd2110d764 100644 --- a/typo3/sysext/workspaces/Classes/Controller/PreviewController.php +++ b/typo3/sysext/workspaces/Classes/Controller/PreviewController.php @@ -107,15 +107,15 @@ class Tx_Workspaces_Controller_PreviewController extends Tx_Workspaces_Controlle $this->view->assign('backendDomain', t3lib_div::getIndpEnv('TYPO3_HOST_ONLY')); $GLOBALS['BE_USER']->setAndSaveSessionData('workspaces.backend_domain', t3lib_div::getIndpEnv('TYPO3_HOST_ONLY')); $this->pageRenderer->addJsInlineCode("workspaces.preview.lll" , "TYPO3.LLL.Workspaces = { - visualPreview: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.visualPreview', true) . "', - listView: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.listView', true) . "', - livePreview: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.livePreview', true) . "', - livePreviewDetail: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.livePreviewDetail', true) . "', - workspacePreview: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.workspacePreview', true) . "', - workspacePreviewDetail: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.workspacePreviewDetail', true) . "', - modeSlider: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.modeSlider', true) . "', - modeVbox: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.modeVbox', true) . "', - modeHbox: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.modeHbox', true) . "' + visualPreview: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.visualPreview', TRUE) . "', + listView: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.listView', TRUE) . "', + livePreview: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.livePreview', TRUE) . "', + livePreviewDetail: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.livePreviewDetail', TRUE) . "', + workspacePreview: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.workspacePreview', TRUE) . "', + workspacePreviewDetail: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.workspacePreviewDetail', TRUE) . "', + modeSlider: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.modeSlider', TRUE) . "', + modeVbox: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.modeVbox', TRUE) . "', + modeHbox: '" . $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:preview.modeHbox', TRUE) . "' };\n"); } diff --git a/typo3/sysext/workspaces/Classes/Controller/ReviewController.php b/typo3/sysext/workspaces/Classes/Controller/ReviewController.php index 1e2646c453ff..f0b7a7aa3c32 100644 --- a/typo3/sysext/workspaces/Classes/Controller/ReviewController.php +++ b/typo3/sysext/workspaces/Classes/Controller/ReviewController.php @@ -45,7 +45,7 @@ class Tx_Workspaces_Controller_ReviewController extends Tx_Workspaces_Controller $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(); @@ -81,8 +81,8 @@ class Tx_Workspaces_Controller_ReviewController extends Tx_Workspaces_Controller } 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); @@ -105,12 +105,12 @@ class Tx_Workspaces_Controller_ReviewController extends Tx_Workspaces_Controller $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'); diff --git a/typo3/sysext/workspaces/Classes/ExtDirect/ActionHandler.php b/typo3/sysext/workspaces/Classes/ExtDirect/ActionHandler.php index e348d0c1c97e..4a730db5c002 100644 --- a/typo3/sysext/workspaces/Classes/ExtDirect/ActionHandler.php +++ b/typo3/sysext/workspaces/Classes/ExtDirect/ActionHandler.php @@ -425,7 +425,7 @@ class tx_Workspaces_ExtDirect_ActionHandler extends tx_Workspaces_ExtDirect_Abst 'itemCls' => 'x-check-group-alt', 'columns' => 1, 'style' => 'max-height: 200px', - 'autoScroll' => true, + 'autoScroll' => TRUE, 'items' => array( $this->getReceipientsOfStage($nextStageId) ) diff --git a/typo3/sysext/workspaces/Classes/ExtDirect/MassActionHandler.php b/typo3/sysext/workspaces/Classes/ExtDirect/MassActionHandler.php index f78a97701cb2..186500b095db 100644 --- a/typo3/sysext/workspaces/Classes/ExtDirect/MassActionHandler.php +++ b/typo3/sysext/workspaces/Classes/ExtDirect/MassActionHandler.php @@ -86,10 +86,10 @@ class tx_Workspaces_ExtDirect_MassActionHandler extends tx_Workspaces_ExtDirect_ */ public function publishWorkspace(stdclass $parameters) { $result = array( - 'init' => false, + 'init' => FALSE, 'total' => 0, 'processed' => 0, - 'error' => false + 'error' => FALSE ); try { @@ -114,10 +114,10 @@ class tx_Workspaces_ExtDirect_MassActionHandler extends tx_Workspaces_ExtDirect_ */ public function flushWorkspace(stdclass $parameters) { $result = array( - 'init' => false, + 'init' => FALSE, 'total' => 0, 'processed' => 0, - 'error' => false + 'error' => FALSE ); try { @@ -206,7 +206,7 @@ class tx_Workspaces_ExtDirect_MassActionHandler extends tx_Workspaces_ExtDirect_ if ($numRecs == 0) { // All done - $GLOBALS['BE_USER']->setAndSaveSessionData('workspaceMassAction', null); + $GLOBALS['BE_USER']->setAndSaveSessionData('workspaceMassAction', NULL); $GLOBALS['BE_USER']->setAndSaveSessionData('workspaceMassAction_total', 0); } else { // Execute the commands: @@ -239,4 +239,4 @@ class tx_Workspaces_ExtDirect_MassActionHandler extends tx_Workspaces_ExtDirect_ if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/ExtDirect/MassActionHandler.php'])) { include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/ExtDirect/MassActionHandler.php']); } -?> +?> \ No newline at end of file diff --git a/typo3/sysext/workspaces/Classes/ExtDirect/Server.php b/typo3/sysext/workspaces/Classes/ExtDirect/Server.php index 75c59569f8e7..a08792bd470b 100644 --- a/typo3/sysext/workspaces/Classes/ExtDirect/Server.php +++ b/typo3/sysext/workspaces/Classes/ExtDirect/Server.php @@ -204,4 +204,4 @@ class tx_Workspaces_ExtDirect_Server extends tx_Workspaces_ExtDirect_AbstractHan if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/ExtDirect/Server.php'])) { include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/ExtDirect/Server.php']); } -?> +?> \ No newline at end of file diff --git a/typo3/sysext/workspaces/Classes/ExtDirect/ToolbarMenu.php b/typo3/sysext/workspaces/Classes/ExtDirect/ToolbarMenu.php index 5d3d72159876..cad55e01f1c2 100644 --- a/typo3/sysext/workspaces/Classes/ExtDirect/ToolbarMenu.php +++ b/typo3/sysext/workspaces/Classes/ExtDirect/ToolbarMenu.php @@ -61,4 +61,5 @@ class tx_Workspaces_ExtDirect_ToolbarMenu { if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/ExtDirect/ToolbarMenu.php'])) { include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/ExtDirect/ToolbarMenu.php']); -} \ No newline at end of file +} +?> \ No newline at end of file diff --git a/typo3/sysext/workspaces/Classes/Reports/StatusProvider.php b/typo3/sysext/workspaces/Classes/Reports/StatusProvider.php index 4784f23368bc..b226922e7b35 100644 --- a/typo3/sysext/workspaces/Classes/Reports/StatusProvider.php +++ b/typo3/sysext/workspaces/Classes/Reports/StatusProvider.php @@ -85,4 +85,4 @@ if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLA include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/Reports/StatusProvider.php']); } -?> +?> \ No newline at end of file diff --git a/typo3/sysext/workspaces/Classes/Service/Fehooks.php b/typo3/sysext/workspaces/Classes/Service/Fehooks.php index 7bc34967d4a1..59dbcd80a6e0 100644 --- a/typo3/sysext/workspaces/Classes/Service/Fehooks.php +++ b/typo3/sysext/workspaces/Classes/Service/Fehooks.php @@ -55,3 +55,4 @@ class tx_Workspaces_Service_Fehooks { } } +?> \ No newline at end of file diff --git a/typo3/sysext/workspaces/Classes/Service/GridData.php b/typo3/sysext/workspaces/Classes/Service/GridData.php index 6226326759c4..0d18f81948e1 100644 --- a/typo3/sysext/workspaces/Classes/Service/GridData.php +++ b/typo3/sysext/workspaces/Classes/Service/GridData.php @@ -137,7 +137,7 @@ class tx_Workspaces_Service_GridData { if ($swapAccess && $swapStage != 0 && $versionRecord['t3ver_stage'] == $swapStage) { $versionArray['allowedAction_swap'] = $stagesObj->isNextStageAllowedForUser($swapStage); - } else if ($swapAccess && $swapStage == 0) { + } elseif ($swapAccess && $swapStage == 0) { $versionArray['allowedAction_swap'] = TRUE; } else { $versionArray['allowedAction_swap'] = FALSE; diff --git a/typo3/sysext/workspaces/Classes/Service/Stages.php b/typo3/sysext/workspaces/Classes/Service/Stages.php index 70d653974391..c5d5aae5aeb2 100644 --- a/typo3/sysext/workspaces/Classes/Service/Stages.php +++ b/typo3/sysext/workspaces/Classes/Service/Stages.php @@ -169,7 +169,7 @@ class Tx_Workspaces_Service_Stages { foreach ($workspaceStageRecs as $workspaceStageRec) { if ($this->isStageAllowedForUser($workspaceStageRec['uid'])) { $stagesForWSUserData[$workspaceStageRec['uid']] = $workspaceStageRec; - } else if ($workspaceStageRec['uid'] == self::STAGE_PUBLISH_EXECUTE_ID && $GLOBALS['BE_USER']->workspacePublishAccess($this->getWorkspaceId())) { + } elseif ($workspaceStageRec['uid'] == self::STAGE_PUBLISH_EXECUTE_ID && $GLOBALS['BE_USER']->workspacePublishAccess($this->getWorkspaceId())) { $allowedStages[] = $workspaceStageRec; $stagesForWSUserData[$workspaceStageRec['uid']] = $workspaceStageRec; } @@ -195,7 +195,7 @@ class Tx_Workspaces_Service_Stages { /** * Check if given workspace has custom staging activated * - * @return bool true or false + * @return bool TRUE or FALSE */ public function checkCustomStagingForWS() { $workspaceRec = t3lib_BEfunc::getRecord('sys_workspace', $this->getWorkspaceId()); @@ -225,7 +225,7 @@ class Tx_Workspaces_Service_Stages { default: $stageTitle = $this->getPropertyOfCurrentWorkspaceStage($ver_stage, 'title'); - if ($stageTitle == null) { + if ($stageTitle == NULL) { $stageTitle = $GLOBALS['LANG']->sL('LLL:EXT:workspaces/Resources/Private/Language/locallang.xml:error.getStageTitle.stageNotFound'); } break; diff --git a/typo3/sysext/workspaces/Classes/Service/Workspaces.php b/typo3/sysext/workspaces/Classes/Service/Workspaces.php index 3a18e3b6d185..c37d0eafcb68 100644 --- a/typo3/sysext/workspaces/Classes/Service/Workspaces.php +++ b/typo3/sysext/workspaces/Classes/Service/Workspaces.php @@ -141,7 +141,7 @@ class tx_Workspaces_Service_Workspaces { * Building tcemain CMD-array for releasing all versions in a workspace. * * @param integer Real workspace ID, cannot be ONLINE (zero). - * @param boolean Run Flush (true) or ClearWSID (false) command + * @param boolean Run Flush (TRUE) or ClearWSID (FALSE) command * @param integer $pageId: ... * @return array Command array for tcemain */ @@ -190,7 +190,7 @@ class tx_Workspaces_Service_Workspaces { // Contains either nothing or a list with live-uids if ($pageId != -1 && $recursionLevel > 0) { $pageList = $this->getTreeUids($pageId, $wsid, $recursionLevel); - } else if ($pageId != -1) { + } elseif ($pageId != -1) { $pageList = $pageId; } else { $pageList = ''; @@ -243,7 +243,7 @@ class tx_Workspaces_Service_Workspaces { */ if ($wsid > self::SELECT_ALL_WORKSPACES) { $where .= ' AND A.t3ver_wsid=' . $wsid; - } else if ($wsid === self::SELECT_ALL_WORKSPACES) { + } elseif ($wsid === self::SELECT_ALL_WORKSPACES) { $where .= ' AND A.t3ver_wsid!=0'; } @@ -298,7 +298,7 @@ class tx_Workspaces_Service_Workspaces { if ($wsid > self::SELECT_ALL_WORKSPACES) { $where .= ' AND A.t3ver_wsid=' . $wsid . ' AND C.t3ver_wsid=' . $wsid; - } else if ($wsid === self::SELECT_ALL_WORKSPACES) { + } elseif ($wsid === self::SELECT_ALL_WORKSPACES) { $where .= ' AND A.t3ver_wsid!=0 AND C.t3ver_wsid!=0 '; } @@ -504,7 +504,7 @@ class tx_Workspaces_Service_Workspaces { * @param $record * @return string */ - public static function viewSingleRecord($table, $uid, $record=null) { + public static function viewSingleRecord($table, $uid, $record=NULL) { $viewUrl = ''; if ($table == 'pages') { $viewUrl = t3lib_BEfunc::viewOnClick(t3lib_BEfunc::getLiveVersionIdOfRecord('pages', $uid)); @@ -515,7 +515,7 @@ class tx_Workspaces_Service_Workspaces { if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['workspaces']['viewSingleRecord'])) { $_params = array('table' => $table, 'uid' => $uid, 'record' => $record); $_funcRef = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['workspaces']['viewSingleRecord']; - $viewUrl = t3lib_div::callUserFunction($_funcRef, $_params, null); + $viewUrl = t3lib_div::callUserFunction($_funcRef, $_params, NULL); } } return $viewUrl; @@ -547,4 +547,4 @@ class tx_Workspaces_Service_Workspaces { if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/Service/Workspaces.php'])) { include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/Service/Workspaces.php']); } -?> +?> \ No newline at end of file diff --git a/typo3/sysext/workspaces/ext_tables.php b/typo3/sysext/workspaces/ext_tables.php index 55073e37a92a..849f6d622d30 100644 --- a/typo3/sysext/workspaces/ext_tables.php +++ b/typo3/sysext/workspaces/ext_tables.php @@ -53,8 +53,8 @@ $TCA['sys_workspace'] = array( 'default' => 'mimetypes-x-sys_workspace' ), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', - 'versioningWS_alwaysAllowLiveEdit' => true, - 'dividers2tabs' => true + 'versioningWS_alwaysAllowLiveEdit' => TRUE, + 'dividers2tabs' => TRUE ) ); @@ -78,7 +78,7 @@ $TCA['sys_workspace_stage'] = array( 'default' => 'mimetypes-x-sys_workspace' ), 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', - 'versioningWS_alwaysAllowLiveEdit' => true, + 'versioningWS_alwaysAllowLiveEdit' => TRUE, ) ); // todo move icons to Core sprite or keep them here and remove the todo note ;) -- 2.20.1