TYPO3  7.6
frontend/Configuration/TCA/fe_users.php
Go to the documentation of this file.
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:frontend/Resources/Private/Language/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  'searchFields' => 'username,name,first_name,last_name,middle_name,address,telephone,fax,email,title,zip,city,country,company'
22  ),
23  'interface' => array(
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'
25  ),
26  'columns' => array(
27  'username' => array(
28  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_users.username',
29  'config' => array(
30  'type' => 'input',
31  'size' => '20',
32  'max' => '255',
33  'eval' => 'nospace,trim,lower,uniqueInPid,required',
34  'autocomplete' => false,
35  )
36  ),
37  'password' => array(
38  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_users.password',
39  'config' => array(
40  'type' => 'input',
41  'size' => '10',
42  'max' => '40',
43  'eval' => 'nospace,trim,required,password',
44  'autocomplete' => false,
45  )
46  ),
47  'usergroup' => array(
48  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_users.usergroup',
49  'config' => array(
50  'type' => 'select',
51  'renderType' => 'selectMultipleSideBySide',
52  'foreign_table' => 'fe_groups',
53  'foreign_table_where' => 'ORDER BY fe_groups.title',
54  'enableMultiSelectFilterTextfield' => true,
55  'size' => '6',
56  'minitems' => '1',
57  'maxitems' => '50'
58  )
59  ),
60  'lockToDomain' => array(
61  'exclude' => 1,
62  'label' => 'LLL:EXT:frontend/Resources/Private/Language/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' => '255'
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  'uploadfolder' => 'uploads/pics',
218  'show_thumbs' => '1',
219  'size' => '3',
220  'maxitems' => '6',
221  'minitems' => '0'
222  )
223  ),
224  'disable' => array(
225  'exclude' => 1,
226  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
227  'config' => array(
228  'type' => 'check'
229  )
230  ),
231  'starttime' => array(
232  'exclude' => 1,
233  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
234  'config' => array(
235  'type' => 'input',
236  'size' => '13',
237  'eval' => 'datetime',
238  'default' => '0'
239  )
240  ),
241  'endtime' => array(
242  'exclude' => 1,
243  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
244  'config' => array(
245  'type' => 'input',
246  'size' => '13',
247  'eval' => 'datetime',
248  'default' => '0',
249  'range' => array(
250  'upper' => mktime(0, 0, 0, 12, 31, 2020)
251  )
252  )
253  ),
254  'TSconfig' => array(
255  'exclude' => 1,
256  'label' => 'TSconfig:',
257  'config' => array(
258  'type' => 'text',
259  'cols' => '40',
260  'rows' => '10',
261  'softref' => 'TSconfig'
262  ),
263  'defaultExtras' => 'fixed-font : enable-tab'
264  ),
265  'lastlogin' => array(
266  'exclude' => 1,
267  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.lastlogin',
268  'config' => array(
269  'type' => 'input',
270  'readOnly' => '1',
271  'size' => '12',
272  'eval' => 'datetime',
273  'default' => 0
274  )
275  )
276  ),
277  'types' => array(
278  '0' => array(
279  'showitem' => '
280  disable, username, password, usergroup, lastlogin,
281  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_users.tabs.personelData, company, --palette--;;1, name, --palette--;;2, address, zip, city, country, telephone, fax, email, www, image,
282  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_users.tabs.options, lockToDomain, TSconfig,
283  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_users.tabs.access, starttime, endtime,
284  --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_users.tabs.extended
285  ',
286  ),
287  ),
288  'palettes' => array(
289  '1' => array('showitem' => 'title'),
290  '2' => array('showitem' => 'first_name,--linebreak--,middle_name,--linebreak--,last_name')
291  )
292 );