[TASK] Change checkboxes in fe_users and fe_groups
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Configuration / TCA / fe_groups.php
1 <?php
2 return [
3 'ctrl' => [
4 'label' => 'title',
5 'descriptionColumn' => 'description',
6 'tstamp' => 'tstamp',
7 'crdate' => 'crdate',
8 'cruser_id' => 'cruser_id',
9 'delete' => 'deleted',
10 'prependAtCopy' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.prependAtCopy',
11 'enablecolumns' => [
12 'disabled' => 'hidden'
13 ],
14 'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups',
15 'typeicon_classes' => [
16 'default' => 'status-user-group-frontend'
17 ],
18 'useColumnsForDefaultValues' => 'lockToDomain',
19 'searchFields' => 'title,description'
20 ],
21 'interface' => [
22 'showRecordFieldList' => 'title,hidden,subgroup,lockToDomain,description'
23 ],
24 'columns' => [
25 'hidden' => [
26 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.enabled',
27 'exclude' => true,
28 'config' => [
29 'type' => 'check',
30 'renderType' => 'checkboxToggle',
31 'default' => 0,
32 'items' => [
33 [
34 0 => '',
35 1 => '',
36 'invertStateDisplay' => true,
37 ],
38 ],
39 ],
40 ],
41 'title' => [
42 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.title',
43 'config' => [
44 'type' => 'input',
45 'size' => 20,
46 'max' => 50,
47 'eval' => 'trim,required'
48 ]
49 ],
50 'subgroup' => [
51 'exclude' => true,
52 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.subgroup',
53 'config' => [
54 'type' => 'select',
55 'renderType' => 'selectMultipleSideBySide',
56 'foreign_table' => 'fe_groups',
57 'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###) AND fe_groups.hidden=0 ORDER BY fe_groups.title',
58 'enableMultiSelectFilterTextfield' => true,
59 'size' => 6,
60 'autoSizeMax' => 10,
61 'minitems' => 0,
62 'maxitems' => 20
63 ]
64 ],
65 'lockToDomain' => [
66 'exclude' => true,
67 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.lockToDomain',
68 'config' => [
69 'type' => 'input',
70 'size' => 20,
71 'eval' => 'trim',
72 'max' => 50
73 ]
74 ],
75 'description' => [
76 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.description',
77 'config' => [
78 'type' => 'text',
79 'rows' => 5,
80 'cols' => 48
81 ]
82 ],
83 'TSconfig' => [
84 'exclude' => true,
85 'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:TSconfig',
86 'config' => [
87 'type' => 'text',
88 'cols' => 40,
89 'rows' => 10,
90 'enableTabulator' => true,
91 'fixedFont' => true,
92 ],
93 ]
94 ],
95 'types' => [
96 '0' => ['showitem' => '
97 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
98 title,subgroup,
99 --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.tabs.options,
100 lockToDomain, TSconfig,
101 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
102 hidden,
103 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,
104 description,
105 --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
106 ']
107 ]
108 ];