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