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