Commit fdac6bba authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[PATCH] [FEATURE] Make edit modes configurable

parent becc832f
......@@ -182,7 +182,7 @@ abstract class AbstractBackendController extends AbstractController {
'override' => LocalizationUtility::translate('select.editingMode.override', 'lfeditor'),
);
$backendConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['lfeditor'], NULL);
$backendConfiguration = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['lfeditor'], []);
if ((int)$backendConfiguration['editModeExtension'] === 0) {
unset($editingModeOptions['extension']);
}
......
......@@ -14,3 +14,12 @@ extIgnore = /^(CVS|.svn|.git|csh_)/
# cat=basic; type=boolean; label=Change XLF date: If set to TRUE, LFEditor will change the date in XLF files on each change.
changeXlfDate = 1
# cat=basic; type=boolean; label=Allow edit mode "extension"
editModeExtension = 1
# cat=basic; type=boolean; label=Allow edit mode "l10n"
editModeL10n = 1
# cat=basic; type=boolean; label=Allow edit mode "override"
editModeOverride = 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment