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