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