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