[TASK] Remove closing PHP tags
[Packages/TYPO3.CMS.git] / typo3 / sysext / tstemplate / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 if (TYPO3_MODE === 'BE') {
7 $extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY);
8
9 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
10 'web',
11 'ts',
12 '',
13 $extensionPath . 'ts/'
14 );
15
16 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
17 'web_ts',
18 'TYPO3\\CMS\\TsTemplate\\Controller\\TemplateAnalyzerModuleFunctionController',
19 $extensionPath . 'Classes/Controller/TemplateAnalyzerModuleFunctionController.php',
20 'LLL:EXT:tstemplate/ts/locallang.xlf:templateAnalyzer'
21 );
22
23 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
24 'web_ts',
25 'TYPO3\\CMS\\TsTemplate\\Controller\\TypoScriptTemplateConstantEditorModuleFunctionController',
26 $extensionPath . 'Classes/Controller/TypoScriptTemplateConstantEditorModuleFunctionController.php',
27 'LLL:EXT:tstemplate/ts/locallang.xlf:constantEditor'
28 );
29
30 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
31 'web_ts',
32 'TYPO3\\CMS\\TsTemplate\\Controller\\TypoScriptTemplateInformationModuleFunctionController',
33 $extensionPath . 'Classes/Controller/TypoScriptTemplateInformationModuleFunctionController.php',
34 'LLL:EXT:tstemplate/ts/locallang.xlf:infoModify'
35 );
36
37 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
38 'web_ts',
39 'TYPO3\\CMS\\TsTemplate\\Controller\\TypoScriptTemplateObjectBrowserModuleFunctionController',
40 $extensionPath . 'Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php',
41 'LLL:EXT:tstemplate/ts/locallang.xlf:objectBrowser'
42 );
43
44 }