Commit 3b6cc9a4 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[TASK] cleanup

parent 007789c9
<?php <?php
if (!defined('TYPO3_MODE')) { if (!defined('TYPO3_MODE')) {
die('Access denied!!!'); die('Access denied!!!');
} }
if (TYPO3_MODE == 'BE') { if (TYPO3_MODE == 'BE') {
TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule( TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'SGalinski.lfeditor', 'SGalinski.lfeditor',
'user', 'user',
'LFEditor', 'LFEditor',
'', '',
array( array(
'General' => 'index, general, changeSelection, generalSave, goToEditFile, switchInsertMode, 'General' => 'index, general, changeSelection, generalSave, goToEditFile, switchInsertMode,
switchEditingMode, refreshLanguageFileList', switchEditingMode, refreshLanguageFileList',
'EditFile' => 'editFile, changeSelection, editFileSave, refreshLanguageFileList', 'EditFile' => 'editFile, changeSelection, editFileSave, refreshLanguageFileList',
'EditConstant' => 'editConstant, changeSelection, editConstantSave, prepareEditConstant, 'EditConstant' => 'editConstant, changeSelection, editConstantSave, prepareEditConstant,
refreshLanguageFileList', refreshLanguageFileList',
'AddConstant' => 'addConstant, changeSelection, addConstantSave, refreshLanguageFileList', 'AddConstant' => 'addConstant, changeSelection, addConstantSave, refreshLanguageFileList',
'DeleteConstant' => 'deleteConstant, changeSelection, deleteConstantSave, refreshLanguageFileList', 'DeleteConstant' => 'deleteConstant, changeSelection, deleteConstantSave, refreshLanguageFileList',
'RenameConstant' => 'renameConstant, changeSelection, renameConstantSave, refreshLanguageFileList', 'RenameConstant' => 'renameConstant, changeSelection, renameConstantSave, refreshLanguageFileList',
'SearchConstant' => 'searchConstant, changeSelection, searchConstantSearch, refreshLanguageFileList', 'SearchConstant' => 'searchConstant, changeSelection, searchConstantSearch, refreshLanguageFileList',
'ViewTree' => 'viewTree, changeSelection, selectExplodeToken, refreshLanguageFileList', 'ViewTree' => 'viewTree, changeSelection, selectExplodeToken, refreshLanguageFileList',
'ManageBackups' => 'manageBackups, changeSelection, deleteBackup, recoverBackup, showDifferenceBackup, 'ManageBackups' => 'manageBackups, changeSelection, deleteBackup, recoverBackup, showDifferenceBackup,
deleteAllBackup, refreshLanguageFileList', deleteAllBackup, refreshLanguageFileList',
), ),
array( array(
'access' => 'user,group', 'access' => 'user,group',
'icon' => 'EXT:lfeditor/Resources/Public/Icons/Extension.svg', 'icon' => 'EXT:lfeditor/Resources/Public/Icons/Extension.svg',
'labels' => 'LLL:EXT:lfeditor/Resources/Private/Language/locallang_mod.xml', 'labels' => 'LLL:EXT:lfeditor/Resources/Private/Language/locallang_mod.xml',
) )
); );
} }
Supports Markdown
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