Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Oliver Eglseder
lfeditor
Commits
fdac6bba
Commit
fdac6bba
authored
Jan 29, 2018
by
Torsten Oppermann
Browse files
[PATCH] [FEATURE] Make edit modes configurable
parent
becc832f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Classes/Controller/AbstractBackendController.php
View file @
fdac6bba
...
...
@@ -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'
]);
}
...
...
ext_conf_template.txt
View file @
fdac6bba
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment