[BUGFIX] Improve styling of TS-Objectbrowsers edit view
[Packages/TYPO3.CMS.git] / typo3 / sysext / tstemplate / ext_tables.php
index a393401..cc5dcc9 100644 (file)
@@ -2,22 +2,20 @@
 defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
-       $extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY);
-
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
                'web',
                'ts',
                '',
-               $extensionPath . 'ts/',
+               'EXT:tstemplate/Modules/TsTemplate/',
                array(
                        'script' => '_DISPATCH',
                        'access' => 'admin',
                        'name' => 'web_ts',
                        'labels' => array(
                                'tabs_images' => array(
-                                       'tab' => '../Resources/Public/Icons/module-tstemplate.png',
+                                       'tab' => 'EXT:tstemplate/Resources/Public/Icons/module-tstemplate.svg',
                                ),
-                               'll_ref' => 'LLL:EXT:tstemplate/ts/locallang_mod.xlf',
+                               'll_ref' => 'LLL:EXT:tstemplate/Resources/Private/Language/locallang_mod.xlf',
                        ),
                )
        );
@@ -26,28 +24,28 @@ if (TYPO3_MODE === 'BE') {
                'web_ts',
                \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateConstantEditorModuleFunctionController::class,
                NULL,
-               'LLL:EXT:tstemplate/ts/locallang.xlf:constantEditor'
+               'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:constantEditor'
        );
 
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_ts',
                \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateInformationModuleFunctionController::class,
                NULL,
-               'LLL:EXT:tstemplate/ts/locallang.xlf:infoModify'
+               'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:infoModify'
        );
 
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_ts',
                \TYPO3\CMS\Tstemplate\Controller\TypoScriptTemplateObjectBrowserModuleFunctionController::class,
                NULL,
-               'LLL:EXT:tstemplate/ts/locallang.xlf:objectBrowser'
+               'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:objectBrowser'
        );
 
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_ts',
                \TYPO3\CMS\Tstemplate\Controller\TemplateAnalyzerModuleFunctionController::class,
                NULL,
-               'LLL:EXT:tstemplate/ts/locallang.xlf:templateAnalyzer'
+               'LLL:EXT:tstemplate/Resources/Private/Language/locallang.xlf:templateAnalyzer'
        );
 
-}
\ No newline at end of file
+}