Fixed bug #11884: User setup: buttons for create/delete ENABLE_INSTALL_TOOL-file...
[Packages/TYPO3.CMS.git] / typo3 / sysext / setup / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 if (TYPO3_MODE=='BE') {
5 t3lib_extMgm::addModule('user','setup','after:task',t3lib_extMgm::extPath($_EXTKEY).'mod/');
6 t3lib_extMgm::addLLrefForTCAdescr('_MOD_user_setup','EXT:setup/locallang_csh_mod.xml');
7 }
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' => 'SC_mod_user_setup_index->renderLanguageSelect',
48 'label' => 'LLL:EXT:setup/mod/locallang.xml:language',
49 'csh' => 'language',
50 ),
51
52 'condensedMode' => array(
53 'type' => 'check',
54 'label' => 'LLL:EXT:setup/mod/locallang.xml:condensedMode',
55 'csh' => 'condensedMode',
56 ),
57 'noMenuMode' => array(
58 'type' => 'select',
59 'items' => array(
60 '0' => 'LLL:EXT:setup/mod/locallang.xml:noMenuMode_def',
61 '1' => 'LLL:EXT:setup/mod/locallang.xml:noMenuMode_sel',
62 'icons' => 'LLL:EXT:setup/mod/locallang.xml:noMenuMode_icons',
63 ),
64 'label' => 'LLL:EXT:setup/mod/locallang.xml:noMenuMode',
65 'csh' => 'noMenuMode',
66 ),
67 'startModule' => array(
68 'type' => 'select',
69 'itemsProcFunc' => 'SC_mod_user_setup_index->renderStartModuleSelect',
70 'label' => 'LLL:EXT:setup/mod/locallang.xml:startModule',
71 'csh' => 'startModule',
72 ),
73 'thumbnailsByDefault' => array(
74 'type' => 'check',
75 'label' => 'LLL:EXT:setup/mod/locallang.xml:showThumbs',
76 'csh' => 'showThumbs',
77 ),
78 'helpText' => array(
79 'type' => 'check',
80 'label' => 'LLL:EXT:setup/mod/locallang.xml:helpText',
81 'csh' => 'helpText',
82 ),
83 'edit_wideDocument' => array(
84 'type' => 'check',
85 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_wideDocument',
86 'csh' => 'edit_wideDocument',
87 ),
88 'edit_showFieldHelp' => array(
89 'type' => 'select',
90 'items' => array (
91 '0' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_none',
92 'icon' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_icon',
93 'text' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp_message',
94 ),
95 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_showFieldHelp',
96 'csh' => 'edit_showFieldHelp',
97 ),
98 'titleLen' => array(
99 'type' => 'text',
100 'label' => 'LLL:EXT:setup/mod/locallang.xml:maxTitleLen',
101 'csh' => 'maxTitleLen',
102 ),
103
104 'edit_RTE' => array(
105 'type' => 'check',
106 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_RTE',
107 'csh' => 'edit_RTE',
108 ),
109 'edit_docModuleUpload' => array(
110 'type' => 'check',
111 'label' => 'LLL:EXT:setup/mod/locallang.xml:edit_docModuleUpload',
112 'csh' => 'edit_docModuleUpload',
113 ),
114 'disableCMlayers' => array(
115 'type' => 'check',
116 'label' => 'LLL:EXT:setup/mod/locallang.xml:disableCMlayers',
117 'csh' => 'disableCMlayers',
118 ),
119 'copyLevels' => array(
120 'type' => 'text',
121 'label' => 'LLL:EXT:setup/mod/locallang.xml:copyLevels',
122 'csh' => 'copyLevels',
123 ),
124 'recursiveDelete' => array(
125 'type' => 'check',
126 'label' => 'LLL:EXT:setup/mod/locallang.xml:recursiveDelete',
127 'csh' => 'recursiveDelete',
128 ),
129
130 'simulate' => array(
131 'type' => 'select',
132 'itemsProcFunc' => 'SC_mod_user_setup_index->renderSimulateUserSelect',
133 'access' => 'admin',
134 'label' => 'LLL:EXT:setup/mod/locallang.xml:simulate',
135 'csh' => 'simuser'
136 ),
137 'enableFlashUploader' => array(
138 'type' => 'check',
139 'label' => 'LLL:EXT:setup/mod/locallang.xml:enableFlashUploader',
140 'csh' => 'enableFlashUploader',
141 ),
142 'resizeTextareas' => array(
143 'type' => 'check',
144 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas',
145 'csh' => 'resizeTextareas',
146 ),
147 'resizeTextareas_MaxHeight' => array(
148 'type' => 'text',
149 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_MaxHeight',
150 'csh' => 'resizeTextareas_MaxHeight',
151 'default' => 600,
152 ),
153 'resizeTextareas_Flexible' => array(
154 'type' => 'check',
155 'label' => 'LLL:EXT:setup/mod/locallang.xml:resizeTextareas_Flexible',
156 'csh' => 'resizeTextareas_Flexible',
157 ),
158 'installToolEnableButton' => array(
159 'type' => 'user',
160 'label' => 'LLL:EXT:setup/mod/locallang.xml:enableInstallTool.label',
161 'userFunc' => 'SC_mod_user_setup_index->renderInstallToolEnableFileButton',
162 'access' => 'admin',
163 'csh' => 'enableInstallTool'
164 ),
165 ),
166 'showitem' => '--div--;LLL:EXT:setup/mod/locallang.xml:personal_data,realName,email,emailMeAtLogin,password,password2,lang,
167 --div--;LLL:EXT:setup/mod/locallang.xml:opening,condensedMode,noMenuMode,startModule,thumbnailsByDefault,helpText,edit_showFieldHelp,titleLen,
168 --div--;LLL:EXT:setup/mod/locallang.xml:editFunctionsTab,edit_RTE,edit_wideDocument,edit_docModuleUpload,enableFlashUploader,resizeTextareas,resizeTextareas_MaxHeight,resizeTextareas_Flexible,disableCMlayers,copyLevels,recursiveDelete,
169 --div--;LLL:EXT:setup/mod/locallang.xml:adminFunctions,simulate,installToolEnableButton'
170
171 );
172 ?>