[TASK] Cleanup ext_localconf.php of sysexts
[Packages/TYPO3.CMS.git] / typo3 / sysext / setup / ext_tables.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5 if (TYPO3_MODE === 'BE') {
6 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
7 'user',
8 'setup',
9 'after:task',
10 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod/'
11 );
12 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
13 '_MOD_user_setup',
14 'EXT:setup/locallang_csh_mod.xlf'
15 );
16
17 $GLOBALS['TYPO3_USER_SETTINGS'] = array(
18 'ctrl' => array(
19 'dividers2tabs' => 1
20 ),
21 'columns' => array(
22 'realName' => array(
23 'type' => 'text',
24 'label' => 'LLL:EXT:setup/mod/locallang.xlf:beUser_realName',
25 'table' => 'be_users',
26 'csh' => 'beUser_realName'
27 ),
28 'email' => array(
29 'type' => 'text',
30 'label' => 'LLL:EXT:setup/mod/locallang.xlf:beUser_email',
31 'table' => 'be_users',
32 'csh' => 'beUser_email'
33 ),
34 'emailMeAtLogin' => array(
35 'type' => 'check',
36 'label' => 'LLL:EXT:setup/mod/locallang.xlf:emailMeAtLogin',
37 'csh' => 'emailMeAtLogin'
38 ),
39 'password' => array(
40 'type' => 'password',
41 'label' => 'LLL:EXT:setup/mod/locallang.xlf:newPassword',
42 'table' => 'be_users',
43 'csh' => 'newPassword',
44 'eval' => 'md5'
45 ),
46 'password2' => array(
47 'type' => 'password',
48 'label' => 'LLL:EXT:setup/mod/locallang.xlf:newPasswordAgain',
49 'table' => 'be_users',
50 'csh' => 'newPasswordAgain',
51 'eval' => 'md5'
52 ),
53 'lang' => array(
54 'type' => 'select',
55 'itemsProcFunc' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController->renderLanguageSelect',
56 'label' => 'LLL:EXT:setup/mod/locallang.xlf:language',
57 'csh' => 'language'
58 ),
59 'startModule' => array(
60 'type' => 'select',
61 'itemsProcFunc' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController->renderStartModuleSelect',
62 'label' => 'LLL:EXT:setup/mod/locallang.xlf:startModule',
63 'csh' => 'startModule'
64 ),
65 'thumbnailsByDefault' => array(
66 'type' => 'check',
67 'label' => 'LLL:EXT:setup/mod/locallang.xlf:showThumbs',
68 'csh' => 'showThumbs'
69 ),
70 'edit_wideDocument' => array(
71 'type' => 'check',
72 'label' => 'LLL:EXT:setup/mod/locallang.xlf:edit_wideDocument',
73 'csh' => 'edit_wideDocument'
74 ),
75 'titleLen' => array(
76 'type' => 'text',
77 'label' => 'LLL:EXT:setup/mod/locallang.xlf:maxTitleLen',
78 'csh' => 'maxTitleLen'
79 ),
80 'edit_RTE' => array(
81 'type' => 'check',
82 'label' => 'LLL:EXT:setup/mod/locallang.xlf:edit_RTE',
83 'csh' => 'edit_RTE'
84 ),
85 'edit_docModuleUpload' => array(
86 'type' => 'check',
87 'label' => 'LLL:EXT:setup/mod/locallang.xlf:edit_docModuleUpload',
88 'csh' => 'edit_docModuleUpload'
89 ),
90 'showHiddenFilesAndFolders' => array(
91 'type' => 'check',
92 'label' => 'LLL:EXT:setup/mod/locallang.xlf:showHiddenFilesAndFolders',
93 'csh' => 'showHiddenFilesAndFolders'
94 ),
95 'copyLevels' => array(
96 'type' => 'text',
97 'label' => 'LLL:EXT:setup/mod/locallang.xlf:copyLevels',
98 'csh' => 'copyLevels'
99 ),
100 'recursiveDelete' => array(
101 'type' => 'check',
102 'label' => 'LLL:EXT:setup/mod/locallang.xlf:recursiveDelete',
103 'csh' => 'recursiveDelete'
104 ),
105 'simulate' => array(
106 'type' => 'select',
107 'itemsProcFunc' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController->renderSimulateUserSelect',
108 'label' => 'LLL:EXT:setup/mod/locallang.xlf:simulate',
109 'csh' => 'simuser'
110 ),
111 'resetConfiguration' => array(
112 'type' => 'button',
113 'label' => 'LLL:EXT:setup/mod/locallang.xlf:resetConfiguration',
114 'buttonlabel' => 'LLL:EXT:setup/mod/locallang.xlf:resetConfigurationShort',
115 'csh' => 'reset',
116 'onClick' => 'if (confirm(\'%s\')) { document.getElementById(\'setValuesToDefault\').value = 1; this.form.submit(); }',
117 'onClickLabels' => array(
118 'LLL:EXT:setup/mod/locallang.xlf:setToStandardQuestion'
119 )
120 ),
121 'clearSessionVars' => array(
122 'type' => 'button',
123 'access' => 'admin',
124 'label' => 'LLL:EXT:setup/mod/locallang.xlf:clearSessionVars',
125 'buttonlabel' => 'LLL:EXT:setup/mod/locallang.xlf:clearSessionVarsShort',
126 'csh' => 'reset',
127 'onClick' => 'if (confirm(\'%s\')) { document.getElementById(\'clearSessionVars\').value = 1; this.form.submit(); }',
128 'onClickLabels' => array(
129 'LLL:EXT:setup/mod/locallang.xlf:clearSessionVarsQuestion'
130 )
131 ),
132 'resizeTextareas' => array(
133 'type' => 'check',
134 'label' => 'LLL:EXT:setup/mod/locallang.xlf:resizeTextareas',
135 'csh' => 'resizeTextareas'
136 ),
137 'resizeTextareas_Flexible' => array(
138 'type' => 'check',
139 'label' => 'LLL:EXT:setup/mod/locallang.xlf:resizeTextareas_Flexible',
140 'csh' => 'resizeTextareas_Flexible'
141 ),
142 'resizeTextareas_MaxHeight' => array(
143 'type' => 'text',
144 'label' => 'LLL:EXT:setup/mod/locallang.xlf:flexibleTextareas_MaxHeight',
145 'csh' => 'flexibleTextareas_MaxHeight'
146 ),
147 'debugInWindow' => array(
148 'type' => 'check',
149 'label' => 'LLL:EXT:setup/mod/locallang.xlf:debugInWindow',
150 'access' => 'admin'
151 )
152 ),
153 'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xlf:personal_data,realName,email,emailMeAtLogin,password,password2,lang,
154 --div--;LLL:EXT:setup/mod/locallang.xlf:opening,startModule,thumbnailsByDefault,titleLen,
155 --div--;LLL:EXT:setup/mod/locallang.xlf:editFunctionsTab,edit_RTE,edit_wideDocument,edit_docModuleUpload,showHiddenFilesAndFolders,resizeTextareas,resizeTextareas_Flexible,resizeTextareas_MaxHeight,copyLevels,recursiveDelete,resetConfiguration,clearSessionVars,
156 --div--;LLL:EXT:setup/mod/locallang.xlf:adminFunctions,simulate,debugInWindow'
157 );
158 }