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