bfcd004c7695280afe9b0774b475512d668764f4
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / be_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 'default_sortby' => 'ORDER BY title',
10 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
11 'adminOnly' => 1,
12 'rootLevel' => 1,
13 'type' => 'inc_access_lists',
14 'typeicon_column' => 'inc_access_lists',
15 'typeicons' => array(
16 '1' => 'be_groups_lists.gif'
17 ),
18 'typeicon_classes' => array(
19 'default' => 'status-user-group-backend'
20 ),
21 'enablecolumns' => array(
22 'disabled' => 'hidden'
23 ),
24 'title' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups',
25 'useColumnsForDefaultValues' => 'lockToDomain, fileoper_perms',
26 'dividers2tabs' => TRUE,
27 'versioningWS_alwaysAllowLiveEdit' => TRUE,
28 'searchFields' => 'title'
29 ),
30 'interface' => array(
31 'showRecordFieldList' => 'title, db_mountpoints, file_mountpoints, fileoper_perms, inc_access_lists, tables_select, tables_modify, pagetypes_select, non_exclude_fields, groupMods, lockToDomain, description'
32 ),
33 'columns' => array(
34 'title' => array(
35 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.title',
36 'config' => array(
37 'type' => 'input',
38 'size' => '25',
39 'max' => '50',
40 'eval' => 'trim,required'
41 )
42 ),
43 'db_mountpoints' => array(
44 'label' => 'LLL:EXT:lang/locallang_tca.xlf:db_mountpoints',
45 'config' => array(
46 'type' => 'group',
47 'internal_type' => 'db',
48 'allowed' => 'pages',
49 'size' => '3',
50 'maxitems' => 25,
51 'autoSizeMax' => 10,
52 'show_thumbs' => '1',
53 'wizards' => array(
54 'suggest' => array(
55 'type' => 'suggest'
56 )
57 )
58 )
59 ),
60 'file_mountpoints' => array(
61 'label' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints',
62 'config' => array(
63 'type' => 'select',
64 'foreign_table' => 'sys_filemounts',
65 'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
66 'size' => '3',
67 'maxitems' => 25,
68 'autoSizeMax' => 10,
69 'iconsInOptionTags' => 1,
70 'wizards' => array(
71 '_PADDING' => 1,
72 '_VERTICAL' => 1,
73 'edit' => array(
74 'type' => 'popup',
75 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_edit_title',
76 'script' => 'wizard_edit.php',
77 'popup_onlyOpenIfSelected' => 1,
78 'icon' => 'edit2.gif',
79 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'
80 ),
81 'add' => array(
82 'type' => 'script',
83 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_add_title',
84 'icon' => 'add.gif',
85 'params' => array(
86 'table' => 'sys_filemounts',
87 'pid' => '0',
88 'setValue' => 'prepend'
89 ),
90 'script' => 'wizard_add.php'
91 ),
92 'list' => array(
93 'type' => 'script',
94 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_list_title',
95 'icon' => 'list.gif',
96 'params' => array(
97 'table' => 'sys_filemounts',
98 'pid' => '0'
99 ),
100 'script' => 'wizard_list.php'
101 )
102 )
103 )
104 ),
105 'fileoper_perms' => array(
106 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms',
107 'config' => array(
108 'type' => 'check',
109 'items' => array(
110 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_general', 0),
111 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_unzip', 0),
112 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_diroper_perms', 0),
113 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_diroper_perms_copy', 0),
114 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_diroper_perms_delete', 0)
115 ),
116 'default' => '7'
117 )
118 ),
119 'workspace_perms' => array(
120 'label' => 'LLL:EXT:lang/locallang_tca.xlf:workspace_perms',
121 'config' => array(
122 'type' => 'check',
123 'items' => array(
124 array('LLL:EXT:lang/locallang_tca.xlf:workspace_perms_live', 0)
125 ),
126 'default' => 0
127 )
128 ),
129 'pagetypes_select' => array(
130 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.pagetypes_select',
131 'config' => array(
132 'type' => 'select',
133 'special' => 'pagetypes',
134 'size' => '5',
135 'autoSizeMax' => 50,
136 'maxitems' => 20,
137 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
138 'iconsInOptionTags' => 1
139 )
140 ),
141 'tables_modify' => array(
142 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.tables_modify',
143 'config' => array(
144 'type' => 'select',
145 'special' => 'tables',
146 'size' => '5',
147 'autoSizeMax' => 50,
148 'maxitems' => 100,
149 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
150 'iconsInOptionTags' => 1
151 )
152 ),
153 'tables_select' => array(
154 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.tables_select',
155 'config' => array(
156 'type' => 'select',
157 'special' => 'tables',
158 'size' => '5',
159 'autoSizeMax' => 50,
160 'maxitems' => 100,
161 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
162 'iconsInOptionTags' => 1
163 )
164 ),
165 'non_exclude_fields' => array(
166 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.non_exclude_fields',
167 'config' => array(
168 'type' => 'select',
169 'special' => 'exclude',
170 'size' => '25',
171 'maxitems' => 1000,
172 'autoSizeMax' => 50,
173 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
174 'itemListStyle' => 'width:500px'
175 )
176 ),
177 'explicit_allowdeny' => array(
178 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.explicit_allowdeny',
179 'config' => array(
180 'type' => 'select',
181 'special' => 'explicitValues',
182 'maxitems' => 1000,
183 'renderMode' => 'checkbox'
184 )
185 ),
186 'allowed_languages' => array(
187 'label' => 'LLL:EXT:lang/locallang_tca.xlf:allowed_languages',
188 'config' => array(
189 'type' => 'select',
190 'special' => 'languages',
191 'maxitems' => 1000,
192 'renderMode' => 'checkbox'
193 )
194 ),
195 'custom_options' => array(
196 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.custom_options',
197 'config' => array(
198 'type' => 'select',
199 'special' => 'custom',
200 'maxitems' => 1000,
201 'renderMode' => 'checkbox'
202 )
203 ),
204 'hidden' => array(
205 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
206 'config' => array(
207 'type' => 'check',
208 'default' => '0'
209 )
210 ),
211 'lockToDomain' => array(
212 'label' => 'LLL:EXT:lang/locallang_tca.xlf:lockToDomain',
213 'config' => array(
214 'type' => 'input',
215 'size' => '20',
216 'eval' => 'trim',
217 'max' => '50',
218 'softref' => 'substitute'
219 )
220 ),
221 'groupMods' => array(
222 'label' => 'LLL:EXT:lang/locallang_tca.xlf:userMods',
223 'config' => array(
224 'type' => 'select',
225 'special' => 'modListGroup',
226 'size' => '5',
227 'autoSizeMax' => 50,
228 'maxitems' => 100,
229 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
230 'iconsInOptionTags' => 1
231 )
232 ),
233 'inc_access_lists' => array(
234 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.inc_access_lists',
235 'config' => array(
236 'type' => 'check',
237 'default' => '0'
238 )
239 ),
240 'description' => array(
241 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
242 'config' => array(
243 'type' => 'text',
244 'rows' => 5,
245 'cols' => 30
246 )
247 ),
248 'TSconfig' => array(
249 'label' => 'LLL:EXT:lang/locallang_tca.xlf:TSconfig',
250 'config' => array(
251 'type' => 'text',
252 'cols' => '40',
253 'rows' => '5',
254 'wizards' => array(
255 '_PADDING' => 4,
256 '0' => array(
257 'type' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('tsconfig_help') ? 'popup' : '',
258 'title' => 'LLL:EXT:lang/locallang_tca.xlf:TSconfig_title',
259 'script' => 'wizard_tsconfig.php?mode=beuser',
260 'icon' => 'wizard_tsconfig.gif',
261 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1'
262 )
263 ),
264 'softref' => 'TSconfig'
265 ),
266 'defaultExtras' => 'fixed-font : enable-tab'
267 ),
268 'hide_in_lists' => array(
269 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.hide_in_lists',
270 'config' => array(
271 'type' => 'check',
272 'default' => 0
273 )
274 ),
275 'subgroup' => array(
276 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.subgroup',
277 'config' => array(
278 'type' => 'select',
279 'foreign_table' => 'be_groups',
280 'foreign_table_where' => 'AND NOT(be_groups.uid = ###THIS_UID###) AND be_groups.hidden=0 ORDER BY be_groups.title',
281 'size' => '5',
282 'autoSizeMax' => 50,
283 'maxitems' => 20,
284 'iconsInOptionTags' => 1
285 )
286 )
287 ),
288 'types' => array(
289 '0' => array('showitem' => 'hidden;;;;1-1-1, title;;;;2-2-2, description, subgroup;;;;3-3-3,
290 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights, inc_access_lists;;;;1-1-1,
291 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms;;;;1-1-1, db_mountpoints;;;;2-2-2, file_mountpoints;;;;3-3-3, fileoper_perms,
292 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain;;;;1-1-1, hide_in_lists;;;;2-2-2, TSconfig;;;;3-3-3,
293 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.extended'),
294 '1' => array('showitem' => 'hidden;;;;1-1-1, title;;;;2-2-2, description, subgroup;;;;3-3-3,
295 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights, inc_access_lists;;;;1-1-1, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny , allowed_languages;;;;2-2-2, custom_options;;;;3-3-3,
296 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms;;;;1-1-1, db_mountpoints;;;;2-2-2, file_mountpoints;;;;3-3-3, fileoper_perms,
297 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain;;;;1-1-1, hide_in_lists;;;;2-2-2, TSconfig;;;;3-3-3,
298 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.extended')
299 )
300 );
301 ?>