[!!!][-FEATURE] Drop ext:tsconfig_help
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / Configuration / TCA / fe_users.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'username',
5 'default_sortby' => 'ORDER BY username',
6 'tstamp' => 'tstamp',
7 'crdate' => 'crdate',
8 'cruser_id' => 'cruser_id',
9 'fe_cruser_id' => 'fe_cruser_id',
10 'title' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users',
11 'delete' => 'deleted',
12 'enablecolumns' => array(
13 'disabled' => 'disable',
14 'starttime' => 'starttime',
15 'endtime' => 'endtime'
16 ),
17 'typeicon_classes' => array(
18 'default' => 'status-user-frontend'
19 ),
20 'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime',
21 'dividers2tabs' => 1,
22 'searchFields' => 'username,name,first_name,last_name,middle_name,address,telephone,fax,email,title,zip,city,country,company'
23 ),
24 'feInterface' => array(
25 'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company'
26 ),
27 'interface' => array(
28 'showRecordFieldList' => 'username,password,usergroup,lockToDomain,name,first_name,middle_name,last_name,title,company,address,zip,city,country,email,www,telephone,fax,disable,starttime,endtime,lastlogin'
29 ),
30 'columns' => array(
31 'username' => array(
32 'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users.username',
33 'config' => array(
34 'type' => 'input',
35 'size' => '20',
36 'max' => '50',
37 'eval' => 'nospace,lower,uniqueInPid,required'
38 )
39 ),
40 'password' => array(
41 'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users.password',
42 'config' => array(
43 'type' => 'input',
44 'size' => '10',
45 'max' => '40',
46 'eval' => 'nospace,required,password'
47 )
48 ),
49 'usergroup' => array(
50 'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users.usergroup',
51 'config' => array(
52 'type' => 'select',
53 'foreign_table' => 'fe_groups',
54 'foreign_table_where' => 'ORDER BY fe_groups.title',
55 'size' => '6',
56 'minitems' => '1',
57 'maxitems' => '50'
58 )
59 ),
60 'lockToDomain' => array(
61 'exclude' => 1,
62 'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users.lockToDomain',
63 'config' => array(
64 'type' => 'input',
65 'size' => '20',
66 'eval' => 'trim',
67 'max' => '50',
68 'softref' => 'substitute'
69 )
70 ),
71 'name' => array(
72 'exclude' => 1,
73 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.name',
74 'config' => array(
75 'type' => 'input',
76 'size' => '40',
77 'eval' => 'trim',
78 'max' => '80'
79 )
80 ),
81 'first_name' => array(
82 'exclude' => 1,
83 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.first_name',
84 'config' => array(
85 'type' => 'input',
86 'size' => '25',
87 'eval' => 'trim',
88 'max' => '50'
89 )
90 ),
91 'middle_name' => array(
92 'exclude' => 1,
93 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.middle_name',
94 'config' => array(
95 'type' => 'input',
96 'size' => '25',
97 'eval' => 'trim',
98 'max' => '50'
99 )
100 ),
101 'last_name' => array(
102 'exclude' => 1,
103 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.last_name',
104 'config' => array(
105 'type' => 'input',
106 'size' => '25',
107 'eval' => 'trim',
108 'max' => '50'
109 )
110 ),
111 'address' => array(
112 'exclude' => 1,
113 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.address',
114 'config' => array(
115 'type' => 'text',
116 'cols' => '20',
117 'rows' => '3'
118 )
119 ),
120 'telephone' => array(
121 'exclude' => 1,
122 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.phone',
123 'config' => array(
124 'type' => 'input',
125 'eval' => 'trim',
126 'size' => '20',
127 'max' => '20'
128 )
129 ),
130 'fax' => array(
131 'exclude' => 1,
132 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.fax',
133 'config' => array(
134 'type' => 'input',
135 'size' => '20',
136 'eval' => 'trim',
137 'max' => '20'
138 )
139 ),
140 'email' => array(
141 'exclude' => 1,
142 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.email',
143 'config' => array(
144 'type' => 'input',
145 'size' => '20',
146 'eval' => 'trim',
147 'max' => '80'
148 )
149 ),
150 'title' => array(
151 'exclude' => 1,
152 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.title_person',
153 'config' => array(
154 'type' => 'input',
155 'size' => '20',
156 'eval' => 'trim',
157 'max' => '40'
158 )
159 ),
160 'zip' => array(
161 'exclude' => 1,
162 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.zip',
163 'config' => array(
164 'type' => 'input',
165 'eval' => 'trim',
166 'size' => '10',
167 'max' => '10'
168 )
169 ),
170 'city' => array(
171 'exclude' => 1,
172 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.city',
173 'config' => array(
174 'type' => 'input',
175 'size' => '20',
176 'eval' => 'trim',
177 'max' => '50'
178 )
179 ),
180 'country' => array(
181 'exclude' => 1,
182 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.country',
183 'config' => array(
184 'type' => 'input',
185 'size' => '20',
186 'eval' => 'trim',
187 'max' => '40'
188 )
189 ),
190 'www' => array(
191 'exclude' => 1,
192 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.www',
193 'config' => array(
194 'type' => 'input',
195 'eval' => 'trim',
196 'size' => '20',
197 'max' => '80'
198 )
199 ),
200 'company' => array(
201 'exclude' => 1,
202 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.company',
203 'config' => array(
204 'type' => 'input',
205 'eval' => 'trim',
206 'size' => '20',
207 'max' => '80'
208 )
209 ),
210 'image' => array(
211 'exclude' => 1,
212 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.image',
213 'config' => array(
214 'type' => 'group',
215 'internal_type' => 'file',
216 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
217 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
218 'uploadfolder' => 'uploads/pics',
219 'show_thumbs' => '1',
220 'size' => '3',
221 'maxitems' => '6',
222 'minitems' => '0'
223 )
224 ),
225 'disable' => array(
226 'exclude' => 1,
227 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
228 'config' => array(
229 'type' => 'check'
230 )
231 ),
232 'starttime' => array(
233 'exclude' => 1,
234 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
235 'config' => array(
236 'type' => 'input',
237 'size' => '13',
238 'max' => '20',
239 'eval' => 'datetime',
240 'default' => '0'
241 )
242 ),
243 'endtime' => array(
244 'exclude' => 1,
245 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
246 'config' => array(
247 'type' => 'input',
248 'size' => '13',
249 'max' => '20',
250 'eval' => 'datetime',
251 'default' => '0',
252 'range' => array(
253 'upper' => mktime(0, 0, 0, 12, 31, 2020)
254 )
255 )
256 ),
257 'TSconfig' => array(
258 'exclude' => 1,
259 'label' => 'TSconfig:',
260 'config' => array(
261 'type' => 'text',
262 'cols' => '40',
263 'rows' => '10',
264 'softref' => 'TSconfig'
265 ),
266 'defaultExtras' => 'fixed-font : enable-tab'
267 ),
268 'lastlogin' => array(
269 'exclude' => 1,
270 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.lastlogin',
271 'config' => array(
272 'type' => 'input',
273 'readOnly' => '1',
274 'size' => '12',
275 'eval' => 'datetime',
276 'default' => 0
277 )
278 )
279 ),
280 'types' => array(
281 '0' => array('showitem' => '
282 disable,username;;;;1-1-1, password, usergroup, lastlogin;;;;1-1-1,
283 --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.personelData, company;;1;;1-1-1, name;;2;;2-2-2, address, zip, city, country, telephone, fax, email, www, image;;;;2-2-2,
284 --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
285 --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.access, starttime, endtime,
286 --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.extended
287
288 ')
289 ),
290 'palettes' => array(
291 '1' => array('showitem' => 'title'),
292 '2' => array('showitem' => 'first_name,--linebreak--,middle_name,--linebreak--,last_name')
293 )
294 );
295 ?>