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