Cleanup: Set SVN end of line property
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_action / tca.php
1 <?php
2
3 // ******************************************************************
4 // sys_action
5 // ******************************************************************
6 $TCA['sys_action'] = array (
7 'ctrl' => $TCA['sys_action']['ctrl'],
8 'interface' => array (
9 'showRecordFieldList' => 'hidden,title,type,description,assign_to_groups'
10 ),
11 'columns' => array (
12 'title' => array (
13 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.title',
14 'config' => array (
15 'type' => 'input',
16 'size' => '25',
17 'max' => '256',
18 'eval' => 'trim,required'
19 )
20 ),
21 'description' => array (
22 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description',
23 'config' => array (
24 'type' => 'text',
25 'rows' => 10,
26 'cols' => 48
27 )
28 ),
29 'hidden' => array (
30 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.hidden',
31 'config' => array (
32 'type' => 'check'
33 )
34 ),
35 'type' => array (
36 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type',
37 'config' => array (
38 'type' => 'select',
39 'items' => array (
40 array('', '0'),
41 array('LLL:EXT:sys_action/locallang_tca.php:sys_action.type.1', '1'),
42 array('LLL:EXT:sys_action/locallang_tca.php:sys_action.type.2', '2'),
43 array('LLL:EXT:sys_action/locallang_tca.php:sys_action.type.3', '3'),
44 array('LLL:EXT:sys_action/locallang_tca.php:sys_action.type.4', '4'),
45 array('LLL:EXT:sys_action/locallang_tca.php:sys_action.type.5', '5')
46 )
47 )
48 ),
49 'assign_to_groups' => array (
50 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.assign_to_groups',
51 'config' => array (
52 'type' => 'select',
53 'foreign_table' => 'be_groups',
54 'foreign_table_where' => 'ORDER BY be_groups.title',
55 'MM' => 'sys_action_asgr_mm',
56 'size' => '10',
57 'minitems' => '0',
58 'maxitems' => '200',
59 'autoSizeMax' => '10'
60 )
61 ),
62 't1_userprefix' => array (
63 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t1_userprefix',
64 'config' => array (
65 'type' => 'input',
66 'size' => '25',
67 'max' => '10',
68 'eval' => 'trim'
69 )
70 ),
71 't1_allowed_groups' => array (
72 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t1_allowed_groups',
73 'config' => array (
74 'type' => 'select',
75 'foreign_table' => 'be_groups',
76 'foreign_table_where' => 'ORDER BY be_groups.title',
77 'size' => '10',
78 'maxitems' => '20',
79 'autoSizeMax' => '10'
80 )
81 ),
82 't1_create_user_dir' => array (
83 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t1_create_user_dir',
84 'config' => array (
85 'type' => 'check'
86 )
87 ),
88 't1_copy_of_user' => array (
89 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t1_copy_of_user',
90 'config' => array (
91 'type' => 'group',
92 'internal_type' => 'db',
93 'allowed' => 'be_users',
94 'size' => '1',
95 'maxitems' => '1',
96 'minitems' => '1',
97 'show_thumbs' => '1',
98 'wizards' => array(
99 'suggest' => array(
100 'type' => 'suggest',
101 )
102 )
103 )
104 ),
105 't3_listPid' => array (
106 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t3_listPid',
107 'config' => array (
108 'type' => 'group',
109 'internal_type' => 'db',
110 'allowed' => 'pages',
111 'size' => '1',
112 'maxitems' => '1',
113 'minitems' => '1',
114 'show_thumbs' => '1',
115 'wizards' => array(
116 'suggest' => array(
117 'type' => 'suggest',
118 )
119 )
120 )
121 ),
122 't3_tables' => array (
123 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t3_tables',
124 'config' => array (
125 'type' => 'select',
126 'special' => 'tables',
127 'items' => array (
128 array('','')
129 )
130 )
131 ),
132 't4_recordsToEdit' => array (
133 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t4_recordsToEdit',
134 'config' => array (
135 'type' => 'group',
136 'internal_type' => 'db',
137 'allowed' => '*',
138 'prepend_tname' => 1,
139 'size' => '5',
140 'maxitems' => '50',
141 'minitems' => '1',
142 'show_thumbs' => '1',
143 'wizards' => array(
144 'suggest' => array(
145 'type' => 'suggest',
146 )
147 )
148 )
149 ),
150
151 ),
152 'types' => array (
153 '0' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2'),
154 '1' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t1_userprefix;;;;5-5-5,t1_copy_of_user,t1_allowed_groups,t1_create_user_dir'),
155 '2' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,'),
156 '3' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t3_listPid;;;;5-5-5,t3_tables;'),
157 '4' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t4_recordsToEdit;;;;5-5-5'),
158 '5' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t3_listPid;Where to create records:;;;5-5-5,t3_tables;Create records in table:'),
159 )
160 );
161 ?>