[TASK] Set imagecols by default in PHP, not UserTSconfig
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Configuration / TCA / tt_content.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'header',
5 'label_alt' => 'subheader,bodytext',
6 'sortby' => 'sorting',
7 'tstamp' => 'tstamp',
8 'crdate' => 'crdate',
9 'cruser_id' => 'cruser_id',
10 'title' => 'LLL:EXT:cms/locallang_tca.xlf:tt_content',
11 'delete' => 'deleted',
12 'versioningWS' => 2,
13 'versioning_followPages' => TRUE,
14 'origUid' => 't3_origuid',
15 'type' => 'CType',
16 'hideAtCopy' => TRUE,
17 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
18 'copyAfterDuplFields' => 'colPos,sys_language_uid',
19 'useColumnsForDefaultValues' => 'colPos,sys_language_uid',
20 'shadowColumnsForNewPlaceholders' => 'colPos',
21 'transOrigPointerField' => 'l18n_parent',
22 'transOrigDiffSourceField' => 'l18n_diffsource',
23 'languageField' => 'sys_language_uid',
24 'enablecolumns' => array(
25 'disabled' => 'hidden',
26 'starttime' => 'starttime',
27 'endtime' => 'endtime',
28 'fe_group' => 'fe_group'
29 ),
30 'typeicon_column' => 'CType',
31 'typeicon_classes' => array(
32 'header' => 'mimetypes-x-content-header',
33 'textpic' => 'mimetypes-x-content-text-picture',
34 'image' => 'mimetypes-x-content-image',
35 'bullets' => 'mimetypes-x-content-list-bullets',
36 'table' => 'mimetypes-x-content-table',
37 'uploads' => 'mimetypes-x-content-list-files',
38 'menu' => 'mimetypes-x-content-menu',
39 'list' => 'mimetypes-x-content-plugin',
40 'login' => 'mimetypes-x-content-login',
41 'shortcut' => 'mimetypes-x-content-link',
42 'script' => 'mimetypes-x-content-script',
43 'div' => 'mimetypes-x-content-divider',
44 'html' => 'mimetypes-x-content-html',
45 'text' => 'mimetypes-x-content-text',
46 'default' => 'mimetypes-x-content-text'
47 ),
48 'typeicons' => array(
49 'header' => 'tt_content_header.gif',
50 'textpic' => 'tt_content_textpic.gif',
51 'image' => 'tt_content_image.gif',
52 'bullets' => 'tt_content_bullets.gif',
53 'table' => 'tt_content_table.gif',
54 'uploads' => 'tt_content_uploads.gif',
55 'menu' => 'tt_content_menu.gif',
56 'list' => 'tt_content_list.gif',
57 'login' => 'tt_content_login.gif',
58 'shortcut' => 'tt_content_shortcut.gif',
59 'script' => 'tt_content_script.gif',
60 'div' => 'tt_content_div.gif',
61 'html' => 'tt_content_html.gif'
62 ),
63 'thumbnail' => 'image',
64 'requestUpdate' => 'list_type,rte_enabled,menu_type',
65 'searchFields' => 'header,header_link,subheader,bodytext,pi_flexform'
66 ),
67 'interface' => array(
68 'always_description' => 0,
69 'showRecordFieldList' => 'CType,header,header_link,bodytext,image,media,imagewidth,imageorient,records,colPos,starttime,endtime,fe_group'
70 ),
71 'columns' => array(
72 'CType' => array(
73 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
74 'config' => array(
75 'type' => 'select',
76 'items' => array(
77 array(
78 'LLL:EXT:cms/locallang_ttc.xlf:CType.div.standard',
79 '--div--'
80 ),
81 array(
82 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.0',
83 'header',
84 'i/tt_content_header.gif'
85 ),
86 array(
87 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.1',
88 'text',
89 'i/tt_content.gif'
90 ),
91 array(
92 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.2',
93 'textpic',
94 'i/tt_content_textpic.gif'
95 ),
96 array(
97 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.3',
98 'image',
99 'i/tt_content_image.gif'
100 ),
101 array(
102 'LLL:EXT:cms/locallang_ttc.xlf:CType.div.lists',
103 '--div--'
104 ),
105 array(
106 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.4',
107 'bullets',
108 'i/tt_content_bullets.gif'
109 ),
110 array(
111 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.5',
112 'table',
113 'i/tt_content_table.gif'
114 ),
115 array(
116 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.6',
117 'uploads',
118 'i/tt_content_uploads.gif'
119 ),
120 array(
121 'LLL:EXT:cms/locallang_ttc.xlf:CType.div.special',
122 '--div--'
123 ),
124 array(
125 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.12',
126 'menu',
127 'i/tt_content_menu.gif'
128 ),
129 array(
130 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.13',
131 'shortcut',
132 'i/tt_content_shortcut.gif'
133 ),
134 array(
135 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.14',
136 'list',
137 'i/tt_content_list.gif'
138 ),
139 array(
140 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.16',
141 'div',
142 'i/tt_content_div.gif'
143 ),
144 array(
145 'LLL:EXT:cms/locallang_ttc.xlf:CType.I.17',
146 'html',
147 'i/tt_content_html.gif'
148 )
149 ),
150 'default' => 'text',
151 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
152 'authMode_enforce' => 'strict',
153 'iconsInOptionTags' => 1,
154 'noIconsBelowSelect' => 1
155 )
156 ),
157 'hidden' => array(
158 'exclude' => 1,
159 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
160 'config' => array(
161 'type' => 'check',
162 'items' => array(
163 '1' => array(
164 '0' => 'LLL:EXT:cms/locallang_ttc.xlf:hidden.I.0'
165 )
166 )
167 )
168 ),
169 'starttime' => array(
170 'exclude' => 1,
171 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
172 'config' => array(
173 'type' => 'input',
174 'size' => '13',
175 'max' => '20',
176 'eval' => 'datetime',
177 'default' => '0'
178 ),
179 'l10n_mode' => 'exclude',
180 'l10n_display' => 'defaultAsReadonly'
181 ),
182 'endtime' => array(
183 'exclude' => 1,
184 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
185 'config' => array(
186 'type' => 'input',
187 'size' => '13',
188 'max' => '20',
189 'eval' => 'datetime',
190 'default' => '0',
191 'range' => array(
192 'upper' => mktime(0, 0, 0, 12, 31, 2020)
193 )
194 ),
195 'l10n_mode' => 'exclude',
196 'l10n_display' => 'defaultAsReadonly'
197 ),
198 'fe_group' => array(
199 'exclude' => 1,
200 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.fe_group',
201 'config' => array(
202 'type' => 'select',
203 'size' => 5,
204 'maxitems' => 20,
205 'items' => array(
206 array(
207 'LLL:EXT:lang/locallang_general.xlf:LGL.hide_at_login',
208 -1
209 ),
210 array(
211 'LLL:EXT:lang/locallang_general.xlf:LGL.any_login',
212 -2
213 ),
214 array(
215 'LLL:EXT:lang/locallang_general.xlf:LGL.usergroups',
216 '--div--'
217 )
218 ),
219 'exclusiveKeys' => '-1,-2',
220 'foreign_table' => 'fe_groups',
221 'foreign_table_where' => 'ORDER BY fe_groups.title'
222 )
223 ),
224 'sys_language_uid' => array(
225 'exclude' => 1,
226 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
227 'config' => array(
228 'type' => 'select',
229 'foreign_table' => 'sys_language',
230 'foreign_table_where' => 'ORDER BY sys_language.title',
231 'items' => array(
232 array(
233 'LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages',
234 -1
235 ),
236 array(
237 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
238 0
239 )
240 )
241 )
242 ),
243 'l18n_parent' => array(
244 'displayCond' => 'FIELD:sys_language_uid:>:0',
245 'exclude' => 1,
246 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
247 'config' => array(
248 'type' => 'select',
249 'items' => array(
250 array(
251 '',
252 0
253 )
254 ),
255 'foreign_table' => 'tt_content',
256 'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.sys_language_uid IN (-1,0)'
257 )
258 ),
259 'layout' => array(
260 'exclude' => 1,
261 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.layout',
262 'config' => array(
263 'type' => 'select',
264 'items' => array(
265 array(
266 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
267 '0'
268 ),
269 array(
270 'LLL:EXT:cms/locallang_ttc.xlf:layout.I.1',
271 '1'
272 ),
273 array(
274 'LLL:EXT:cms/locallang_ttc.xlf:layout.I.2',
275 '2'
276 ),
277 array(
278 'LLL:EXT:cms/locallang_ttc.xlf:layout.I.3',
279 '3'
280 )
281 ),
282 'default' => '0'
283 )
284 ),
285 'colPos' => array(
286 'exclude' => 1,
287 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:colPos',
288 'config' => array(
289 'type' => 'select',
290 'itemsProcFunc' => \TYPO3\CMS\Backend\View\BackendLayoutView::class . '->colPosListItemProcFunc',
291 'items' => array(
292 array(
293 'LLL:EXT:cms/locallang_ttc.xlf:colPos.I.0',
294 '1'
295 ),
296 array(
297 'LLL:EXT:lang/locallang_general.xlf:LGL.normal',
298 '0'
299 ),
300 array(
301 'LLL:EXT:cms/locallang_ttc.xlf:colPos.I.2',
302 '2'
303 ),
304 array(
305 'LLL:EXT:cms/locallang_ttc.xlf:colPos.I.3',
306 '3'
307 )
308 ),
309 'default' => '0'
310 )
311 ),
312 'date' => array(
313 'exclude' => 1,
314 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:date',
315 'config' => array(
316 'type' => 'input',
317 'size' => '13',
318 'max' => '20',
319 'eval' => 'date',
320 'default' => '0'
321 )
322 ),
323 'header' => array(
324 'l10n_mode' => 'prefixLangTitle',
325 'l10n_cat' => 'text',
326 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:header',
327 'config' => array(
328 'type' => 'input',
329 'size' => '50',
330 'max' => '256'
331 )
332 ),
333 'header_position' => array(
334 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:header_position',
335 'exclude' => 1,
336 'config' => array(
337 'type' => 'select',
338 'items' => array(
339 array(
340 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
341 ''
342 ),
343 array(
344 'LLL:EXT:cms/locallang_ttc.xlf:header_position.I.1',
345 'center'
346 ),
347 array(
348 'LLL:EXT:cms/locallang_ttc.xlf:header_position.I.2',
349 'right'
350 ),
351 array(
352 'LLL:EXT:cms/locallang_ttc.xlf:header_position.I.3',
353 'left'
354 )
355 ),
356 'default' => ''
357 )
358 ),
359 'header_link' => array(
360 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:header_link',
361 'exclude' => 1,
362 'config' => array(
363 'type' => 'input',
364 'size' => 50,
365 'max' => 1024,
366 'eval' => 'trim',
367 'wizards' => array(
368 'link' => array(
369 'type' => 'popup',
370 'title' => 'LLL:EXT:cms/locallang_ttc.xlf:header_link_formlabel',
371 'icon' => 'link_popup.gif',
372 'module' => array(
373 'name' => 'wizard_element_browser',
374 'urlParameters' => array(
375 'mode' => 'wizard'
376 )
377 ),
378 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
379 )
380 ),
381 'softref' => 'typolink'
382 )
383 ),
384 'header_layout' => array(
385 'exclude' => 1,
386 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
387 'config' => array(
388 'type' => 'select',
389 'items' => array(
390 array(
391 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
392 '0'
393 ),
394 array(
395 'LLL:EXT:cms/locallang_ttc.xlf:header_layout.I.1',
396 '1'
397 ),
398 array(
399 'LLL:EXT:cms/locallang_ttc.xlf:header_layout.I.2',
400 '2'
401 ),
402 array(
403 'LLL:EXT:cms/locallang_ttc.xlf:header_layout.I.3',
404 '3'
405 ),
406 array(
407 'LLL:EXT:cms/locallang_ttc.xlf:header_layout.I.4',
408 '4'
409 ),
410 array(
411 'LLL:EXT:cms/locallang_ttc.xlf:header_layout.I.5',
412 '5'
413 ),
414 array(
415 'LLL:EXT:cms/locallang_ttc.xlf:header_layout.I.6',
416 '100'
417 )
418 ),
419 'default' => '0'
420 )
421 ),
422 'subheader' => array(
423 'exclude' => 1,
424 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.subheader',
425 'config' => array(
426 'type' => 'input',
427 'size' => '50',
428 'max' => '256',
429 'softref' => 'email[subst]'
430 )
431 ),
432 'bodytext' => array(
433 'l10n_mode' => 'prefixLangTitle',
434 'l10n_cat' => 'text',
435 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.text',
436 'config' => array(
437 'type' => 'text',
438 'cols' => '80',
439 'rows' => '15',
440 'wizards' => array(
441 'RTE' => array(
442 'notNewRecords' => 1,
443 'RTEonly' => 1,
444 'type' => 'script',
445 'title' => 'LLL:EXT:cms/locallang_ttc.xlf:bodytext.W.RTE',
446 'icon' => 'wizard_rte2.gif',
447 'module' => array(
448 'name' => 'wizard_rte'
449 )
450 ),
451 'table' => array(
452 'notNewRecords' => 1,
453 'enableByTypeConfig' => 1,
454 'type' => 'script',
455 'title' => 'LLL:EXT:cms/locallang_ttc.xlf:bodytext.W.table',
456 'icon' => 'wizard_table.gif',
457 'module' => array(
458 'name' => 'wizard_table'
459 ),
460 'params' => array(
461 'xmlOutput' => 0
462 )
463 )
464 ),
465 'softref' => 'typolink_tag,images,email[subst],url',
466 'search' => array(
467 'andWhere' => 'CType=\'text\' OR CType=\'textpic\''
468 )
469 )
470 ),
471 'image' => array(
472 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.images',
473 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('image', array(
474 'appearance' => array(
475 'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
476 ),
477 // custom configuration for displaying fields in the overlay/reference table
478 // to use the imageoverlayPalette instead of the basicoverlayPalette
479 'foreign_types' => array(
480 '0' => array(
481 'showitem' => '
482 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
483 --palette--;;filePalette'
484 ),
485 \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => array(
486 'showitem' => '
487 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
488 --palette--;;filePalette'
489 ),
490 \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array(
491 'showitem' => '
492 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
493 --palette--;;filePalette'
494 ),
495 \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => array(
496 'showitem' => '
497 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
498 --palette--;;filePalette'
499 ),
500 \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => array(
501 'showitem' => '
502 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
503 --palette--;;filePalette'
504 ),
505 \TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => array(
506 'showitem' => '
507 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
508 --palette--;;filePalette'
509 )
510 )
511 ), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
512 ),
513 'imagewidth' => array(
514 'exclude' => 1,
515 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:imagewidth',
516 'config' => array(
517 'type' => 'input',
518 'size' => '4',
519 'max' => '4',
520 'eval' => 'int',
521 'range' => array(
522 'upper' => '999',
523 'lower' => '25'
524 ),
525 'default' => 0
526 )
527 ),
528 'imageheight' => array(
529 'exclude' => 1,
530 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:imageheight',
531 'config' => array(
532 'type' => 'input',
533 'size' => '4',
534 'max' => '4',
535 'eval' => 'int',
536 'range' => array(
537 'upper' => '700',
538 'lower' => '25'
539 ),
540 'default' => 0
541 )
542 ),
543 'imageorient' => array(
544 'exclude' => 1,
545 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:imageorient',
546 'config' => array(
547 'type' => 'select',
548 'items' => array(
549 array(
550 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.0',
551 0,
552 'EXT:frontend/Resources/Public/Icons/ImageOrientation/above_center.gif'
553 ),
554 array(
555 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.1',
556 1,
557 'EXT:frontend/Resources/Public/Icons/ImageOrientation/above_right.gif'
558 ),
559 array(
560 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.2',
561 2,
562 'EXT:frontend/Resources/Public/Icons/ImageOrientation/above_left.gif'
563 ),
564 array(
565 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.3',
566 8,
567 'EXT:frontend/Resources/Public/Icons/ImageOrientation/below_center.gif'
568 ),
569 array(
570 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.4',
571 9,
572 'EXT:frontend/Resources/Public/Icons/ImageOrientation/below_right.gif'
573 ),
574 array(
575 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.5',
576 10,
577 'EXT:frontend/Resources/Public/Icons/ImageOrientation/below_left.gif'
578 ),
579 array(
580 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.6',
581 17,
582 'EXT:frontend/Resources/Public/Icons/ImageOrientation/intext_right.gif'
583 ),
584 array(
585 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.7',
586 18,
587 'EXT:frontend/Resources/Public/Icons/ImageOrientation/intext_left.gif'
588 ),
589 array(
590 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.8',
591 '--div--'
592 ),
593 array(
594 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.9',
595 25,
596 'EXT:frontend/Resources/Public/Icons/ImageOrientation/intext_right_nowrap.gif'
597 ),
598 array(
599 'LLL:EXT:cms/locallang_ttc.xlf:imageorient.I.10',
600 26,
601 'EXT:frontend/Resources/Public/Icons/ImageOrientation/intext_left_nowrap.gif'
602 )
603 ),
604 'selicon_cols' => 6,
605 'default' => '0',
606 'iconsInOptionTags' => 1
607 )
608 ),
609 'imageborder' => array(
610 'exclude' => 1,
611 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:imageborder',
612 'config' => array(
613 'type' => 'check',
614 'items' => array(
615 '1' => array(
616 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
617 )
618 )
619 )
620 ),
621 'image_noRows' => array(
622 'exclude' => 1,
623 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_noRows',
624 'config' => array(
625 'type' => 'check',
626 'items' => array(
627 '1' => array(
628 '0' => 'LLL:EXT:cms/locallang_ttc.xlf:image_noRows.I.0'
629 )
630 )
631 )
632 ),
633 'image_link' => array(
634 'exclude' => 1,
635 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_link',
636 'config' => array(
637 'type' => 'text',
638 'cols' => '30',
639 'rows' => '3',
640 'wizards' => array(
641 'link' => array(
642 'type' => 'popup',
643 'title' => 'LLL:EXT:cms/locallang_ttc.xlf:image_link_formlabel',
644 'icon' => 'link_popup.gif',
645 'module' => array(
646 'name' => 'wizard_element_browser',
647 'urlParameters' => array(
648 'mode' => 'wizard'
649 )
650 ),
651 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
652 )
653 ),
654 'softref' => 'typolink[linkList]'
655 )
656 ),
657 'image_zoom' => array(
658 'exclude' => 1,
659 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_zoom',
660 'config' => array(
661 'type' => 'check',
662 'items' => array(
663 '1' => array(
664 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
665 )
666 )
667 )
668 ),
669 'image_effects' => array(
670 'exclude' => 1,
671 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_effects',
672 'config' => array(
673 'type' => 'select',
674 'items' => array(
675 array(
676 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.0',
677 0
678 ),
679 array(
680 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.1',
681 1
682 ),
683 array(
684 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.2',
685 2
686 ),
687 array(
688 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.3',
689 3
690 ),
691 array(
692 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.4',
693 10
694 ),
695 array(
696 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.5',
697 11
698 ),
699 array(
700 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.6',
701 20
702 ),
703 array(
704 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.7',
705 23
706 ),
707 array(
708 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.8',
709 25
710 ),
711 array(
712 'LLL:EXT:cms/locallang_ttc.xlf:image_effects.I.9',
713 26
714 )
715 )
716 )
717 ),
718 'image_frames' => array(
719 'exclude' => 1,
720 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_frames',
721 'config' => array(
722 'type' => 'select',
723 'items' => array(
724 array(
725 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.0',
726 0
727 ),
728 array(
729 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.1',
730 1
731 ),
732 array(
733 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.2',
734 2
735 ),
736 array(
737 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.3',
738 3
739 ),
740 array(
741 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.4',
742 4
743 ),
744 array(
745 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.5',
746 5
747 ),
748 array(
749 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.6',
750 6
751 ),
752 array(
753 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.7',
754 7
755 ),
756 array(
757 'LLL:EXT:cms/locallang_ttc.xlf:image_frames.I.8',
758 8
759 )
760 )
761 )
762 ),
763 'image_compression' => array(
764 'exclude' => 1,
765 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_compression',
766 'config' => array(
767 'type' => 'select',
768 'items' => array(
769 array(
770 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
771 0
772 ),
773 array(
774 'LLL:EXT:cms/locallang_ttc.xlf:image_compression.I.1',
775 1
776 ),
777 array(
778 'GIF/256',
779 10
780 ),
781 array(
782 'GIF/128',
783 11
784 ),
785 array(
786 'GIF/64',
787 12
788 ),
789 array(
790 'GIF/32',
791 13
792 ),
793 array(
794 'GIF/16',
795 14
796 ),
797 array(
798 'GIF/8',
799 15
800 ),
801 array(
802 'PNG',
803 39
804 ),
805 array(
806 'PNG/256',
807 30
808 ),
809 array(
810 'PNG/128',
811 31
812 ),
813 array(
814 'PNG/64',
815 32
816 ),
817 array(
818 'PNG/32',
819 33
820 ),
821 array(
822 'PNG/16',
823 34
824 ),
825 array(
826 'PNG/8',
827 35
828 ),
829 array(
830 'LLL:EXT:cms/locallang_ttc.xlf:image_compression.I.15',
831 21
832 ),
833 array(
834 'LLL:EXT:cms/locallang_ttc.xlf:image_compression.I.16',
835 22
836 ),
837 array(
838 'LLL:EXT:cms/locallang_ttc.xlf:image_compression.I.17',
839 24
840 ),
841 array(
842 'LLL:EXT:cms/locallang_ttc.xlf:image_compression.I.18',
843 26
844 ),
845 array(
846 'LLL:EXT:cms/locallang_ttc.xlf:image_compression.I.19',
847 28
848 )
849 )
850 )
851 ),
852 'imagecols' => array(
853 'exclude' => 1,
854 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:imagecols',
855 'config' => array(
856 'type' => 'select',
857 'items' => array(
858 array(
859 '1',
860 1
861 ),
862 array(
863 '2',
864 2
865 ),
866 array(
867 '3',
868 3
869 ),
870 array(
871 '4',
872 4
873 ),
874 array(
875 '5',
876 5
877 ),
878 array(
879 '6',
880 6
881 ),
882 array(
883 '7',
884 7
885 ),
886 array(
887 '8',
888 8
889 )
890 ),
891 'default' => 2
892 )
893 ),
894 'imagecaption' => array(
895 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.caption',
896 'config' => array(
897 'type' => 'text',
898 'cols' => '30',
899 'rows' => '3',
900 'softref' => 'typolink_tag,images,email[subst],url'
901 )
902 ),
903 'imagecaption_position' => array(
904 'exclude' => 1,
905 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:imagecaption_position',
906 'config' => array(
907 'type' => 'select',
908 'items' => array(
909 array(
910 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
911 ''
912 ),
913 array(
914 'LLL:EXT:cms/locallang_ttc.xlf:imagecaption_position.I.1',
915 'center'
916 ),
917 array(
918 'LLL:EXT:cms/locallang_ttc.xlf:imagecaption_position.I.2',
919 'right'
920 ),
921 array(
922 'LLL:EXT:cms/locallang_ttc.xlf:imagecaption_position.I.3',
923 'left'
924 )
925 ),
926 'default' => ''
927 )
928 ),
929 'altText' => array(
930 'exclude' => 1,
931 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_altText',
932 'config' => array(
933 'type' => 'text',
934 'cols' => '30',
935 'rows' => '3'
936 )
937 ),
938 'titleText' => array(
939 'exclude' => 1,
940 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_titleText',
941 'config' => array(
942 'type' => 'text',
943 'cols' => '30',
944 'rows' => '3'
945 )
946 ),
947 'longdescURL' => array(
948 'exclude' => 1,
949 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:image_longdescURL',
950 'config' => array(
951 'type' => 'text',
952 'cols' => '30',
953 'rows' => '3',
954 'wizards' => array(
955 'link' => array(
956 'type' => 'popup',
957 'title' => 'LLL:EXT:cms/locallang_ttc.xlf:image_link_formlabel',
958 'icon' => 'link_popup.gif',
959 'module' => array(
960 'name' => 'wizard_element_browser',
961 'urlParameters' => array(
962 'mode' => 'wizard'
963 )
964 ),
965 'params' => array(
966 'blindLinkOptions' => 'folder,file,mail,spec',
967 'blindLinkFields' => 'target,title,class,params'
968 ),
969 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
970 )
971 ),
972 'softref' => 'typolink[linkList]'
973 )
974 ),
975 'cols' => array(
976 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:cols',
977 'config' => array(
978 'type' => 'select',
979 'items' => array(
980 array(
981 'LLL:EXT:cms/locallang_ttc.xlf:cols.I.0',
982 '0'
983 ),
984 array(
985 '1',
986 '1'
987 ),
988 array(
989 '2',
990 '2'
991 ),
992 array(
993 '3',
994 '3'
995 ),
996 array(
997 '4',
998 '4'
999 ),
1000 array(
1001 '5',
1002 '5'
1003 ),
1004 array(
1005 '6',
1006 '6'
1007 ),
1008 array(
1009 '7',
1010 '7'
1011 ),
1012 array(
1013 '8',
1014 '8'
1015 ),
1016 array(
1017 '9',
1018 '9'
1019 )
1020 ),
1021 'default' => '0'
1022 )
1023 ),
1024 'pages' => array(
1025 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.startingpoint',
1026 'config' => array(
1027 'type' => 'group',
1028 'internal_type' => 'db',
1029 'allowed' => 'pages',
1030 'size' => '3',
1031 'maxitems' => '22',
1032 'minitems' => '0',
1033 'show_thumbs' => '1',
1034 'wizards' => array(
1035 'suggest' => array(
1036 'type' => 'suggest'
1037 )
1038 )
1039 )
1040 ),
1041 'recursive' => array(
1042 'exclude' => 1,
1043 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.recursive',
1044 'config' => array(
1045 'type' => 'select',
1046 'items' => array(
1047 array(
1048 'LLL:EXT:cms/locallang_ttc.xlf:recursive.I.0',
1049 '0'
1050 ),
1051 array(
1052 'LLL:EXT:cms/locallang_ttc.xlf:recursive.I.1',
1053 '1'
1054 ),
1055 array(
1056 'LLL:EXT:cms/locallang_ttc.xlf:recursive.I.2',
1057 '2'
1058 ),
1059 array(
1060 'LLL:EXT:cms/locallang_ttc.xlf:recursive.I.3',
1061 '3'
1062 ),
1063 array(
1064 'LLL:EXT:cms/locallang_ttc.xlf:recursive.I.4',
1065 '4'
1066 ),
1067 array(
1068 'LLL:EXT:cms/locallang_ttc.xlf:recursive.I.5',
1069 '250'
1070 )
1071 ),
1072 'default' => '0'
1073 )
1074 ),
1075 'menu_type' => array(
1076 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:menu_type',
1077 'config' => array(
1078 'type' => 'select',
1079 'items' => array(
1080 array(
1081 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.0',
1082 '0'
1083 ),
1084 array(
1085 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.1',
1086 '1'
1087 ),
1088 array(
1089 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.2',
1090 '4'
1091 ),
1092 array(
1093 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.3',
1094 '7'
1095 ),
1096 array(
1097 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.4',
1098 '2'
1099 ),
1100 array(
1101 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.8',
1102 '8'
1103 ),
1104 array(
1105 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.5',
1106 '3'
1107 ),
1108 array(
1109 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.6',
1110 '5'
1111 ),
1112 array(
1113 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.7',
1114 '6'
1115 ),
1116 array(
1117 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.categorized_pages',
1118 'categorized_pages'
1119 ),
1120 array(
1121 'LLL:EXT:cms/locallang_ttc.xlf:menu_type.I.categorized_content',
1122 'categorized_content'
1123 )
1124 ),
1125 'default' => '0'
1126 )
1127 ),
1128 'list_type' => array(
1129 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:list_type',
1130 'config' => array(
1131 'type' => 'select',
1132 'items' => array(
1133 array(
1134 '',
1135 '',
1136 ''
1137 )
1138 ),
1139 'itemsProcFunc' => \TYPO3\CMS\Frontend\Hooks\TableColumnHooks::class . '->sortPluginList',
1140 'default' => '',
1141 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
1142 'iconsInOptionTags' => 1,
1143 'noIconsBelowSelect' => 1
1144 )
1145 ),
1146 'select_key' => array(
1147 'exclude' => 1,
1148 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.code',
1149 'config' => array(
1150 'type' => 'input',
1151 'size' => '50',
1152 'max' => '80',
1153 'eval' => 'trim'
1154 )
1155 ),
1156 'table_bgColor' => array(
1157 'exclude' => 1,
1158 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor',
1159 'config' => array(
1160 'type' => 'select',
1161 'items' => array(
1162 array(
1163 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
1164 '0'
1165 ),
1166 array(
1167 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor.I.1',
1168 '1'
1169 ),
1170 array(
1171 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor.I.2',
1172 '2'
1173 ),
1174 array(
1175 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor.I.3',
1176 '200'
1177 ),
1178 array(
1179 '-----',
1180 '--div--'
1181 ),
1182 array(
1183 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor.I.5',
1184 '240'
1185 ),
1186 array(
1187 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor.I.6',
1188 '241'
1189 ),
1190 array(
1191 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor.I.7',
1192 '242'
1193 ),
1194 array(
1195 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor.I.8',
1196 '243'
1197 ),
1198 array(
1199 'LLL:EXT:cms/locallang_ttc.xlf:table_bgColor.I.9',
1200 '244'
1201 )
1202 ),
1203 'default' => '0'
1204 )
1205 ),
1206 'table_border' => array(
1207 'exclude' => 1,
1208 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:table_border',
1209 'config' => array(
1210 'type' => 'input',
1211 'size' => '3',
1212 'max' => '3',
1213 'eval' => 'int',
1214 'range' => array(
1215 'upper' => '20',
1216 'lower' => '0'
1217 ),
1218 'default' => 0
1219 )
1220 ),
1221 'table_cellspacing' => array(
1222 'exclude' => 1,
1223 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:table_cellspacing',
1224 'config' => array(
1225 'type' => 'input',
1226 'size' => '3',
1227 'max' => '3',
1228 'eval' => 'int',
1229 'range' => array(
1230 'upper' => '200',
1231 'lower' => '0'
1232 ),
1233 'default' => 0
1234 )
1235 ),
1236 'table_cellpadding' => array(
1237 'exclude' => 1,
1238 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:table_cellpadding',
1239 'config' => array(
1240 'type' => 'input',
1241 'size' => '3',
1242 'max' => '3',
1243 'eval' => 'int',
1244 'range' => array(
1245 'upper' => '200',
1246 'lower' => '0'
1247 ),
1248 'default' => 0
1249 )
1250 ),
1251 'file_collections' => array(
1252 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:file_collections',
1253 'config' => array(
1254 'type' => 'group',
1255 'internal_type' => 'db',
1256 'localizeReferencesAtParentLocalization' => TRUE,
1257 'allowed' => 'sys_file_collection',
1258 'foreign_table' => 'sys_file_collection',
1259 'maxitems' => 999,
1260 'minitems' => 0,
1261 'size' => 5,
1262 )
1263 ),
1264 'media' => array(
1265 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:media',
1266 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('media', array(
1267 'appearance' => array(
1268 'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:media.addFileReference'
1269 )
1270 ))
1271 ),
1272 'filelink_size' => array(
1273 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:filelink_size',
1274 'config' => array(
1275 'type' => 'check',
1276 'items' => array(
1277 '1' => array(
1278 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
1279 )
1280 )
1281 )
1282 ),
1283 'filelink_sorting' => array(
1284 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting',
1285 'config' => array(
1286 'type' => 'select',
1287 'items' => array(
1288 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.none', ''),
1289 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.extension', 'extension'),
1290 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.name', 'name'),
1291 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.type', 'type'),
1292 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.size', 'size')
1293 )
1294 )
1295 ),
1296 'target' => array(
1297 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:target',
1298 'config' => array(
1299 'type' => 'input',
1300 'size' => 20,
1301 'eval' => 'trim',
1302 'wizards' => array(
1303 'target_picker' => array(
1304 'type' => 'select',
1305 'mode' => '',
1306 'items' => array(
1307 array('LLL:EXT:cms/locallang_ttc.xlf:target.I.1', '_blank')
1308 )
1309 )
1310 ),
1311 'default' => ''
1312 )
1313 ),
1314 'records' => array(
1315 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:records',
1316 'config' => array(
1317 'type' => 'group',
1318 'internal_type' => 'db',
1319 'allowed' => 'tt_content',
1320 'size' => '5',
1321 'maxitems' => '200',
1322 'minitems' => '0',
1323 'show_thumbs' => '1',
1324 'wizards' => array(
1325 'suggest' => array(
1326 'type' => 'suggest'
1327 )
1328 )
1329 )
1330 ),
1331 'spaceBefore' => array(
1332 'exclude' => 1,
1333 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:spaceBefore',
1334 'config' => array(
1335 'type' => 'input',
1336 'size' => '5',
1337 'max' => '5',
1338 'eval' => 'int',
1339 'range' => array(
1340 'lower' => '0'
1341 ),
1342 'default' => 0
1343 )
1344 ),
1345 'spaceAfter' => array(
1346 'exclude' => 1,
1347 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:spaceAfter',
1348 'config' => array(
1349 'type' => 'input',
1350 'size' => '5',
1351 'max' => '5',
1352 'eval' => 'int',
1353 'range' => array(
1354 'lower' => '0'
1355 ),
1356 'default' => 0
1357 )
1358 ),
1359 'section_frame' => array(
1360 'exclude' => 1,
1361 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:section_frame',
1362 'config' => array(
1363 'type' => 'select',
1364 'items' => array(
1365 array(
1366 '',
1367 '0'
1368 ),
1369 array(
1370 'LLL:EXT:cms/locallang_ttc.xlf:section_frame.I.1',
1371 '1'
1372 ),
1373 array(
1374 'LLL:EXT:cms/locallang_ttc.xlf:section_frame.I.2',
1375 '5'
1376 ),
1377 array(
1378 'LLL:EXT:cms/locallang_ttc.xlf:section_frame.I.3',
1379 '6'
1380 ),
1381 array(
1382 'LLL:EXT:cms/locallang_ttc.xlf:section_frame.I.4',
1383 '10'
1384 ),
1385 array(
1386 'LLL:EXT:cms/locallang_ttc.xlf:section_frame.I.5',
1387 '11'
1388 ),
1389 array(
1390 'LLL:EXT:cms/locallang_ttc.xlf:section_frame.I.6',
1391 '12'
1392 ),
1393 array(
1394 'LLL:EXT:cms/locallang_ttc.xlf:section_frame.I.7',
1395 '20'
1396 ),
1397 array(
1398 'LLL:EXT:cms/locallang_ttc.xlf:section_frame.I.8',
1399 '21'
1400 )
1401 ),
1402 'default' => '0'
1403 )
1404 ),
1405 'sectionIndex' => array(
1406 'exclude' => 1,
1407 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:sectionIndex',
1408 'config' => array(
1409 'type' => 'check',
1410 'default' => 1,
1411 'items' => array(
1412 '1' => array(
1413 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
1414 )
1415 )
1416 )
1417 ),
1418 'linkToTop' => array(
1419 'exclude' => 1,
1420 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:linkToTop',
1421 'config' => array(
1422 'type' => 'check',
1423 'items' => array(
1424 '1' => array(
1425 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
1426 )
1427 )
1428 )
1429 ),
1430 'rte_enabled' => array(
1431 'exclude' => 1,
1432 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:rte_enabled',
1433 'config' => array(
1434 'type' => 'check',
1435 'showIfRTE' => 1,
1436 'items' => array(
1437 '1' => array(
1438 '0' => 'LLL:EXT:cms/locallang_ttc.xlf:rte_enabled.I.0'
1439 )
1440 )
1441 )
1442 ),
1443 'pi_flexform' => array(
1444 'l10n_display' => 'hideDiff',
1445 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:pi_flexform',
1446 'config' => array(
1447 'type' => 'flex',
1448 'ds_pointerField' => 'list_type,CType',
1449 'ds' => array(
1450 'default' => '
1451 <T3DataStructure>
1452 <ROOT>
1453 <type>array</type>
1454 <el>
1455 <!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely -->
1456 <xmlTitle>
1457 <TCEforms>
1458 <label>The Title:</label>
1459 <config>
1460 <type>input</type>
1461 <size>48</size>
1462 </config>
1463 </TCEforms>
1464 </xmlTitle>
1465 </el>
1466 </ROOT>
1467 </T3DataStructure>
1468 '
1469 ),
1470 'search' => array(
1471 'andWhere' => 'CType=\'list\''
1472 )
1473 )
1474 ),
1475 'tx_impexp_origuid' => array(
1476 'config' => array(
1477 'type' => 'passthrough'
1478 )
1479 ),
1480 'accessibility_title' => array(
1481 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:accessibility_title',
1482 'config' => array(
1483 'type' => 'input',
1484 'size' => 20,
1485 'eval' => 'trim',
1486 'default' => ''
1487 )
1488 ),
1489 'accessibility_bypass' => array(
1490 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:accessibility_bypass',
1491 'config' => array(
1492 'type' => 'check',
1493 'items' => array(
1494 '1' => array(
1495 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
1496 )
1497 )
1498 )
1499 ),
1500 'accessibility_bypass_text' => array(
1501 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:accessibility_bypass_text',
1502 'config' => array(
1503 'type' => 'input',
1504 'size' => 20,
1505 'eval' => 'trim',
1506 'default' => ''
1507 )
1508 ),
1509 'l18n_diffsource' => array(
1510 'config' => array(
1511 'type' => 'passthrough'
1512 )
1513 ),
1514 't3ver_label' => array(
1515 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
1516 'config' => array(
1517 'type' => 'input',
1518 'size' => '30',
1519 'max' => '255'
1520 )
1521 ),
1522 'selected_categories' => array(
1523 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:selected_categories',
1524 'config' => array(
1525 'type' => 'select',
1526 'foreign_table' => 'sys_category',
1527 'foreign_table_where' => 'AND sys_category.sys_language_uid IN (0,-1) ORDER BY sys_category.title ASC',
1528 'size' => 10,
1529 'autoSizeMax' => 50,
1530 'maxitems' => 9999,
1531 'renderMode' => 'tree',
1532 'treeConfig' => array(
1533 'parentField' => 'parent',
1534 'appearance' => array(
1535 'expandAll' => TRUE,
1536 'showHeader' => TRUE,
1537 ),
1538 ),
1539 )
1540 ),
1541 'category_field' => array(
1542 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:category_field',
1543 'config' => array(
1544 'type' => 'select',
1545 'size' => 1,
1546 'minitems' => 0,
1547 'maxitems' => 1,
1548 'suppress_icons' => 1,
1549 'itemsProcFunc' => \TYPO3\CMS\Core\Category\CategoryRegistry::class . '->getCategoryFieldsForTable',
1550 )
1551 )
1552 ),
1553 'types' => array(
1554 '1' => array(
1555 'showitem' => 'CType'
1556 ),
1557 'header' => array(
1558 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1559 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.headers;headers,
1560 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1561 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1562 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1563 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1564 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1565 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1566 ),
1567 'text' => array(
1568 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1569 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1570 bodytext;LLL:EXT:cms/locallang_ttc.xlf:bodytext_formlabel;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
1571 rte_enabled;LLL:EXT:cms/locallang_ttc.xlf:rte_enabled_formlabel,
1572 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1573 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1574 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1575 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1576 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1577 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1578 ),
1579 'textpic' => array(
1580 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1581 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1582 bodytext;Text;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
1583 rte_enabled;LLL:EXT:cms/locallang_ttc.xlf:rte_enabled_formlabel,' . '--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.images,
1584 image,
1585 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.imagelinks;imagelinks,' . '--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1586 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1587 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.image_settings;image_settings,
1588 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.imageblock;imageblock,
1589 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1590 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1591 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1592 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1593 ),
1594 'image' => array(
1595 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1596 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1597 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.images,
1598 image,
1599 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.imagelinks;imagelinks,
1600 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1601 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1602 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.image_settings;image_settings,
1603 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.imageblock;imageblock,
1604 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1605 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1606 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1607 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1608 ),
1609 'bullets' => array(
1610 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1611 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1612 bodytext;LLL:EXT:cms/locallang_ttc.xlf:bodytext.ALT.bulletlist_formlabel;;nowrap,
1613 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1614 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1615 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1616 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1617 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1618 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1619 ),
1620 'table' => array(
1621 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1622 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1623 bodytext;LLL:EXT:cms/locallang_ttc.xlf:bodytext.ALT.table_formlabel;;nowrap:wizards[table],
1624 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1625 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1626 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.table_layout;tablelayout,
1627 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1628 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1629 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1630 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1631 ),
1632 // file list
1633 'uploads' => array(
1634 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1635 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1636 --palette--;LLL:EXT:cms/locallang_ttc.xlf:media;uploads,
1637 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1638 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1639 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.uploads_layout;uploadslayout,
1640 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1641 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1642 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1643 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1644 ),
1645 'menu' => array(
1646 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1647 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1648 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.menu;menu,
1649 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.menu_accessibility;menu_accessibility,
1650 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1651 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1652 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1653 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1654 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1655 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended',
1656 'subtype_value_field' => 'menu_type',
1657 'subtypes_excludelist' => array(
1658 '2' => 'pages',
1659 'categorized_pages' => 'pages',
1660 'categorized_content' => 'pages',
1661 ),
1662 'subtypes_addlist' => array(
1663 'categorized_pages' => 'selected_categories;;menu, category_field;;menu',
1664 'categorized_content' => 'selected_categories;;menu, category_field;;menu',
1665 )
1666 ),
1667 'shortcut' => array(
1668 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1669 header;LLL:EXT:cms/locallang_ttc.xlf:header.ALT.shortcut_formlabel,
1670 records;LLL:EXT:cms/locallang_ttc.xlf:records_formlabel,
1671 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1672 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1673 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1674 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1675 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1676 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1677 ),
1678 'list' => array(
1679 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1680 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1681 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.plugin,
1682 list_type;LLL:EXT:cms/locallang_ttc.xlf:list_type_formlabel,
1683 select_key;LLL:EXT:cms/locallang_ttc.xlf:select_key_formlabel,
1684 pages;LLL:EXT:cms/locallang_ttc.xlf:pages.ALT.list_formlabel,
1685 recursive,
1686 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1687 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1688 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1689 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1690 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1691 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended',
1692 'subtype_value_field' => 'list_type',
1693 'subtypes_excludelist' => array(
1694 '3' => 'layout',
1695 '2' => 'layout',
1696 '5' => 'layout',
1697 '9' => 'layout',
1698 '0' => 'layout',
1699 '6' => 'layout',
1700 '7' => 'layout',
1701 '1' => 'layout',
1702 '8' => 'layout',
1703 '11' => 'layout',
1704 '20' => 'layout',
1705 '21' => 'layout'
1706 )
1707 ),
1708 'div' => array(
1709 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1710 header;LLL:EXT:cms/locallang_ttc.xlf:header.ALT.div_formlabel,
1711 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1712 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1713 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1714 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1715 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1716 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1717 ),
1718 'html' => array(
1719 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1720 header;LLL:EXT:cms/locallang_ttc.xlf:header.ALT.html_formlabel,
1721 bodytext,
1722 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1723 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
1724 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1725 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,
1726 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1727 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
1728 )
1729 ),
1730 'palettes' => array(
1731 '1' => array(
1732 'showitem' => 'starttime, endtime'
1733 ),
1734 '2' => array(
1735 'showitem' => 'imagecols, image_noRows, imageborder'
1736 ),
1737 '3' => array(
1738 'showitem' => 'header_position, header_layout, header_link, date'
1739 ),
1740 '4' => array(
1741 'showitem' => 'sys_language_uid, l18n_parent, colPos, spaceBefore, spaceAfter, section_frame, sectionIndex'
1742 ),
1743 '5' => array(
1744 'showitem' => 'imagecaption_position'
1745 ),
1746 '6' => array(
1747 'showitem' => 'imagewidth,image_link'
1748 ),
1749 '7' => array(
1750 'showitem' => 'image_link, image_zoom',
1751 'canNotCollapse' => 1
1752 ),
1753 '8' => array(
1754 'showitem' => 'layout'
1755 ),
1756 '10' => array(
1757 'showitem' => 'table_bgColor, table_border, table_cellspacing, table_cellpadding'
1758 ),
1759 '11' => array(
1760 'showitem' => 'image_compression, image_effects, image_frames',
1761 'canNotCollapse' => 1
1762 ),
1763 '12' => array(
1764 'showitem' => 'recursive'
1765 ),
1766 '13' => array(
1767 'showitem' => 'imagewidth, imageheight',
1768 'canNotCollapse' => 1
1769 ),
1770 '14' => array(
1771 'showitem' => 'sys_language_uid, l18n_parent, colPos'
1772 ),
1773 'general' => array(
1774 'showitem' => 'CType;LLL:EXT:cms/locallang_ttc.xlf:CType_formlabel, colPos;LLL:EXT:cms/locallang_ttc.xlf:colPos_formlabel, sys_language_uid;LLL:EXT:cms/locallang_ttc.xlf:sys_language_uid_formlabel, --linebreak--, l18n_parent',
1775 'canNotCollapse' => 1
1776 ),
1777 'header' => array(
1778 'showitem' => 'header;LLL:EXT:cms/locallang_ttc.xlf:header_formlabel, --linebreak--, header_layout;LLL:EXT:cms/locallang_ttc.xlf:header_layout_formlabel, header_position;LLL:EXT:cms/locallang_ttc.xlf:header_position_formlabel, date;LLL:EXT:cms/locallang_ttc.xlf:date_formlabel, --linebreak--, header_link;LLL:EXT:cms/locallang_ttc.xlf:header_link_formlabel',
1779 'canNotCollapse' => 1
1780 ),
1781 'headers' => array(
1782 'showitem' => 'header;LLL:EXT:cms/locallang_ttc.xlf:header_formlabel, --linebreak--, header_layout;LLL:EXT:cms/locallang_ttc.xlf:header_layout_formlabel, header_position;LLL:EXT:cms/locallang_ttc.xlf:header_position_formlabel, date;LLL:EXT:cms/locallang_ttc.xlf:date_formlabel, --linebreak--, header_link;LLL:EXT:cms/locallang_ttc.xlf:header_link_formlabel, --linebreak--, subheader;LLL:EXT:cms/locallang_ttc.xlf:subheader_formlabel',
1783 'canNotCollapse' => 1
1784 ),
1785 'imagelinks' => array(
1786 'showitem' => 'image_zoom;LLL:EXT:cms/locallang_ttc.xlf:image_zoom_formlabel',
1787 'canNotCollapse' => 1
1788 ),
1789 'image_accessibility' => array(
1790 'showitem' => 'altText;LLL:EXT:cms/locallang_ttc.xlf:altText_formlabel, titleText;LLL:EXT:cms/locallang_ttc.xlf:titleText_formlabel, --linebreak--, longdescURL;LLL:EXT:cms/locallang_ttc.xlf:longdescURL_formlabel',
1791 'canNotCollapse' => 1
1792 ),
1793 'image_settings' => array(
1794 'showitem' => 'imagewidth;LLL:EXT:cms/locallang_ttc.xlf:imagewidth_formlabel, imageheight;LLL:EXT:cms/locallang_ttc.xlf:imageheight_formlabel, imageborder;LLL:EXT:cms/locallang_ttc.xlf:imageborder_formlabel, --linebreak--, image_compression;LLL:EXT:cms/locallang_ttc.xlf:image_compression_formlabel, image_effects;LLL:EXT:cms/locallang_ttc.xlf:image_effects_formlabel, image_frames;LLL:EXT:cms/locallang_ttc.xlf:image_frames_formlabel',
1795 'canNotCollapse' => 1
1796 ),
1797 'imageblock' => array(
1798 'showitem' => 'imageorient;LLL:EXT:cms/locallang_ttc.xlf:imageorient_formlabel, imagecols;LLL:EXT:cms/locallang_ttc.xlf:imagecols_formlabel, --linebreak--, image_noRows;LLL:EXT:cms/locallang_ttc.xlf:image_noRows_formlabel, imagecaption_position;LLL:EXT:cms/locallang_ttc.xlf:imagecaption_position_formlabel',
1799 'canNotCollapse' => 1
1800 ),
1801 'uploads' => array(
1802 'showitem' => 'media;LLL:EXT:cms/locallang_ttc.xlf:media.ALT.uploads_formlabel, --linebreak--, file_collections;LLL:EXT:cms/locallang_ttc.xlf:file_collections.ALT.uploads_formlabel, --linebreak--, filelink_sorting, target',
1803 'canNotCollapse' => 1
1804 ),
1805 'menu' => array(
1806 'showitem' => 'menu_type;LLL:EXT:cms/locallang_ttc.xlf:menu_type_formlabel, --linebreak--, pages;LLL:EXT:cms/locallang_ttc.xlf:pages.ALT.menu_formlabel',
1807 'canNotCollapse' => 1
1808 ),
1809 'menu_accessibility' => array(
1810 'showitem' => 'accessibility_title;LLL:EXT:cms/locallang_ttc.xlf:menu.ALT.accessibility_title_formlabel, --linebreak--, accessibility_bypass;LLL:EXT:cms/locallang_ttc.xlf:menu.ALT.accessibility_bypass_formlabel, accessibility_bypass_text;LLL:EXT:cms/locallang_ttc.xlf:menu.ALT.accessibility_bypass_text_formlabel',
1811 'canNotCollapse' => 1
1812 ),
1813 'visibility' => array(
1814 'showitem' => 'hidden;LLL:EXT:cms/locallang_ttc.xlf:hidden_formlabel, sectionIndex;LLL:EXT:cms/locallang_ttc.xlf:sectionIndex_formlabel, linkToTop;LLL:EXT:cms/locallang_ttc.xlf:linkToTop_formlabel',
1815 'canNotCollapse' => 1
1816 ),
1817 'access' => array(
1818 'showitem' => 'starttime;LLL:EXT:cms/locallang_ttc.xlf:starttime_formlabel, endtime;LLL:EXT:cms/locallang_ttc.xlf:endtime_formlabel, --linebreak--, fe_group;LLL:EXT:cms/locallang_ttc.xlf:fe_group_formlabel',
1819 'canNotCollapse' => 1
1820 ),
1821 'frames' => array(
1822 'showitem' => 'layout;LLL:EXT:cms/locallang_ttc.xlf:layout_formlabel, spaceBefore;LLL:EXT:cms/locallang_ttc.xlf:spaceBefore_formlabel, spaceAfter;LLL:EXT:cms/locallang_ttc.xlf:spaceAfter_formlabel, section_frame;LLL:EXT:cms/locallang_ttc.xlf:section_frame_formlabel',
1823 'canNotCollapse' => 1
1824 ),
1825 'tablelayout' => array(
1826 'showitem' => 'table_bgColor;LLL:EXT:cms/locallang_ttc.xlf:table_bgColor_formlabel, table_border;LLL:EXT:cms/locallang_ttc.xlf:table_border_formlabel, table_cellspacing;LLL:EXT:cms/locallang_ttc.xlf:table_cellspacing_formlabel, table_cellpadding;LLL:EXT:cms/locallang_ttc.xlf:table_cellpadding_formlabel',
1827 'canNotCollapse' => 1
1828 ),
1829 'uploadslayout' => array(
1830 'showitem' => 'filelink_size;LLL:EXT:cms/locallang_ttc.xlf:filelink_size_formlabel',
1831 'canNotCollapse' => 1
1832 )
1833 )
1834 );