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