[TASK] Move TCA and ext_tables.sql from ext:cms to ext:frontend
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Configuration / TCA / fe_groups.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'title',
5 'tstamp' => 'tstamp',
6 'crdate' => 'crdate',
7 'cruser_id' => 'cruser_id',
8 'delete' => 'deleted',
9 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
10 'enablecolumns' => array(
11 'disabled' => 'hidden'
12 ),
13 'title' => 'LLL:EXT:cms/locallang_tca.xlf:fe_groups',
14 'typeicon_classes' => array(
15 'default' => 'status-user-group-frontend'
16 ),
17 'useColumnsForDefaultValues' => 'lockToDomain',
18 'dividers2tabs' => 1,
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:cms/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:cms/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 'size' => 6,
50 'autoSizeMax' => 10,
51 'minitems' => 0,
52 'maxitems' => 20
53 )
54 ),
55 'lockToDomain' => array(
56 'exclude' => 1,
57 'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_groups.lockToDomain',
58 'config' => array(
59 'type' => 'input',
60 'size' => '20',
61 'eval' => 'trim',
62 'max' => '50'
63 )
64 ),
65 'description' => array(
66 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
67 'config' => array(
68 'type' => 'text',
69 'rows' => 5,
70 'cols' => 48
71 )
72 ),
73 'TSconfig' => array(
74 'exclude' => 1,
75 'label' => 'TSconfig:',
76 'config' => array(
77 'type' => 'text',
78 'cols' => '40',
79 'rows' => '10',
80 'softref' => 'TSconfig'
81 ),
82 'defaultExtras' => 'fixed-font : enable-tab'
83 )
84 ),
85 'types' => array(
86 '0' => array('showitem' => '
87 hidden;;;;1-1-1,title;;;;2-2-2,description,subgroup;;;;3-3-3,
88 --div--;LLL:EXT:cms/locallang_tca.xlf:fe_groups.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
89 --div--;LLL:EXT:cms/locallang_tca.xlf:fe_groups.tabs.extended
90 ')
91 )
92 );
93 ?>