[TASK] Make tce_db.php dispatched
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / ext_tables.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 if (TYPO3_MODE === 'BE') {
5 // Register record history module
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
7 'record_history',
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/RecordHistory/'
9 );
10
11 // Register login frameset
12 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
13 'login_frameset',
14 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/LoginFrameset/'
15 );
16
17 // Register file_edit
18 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
19 'file_edit',
20 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Edit/'
21 );
22
23 // Register file_newfolder
24 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
25 'file_newfolder',
26 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Newfolder/'
27 );
28
29 // Register file_rename
30 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
31 'file_rename',
32 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Rename/'
33 );
34
35 // Register file_rename
36 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
37 'file_upload',
38 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Upload/'
39 );
40
41 // Register tce_db
42 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
43 'tce_db',
44 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Database/'
45 );
46
47 // Register edit wizard
48 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
49 'wizard_edit',
50 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/EditWizard/'
51 );
52
53 // Register add wizard
54 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
55 'wizard_add',
56 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/AddWizard/'
57 );
58
59 // Register list wizard
60 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
61 'wizard_list',
62 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ListWizard/'
63 );
64
65 // Register table wizard
66 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
67 'wizard_table',
68 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/TableWizard/'
69 );
70
71 // Register rte wizard
72 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
73 'wizard_rte',
74 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/RteWizard/'
75 );
76
77 // Register colorpicker wizard
78 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
79 'wizard_colorpicker',
80 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ColorpickerWizard/'
81 );
82
83 // Register backend_layout wizard
84 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
85 'wizard_backend_layout',
86 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/BackendLayoutWizard/'
87 );
88
89 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
90 'web',
91 'layout',
92 'top',
93 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Layout/',
94 array(
95 'script' => '_DISPATCH',
96 'access' => 'user,group',
97 'name' => 'web_layout',
98 'labels' => array(
99 'tabs_images' => array(
100 'tab' => '../../Resources/Public/Icons/module-page.png',
101 ),
102 'll_ref' => 'LLL:EXT:cms/layout/locallang_mod.xlf',
103 ),
104 )
105 );
106
107 // Register new content element module
108 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
109 'new_content_element',
110 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/NewContentElement/'
111 );
112
113 // Register move element module
114 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
115 'move_element',
116 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/MoveElement/'
117 );
118 }