[CLEANUP] Remove dividers2tabs functionality
[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 'typeicon_classes' => array(
14 'default' => 'status-user-group-backend'
15 ),
16 'enablecolumns' => array(
17 'disabled' => 'hidden'
18 ),
19 'title' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups',
20 'useColumnsForDefaultValues' => 'lockToDomain, file_permissions',
21 'versioningWS_alwaysAllowLiveEdit' => TRUE,
22 'searchFields' => 'title'
23 ),
24 'interface' => array(
25 'showRecordFieldList' => 'title, db_mountpoints, file_mountpoints, file_permissions, tables_select, tables_modify, pagetypes_select, non_exclude_fields, groupMods, lockToDomain, description'
26 ),
27 'columns' => array(
28 'title' => array(
29 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.title',
30 'config' => array(
31 'type' => 'input',
32 'size' => '25',
33 'max' => '50',
34 'eval' => 'trim,required'
35 )
36 ),
37 'db_mountpoints' => array(
38 'label' => 'LLL:EXT:lang/locallang_tca.xlf:db_mountpoints',
39 'config' => array(
40 'type' => 'group',
41 'internal_type' => 'db',
42 'allowed' => 'pages',
43 'size' => '3',
44 'maxitems' => 100,
45 'autoSizeMax' => 10,
46 'show_thumbs' => '1',
47 'wizards' => array(
48 'suggest' => array(
49 'type' => 'suggest'
50 )
51 )
52 )
53 ),
54 'file_mountpoints' => array(
55 'label' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints',
56 'config' => array(
57 'type' => 'select',
58 'foreign_table' => 'sys_filemounts',
59 'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
60 'size' => '3',
61 'maxitems' => 100,
62 'autoSizeMax' => 10,
63 'iconsInOptionTags' => 1,
64 'wizards' => array(
65 '_PADDING' => 1,
66 '_VERTICAL' => 1,
67 'edit' => array(
68 'type' => 'popup',
69 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_edit_title',
70 'module' => array(
71 'name' => 'wizard_edit',
72 ),
73 'popup_onlyOpenIfSelected' => 1,
74 'icon' => 'edit2.gif',
75 'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'
76 ),
77 'add' => array(
78 'type' => 'script',
79 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_add_title',
80 'icon' => 'add.gif',
81 'params' => array(
82 'table' => 'sys_filemounts',
83 'pid' => '0',
84 'setValue' => 'prepend'
85 ),
86 'module' => array(
87 'name' => 'wizard_add'
88 )
89 ),
90 'list' => array(
91 'type' => 'script',
92 'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_list_title',
93 'icon' => 'list.gif',
94 'params' => array(
95 'table' => 'sys_filemounts',
96 'pid' => '0'
97 ),
98 'module' => array(
99 'name' => 'wizard_list'
100 )
101 )
102 )
103 )
104 ),
105 'file_permissions' => array(
106 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms',
107 'config' => array(
108 'type' => 'select',
109 'items' => array(
110 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder', '--div--', 'apps-filetree-folder-default'),
111 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_read', 'readFolder', 'apps-filetree-folder-default'),
112 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_write', 'writeFolder', 'apps-filetree-folder-default'),
113 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_add', 'addFolder', 'apps-filetree-folder-default'),
114 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_rename', 'renameFolder', 'apps-filetree-folder-default'),
115 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_move', 'moveFolder', 'apps-filetree-folder-default'),
116 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_copy', 'copyFolder', 'apps-filetree-folder-default'),
117 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_delete', 'deleteFolder', 'apps-filetree-folder-default'),
118 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_recursivedelete', 'recursivedeleteFolder', 'apps-filetree-folder-default'),
119 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files', '--div--', 'mimetypes-other-other'),
120 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_read', 'readFile', 'mimetypes-other-other'),
121 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_write', 'writeFile', 'mimetypes-other-other'),
122 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_add', 'addFile', 'mimetypes-other-other'),
123 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_upload', 'files_upload', 'mimetypes-other-other'),
124 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_rename', 'renameFile', 'mimetypes-other-other'),
125 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_move', 'moveFile', 'mimetypes-other-other'),
126 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_copy', 'copyFile', 'mimetypes-other-other'),
127 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_unzip', 'unzipFile', 'mimetypes-other-other'),
128 array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_delete', 'deleteFile', 'mimetypes-other-other')
129 ),
130 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
131 'size' => 17,
132 'maxitems' => 17,
133 'itemListStyle' => 'width:500px',
134 'default' => 'readFolder,writeFolder,addFolder,renameFolder,moveFolder,deleteFolder,readFile,writeFile,addFile,renameFile,moveFile,files_copy,deleteFile'
135 )
136 ),
137 'workspace_perms' => array(
138 'label' => 'LLL:EXT:lang/locallang_tca.xlf:workspace_perms',
139 'config' => array(
140 'type' => 'check',
141 'items' => array(
142 array('LLL:EXT:lang/locallang_tca.xlf:workspace_perms_live', 0)
143 ),
144 'default' => 0
145 )
146 ),
147 'pagetypes_select' => array(
148 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.pagetypes_select',
149 'config' => array(
150 'type' => 'select',
151 'special' => 'pagetypes',
152 'size' => '5',
153 'autoSizeMax' => 50,
154 'maxitems' => 20,
155 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
156 'iconsInOptionTags' => 1
157 )
158 ),
159 'tables_modify' => array(
160 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.tables_modify',
161 'config' => array(
162 'type' => 'select',
163 'special' => 'tables',
164 'size' => '5',
165 'autoSizeMax' => 50,
166 'maxitems' => 100,
167 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
168 'iconsInOptionTags' => 1
169 )
170 ),
171 'tables_select' => array(
172 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.tables_select',
173 'config' => array(
174 'type' => 'select',
175 'special' => 'tables',
176 'size' => '5',
177 'autoSizeMax' => 50,
178 'maxitems' => 100,
179 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
180 'iconsInOptionTags' => 1
181 )
182 ),
183 'non_exclude_fields' => array(
184 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.non_exclude_fields',
185 'config' => array(
186 'type' => 'select',
187 'special' => 'exclude',
188 'size' => '25',
189 'maxitems' => 1000,
190 'autoSizeMax' => 50,
191 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
192 'itemListStyle' => 'width:500px'
193 )
194 ),
195 'explicit_allowdeny' => array(
196 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.explicit_allowdeny',
197 'config' => array(
198 'type' => 'select',
199 'special' => 'explicitValues',
200 'maxitems' => 1000,
201 'renderMode' => 'checkbox'
202 )
203 ),
204 'allowed_languages' => array(
205 'label' => 'LLL:EXT:lang/locallang_tca.xlf:allowed_languages',
206 'config' => array(
207 'type' => 'select',
208 'special' => 'languages',
209 'maxitems' => 1000,
210 'renderMode' => 'checkbox'
211 )
212 ),
213 'custom_options' => array(
214 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.custom_options',
215 'config' => array(
216 'type' => 'select',
217 'special' => 'custom',
218 'maxitems' => 1000,
219 'renderMode' => 'checkbox'
220 )
221 ),
222 'hidden' => array(
223 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
224 'config' => array(
225 'type' => 'check',
226 'default' => '0'
227 )
228 ),
229 'lockToDomain' => array(
230 'label' => 'LLL:EXT:lang/locallang_tca.xlf:lockToDomain',
231 'config' => array(
232 'type' => 'input',
233 'size' => '20',
234 'eval' => 'trim',
235 'max' => '50',
236 'softref' => 'substitute'
237 )
238 ),
239 'groupMods' => array(
240 'label' => 'LLL:EXT:lang/locallang_tca.xlf:userMods',
241 'config' => array(
242 'type' => 'select',
243 'special' => 'modListGroup',
244 'size' => '5',
245 'autoSizeMax' => 50,
246 'maxitems' => 100,
247 'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
248 'iconsInOptionTags' => 1
249 )
250 ),
251 'description' => array(
252 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
253 'config' => array(
254 'type' => 'text',
255 'rows' => 5,
256 'cols' => 30
257 )
258 ),
259 'TSconfig' => array(
260 'label' => 'LLL:EXT:lang/locallang_tca.xlf:TSconfig',
261 'config' => array(
262 'type' => 'text',
263 'cols' => '40',
264 'rows' => '5',
265 'softref' => 'TSconfig'
266 ),
267 'defaultExtras' => 'fixed-font : enable-tab'
268 ),
269 'hide_in_lists' => array(
270 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.hide_in_lists',
271 'config' => array(
272 'type' => 'check',
273 'default' => 0
274 )
275 ),
276 'subgroup' => array(
277 'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.subgroup',
278 'config' => array(
279 'type' => 'select',
280 'foreign_table' => 'be_groups',
281 'foreign_table_where' => 'AND NOT(be_groups.uid = ###THIS_UID###) AND be_groups.hidden=0 ORDER BY be_groups.title',
282 'size' => '5',
283 'autoSizeMax' => 50,
284 'maxitems' => 20,
285 'iconsInOptionTags' => 1
286 )
287 ),
288 'category_perms' => array(
289 'label' => 'LLL:EXT:lang/locallang_tca.xlf:category_perms',
290 'config' => array(
291 'type' => 'select',
292 'foreign_table' => 'sys_category',
293 'foreign_table_where' => ' AND (sys_category.sys_language_uid = 0 OR sys_category.l10n_parent = 0) ORDER BY sys_category.sorting',
294 'renderMode' => 'tree',
295 'treeConfig' => array(
296 'parentField' => 'parent',
297 'appearance' => array(
298 'expandAll' => FALSE,
299 'showHeader' => FALSE,
300 'maxLevels' => 99,
301 ),
302 ),
303 'size' => 10,
304 'autoSizeMax' => 20,
305 'minitems' => 0,
306 'maxitems' => 9999
307 )
308 )
309 ),
310 'types' => array(
311 '0' => array('showitem' => 'hidden, title, description, subgroup,
312 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny, allowed_languages, custom_options,
313 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms, db_mountpoints, file_mountpoints, file_permissions, category_perms,
314 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain, hide_in_lists, TSconfig,
315 --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.extended'),
316 )
317 );