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