7ca95f9c5b9a48c4af78d3e589b317977897ab11
[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' => 1,
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' => 1,
44 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.subgroup',
45 'config' => array(
46 'type' => 'select',
47 'foreign_table' => 'fe_groups',
48 'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###) AND fe_groups.hidden=0 ORDER BY fe_groups.title',
49 'enableMultiSelectFilterTextfield' => TRUE,
50 'size' => 6,
51 'autoSizeMax' => 10,
52 'minitems' => 0,
53 'maxitems' => 20
54 )
55 ),
56 'lockToDomain' => array(
57 'exclude' => 1,
58 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:fe_groups.lockToDomain',
59 'config' => array(
60 'type' => 'input',
61 'size' => '20',
62 'eval' => 'trim',
63 'max' => '50'
64 )
65 ),
66 'description' => array(
67 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
68 'config' => array(
69 'type' => 'text',
70 'rows' => 5,
71 'cols' => 48
72 )
73 ),
74 'TSconfig' => array(
75 'exclude' => 1,
76 'label' => 'TSconfig:',
77 'config' => array(
78 'type' => 'text',
79 'cols' => '40',
80 'rows' => '10',
81 'softref' => 'TSconfig'
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 );