dd50c7e873c08079e22fa5732fc846a068df65e0
[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 edit module
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
7 'record_edit',
8 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/FormEngine/'
9 );
10
11 // Register record history module
12 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
13 'record_history',
14 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/RecordHistory/'
15 );
16
17 // Register login frameset
18 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
19 'login_frameset',
20 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/LoginFrameset/'
21 );
22
23 // Register logout
24 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
25 'logout',
26 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Logout/'
27 );
28
29 // Register file_navframe
30 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addCoreNavigationComponent('file', 'file_navframe');
31 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
32 'file_navframe',
33 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/FileSystemNavigationFrame/'
34 );
35
36 // Register file_edit
37 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
38 'file_edit',
39 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Edit/'
40 );
41
42 // Register file_newfolder
43 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
44 'file_newfolder',
45 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Newfolder/'
46 );
47
48 // Register file_rename
49 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
50 'file_rename',
51 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Rename/'
52 );
53
54 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
55 'file_replace',
56 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Replace/'
57 );
58
59 // Register file_rename
60 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
61 'file_upload',
62 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Upload/'
63 );
64
65 // Register tce_db
66 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
67 'tce_db',
68 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Database/'
69 );
70
71 // Register tce_file
72 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
73 'tce_file',
74 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/File/Administration/'
75 );
76
77 // Register edit wizard
78 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
79 'wizard_edit',
80 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/EditWizard/'
81 );
82
83 // Register add wizard
84 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
85 'wizard_add',
86 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/AddWizard/'
87 );
88
89 // Register list wizard
90 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
91 'wizard_list',
92 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ListWizard/'
93 );
94
95 // Register table wizard
96 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
97 'wizard_table',
98 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/TableWizard/'
99 );
100
101 // Register rte wizard
102 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
103 'wizard_rte',
104 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/RteWizard/'
105 );
106
107 // Register colorpicker wizard
108 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
109 'wizard_colorpicker',
110 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/ColorpickerWizard/'
111 );
112
113 // Register backend_layout wizard
114 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
115 'wizard_backend_layout',
116 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Wizards/BackendLayoutWizard/'
117 );
118
119 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
120 'web',
121 'layout',
122 'top',
123 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Layout/',
124 array(
125 'script' => '_DISPATCH',
126 'access' => 'user,group',
127 'name' => 'web_layout',
128 'labels' => array(
129 'tabs_images' => array(
130 'tab' => '../../Resources/Public/Icons/module-page.svg',
131 ),
132 'll_ref' => 'LLL:EXT:backend/Resources/Private/Language/locallang_mod.xlf',
133 ),
134 )
135 );
136
137 // Register new record
138 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
139 'db_new',
140 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/NewRecord/'
141 );
142
143 // Register new content element module
144 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
145 'new_content_element',
146 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/NewContentElement/'
147 );
148
149 // Register move element module
150 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
151 'move_element',
152 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/MoveElement/'
153 );
154
155 // Register show item module
156 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
157 'show_item',
158 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/ShowItem/'
159 );
160
161 // Register browser
162 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
163 'browser',
164 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Browser/'
165 );
166
167 // Register dummy window
168 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
169 'dummy',
170 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Modules/Dummy/'
171 );
172 }