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