[FEATURE] Move CE table options from flexform to tt_content
[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:frontend/Resources/Private/Language/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 'bullets' => 'mimetypes-x-content-list-bullets',
34 'table' => 'mimetypes-x-content-table',
35 'uploads' => 'mimetypes-x-content-list-files',
36 'menu' => 'mimetypes-x-content-menu',
37 'list' => 'mimetypes-x-content-plugin',
38 'login' => 'mimetypes-x-content-login',
39 'shortcut' => 'mimetypes-x-content-link',
40 'script' => 'mimetypes-x-content-script',
41 'div' => 'mimetypes-x-content-divider',
42 'html' => 'mimetypes-x-content-html',
43 'default' => 'mimetypes-x-content-text'
44 ),
45 'typeicons' => array(
46 'header' => 'tt_content_header.gif',
47 'bullets' => 'tt_content_bullets.gif',
48 'table' => 'tt_content_table.gif',
49 'uploads' => 'tt_content_uploads.gif',
50 'menu' => 'tt_content_menu.gif',
51 'list' => 'tt_content_list.gif',
52 'login' => 'tt_content_login.gif',
53 'shortcut' => 'tt_content_shortcut.gif',
54 'script' => 'tt_content_script.gif',
55 'div' => 'tt_content_div.gif',
56 'html' => 'tt_content_html.gif'
57 ),
58 'thumbnail' => 'image',
59 'requestUpdate' => 'list_type,menu_type',
60 'searchFields' => 'header,header_link,subheader,bodytext,pi_flexform'
61 ),
62 'interface' => array(
63 'always_description' => 0,
64 'showRecordFieldList' => 'CType,header,header_link,bodytext,image,media,imagewidth,imageorient,records,colPos,starttime,endtime,fe_group'
65 ),
66 'columns' => array(
67 'CType' => array(
68 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
69 'config' => array(
70 'type' => 'select',
71 'items' => array(
72 array(
73 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.standard',
74 '--div--'
75 ),
76 array(
77 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.0',
78 'header',
79 'i/tt_content_header.gif'
80 ),
81 array(
82 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.lists',
83 '--div--'
84 ),
85 array(
86 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.4',
87 'bullets',
88 'i/tt_content_bullets.gif'
89 ),
90 array(
91 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.5',
92 'table',
93 'i/tt_content_table.gif'
94 ),
95 array(
96 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.6',
97 'uploads',
98 'i/tt_content_uploads.gif'
99 ),
100 array(
101 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.special',
102 '--div--'
103 ),
104 array(
105 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.12',
106 'menu',
107 'i/tt_content_menu.gif'
108 ),
109 array(
110 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.13',
111 'shortcut',
112 'i/tt_content_shortcut.gif'
113 ),
114 array(
115 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.14',
116 'list',
117 'i/tt_content_list.gif'
118 ),
119 array(
120 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.16',
121 'div',
122 'i/tt_content_div.gif'
123 ),
124 array(
125 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.17',
126 'html',
127 'i/tt_content_html.gif'
128 )
129 ),
130 'default' => 'text',
131 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
132 'authMode_enforce' => 'strict',
133 'iconsInOptionTags' => 1,
134 'noIconsBelowSelect' => 1
135 )
136 ),
137 'hidden' => array(
138 'exclude' => 1,
139 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
140 'config' => array(
141 'type' => 'check',
142 'items' => array(
143 '1' => array(
144 '0' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:hidden.I.0'
145 )
146 )
147 )
148 ),
149 'starttime' => array(
150 'exclude' => 1,
151 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
152 'config' => array(
153 'type' => 'input',
154 'size' => '13',
155 'eval' => 'datetime',
156 'default' => '0'
157 ),
158 'l10n_mode' => 'exclude',
159 'l10n_display' => 'defaultAsReadonly'
160 ),
161 'endtime' => array(
162 'exclude' => 1,
163 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
164 'config' => array(
165 'type' => 'input',
166 'size' => '13',
167 'eval' => 'datetime',
168 'default' => '0',
169 'range' => array(
170 'upper' => mktime(0, 0, 0, 12, 31, 2020)
171 )
172 ),
173 'l10n_mode' => 'exclude',
174 'l10n_display' => 'defaultAsReadonly'
175 ),
176 'fe_group' => array(
177 'exclude' => 1,
178 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.fe_group',
179 'config' => array(
180 'type' => 'select',
181 'size' => 5,
182 'maxitems' => 20,
183 'items' => array(
184 array(
185 'LLL:EXT:lang/locallang_general.xlf:LGL.hide_at_login',
186 -1
187 ),
188 array(
189 'LLL:EXT:lang/locallang_general.xlf:LGL.any_login',
190 -2
191 ),
192 array(
193 'LLL:EXT:lang/locallang_general.xlf:LGL.usergroups',
194 '--div--'
195 )
196 ),
197 'exclusiveKeys' => '-1,-2',
198 'foreign_table' => 'fe_groups',
199 'foreign_table_where' => 'ORDER BY fe_groups.title'
200 )
201 ),
202 'sys_language_uid' => array(
203 'exclude' => 1,
204 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
205 'config' => array(
206 'type' => 'select',
207 'foreign_table' => 'sys_language',
208 'foreign_table_where' => 'ORDER BY sys_language.title',
209 'items' => array(
210 array(
211 'LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages',
212 -1
213 ),
214 array(
215 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
216 0
217 )
218 )
219 )
220 ),
221 'l18n_parent' => array(
222 'displayCond' => 'FIELD:sys_language_uid:>:0',
223 'exclude' => 1,
224 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
225 'config' => array(
226 'type' => 'select',
227 'items' => array(
228 array(
229 '',
230 0
231 )
232 ),
233 'foreign_table' => 'tt_content',
234 'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.sys_language_uid IN (-1,0)'
235 )
236 ),
237 'layout' => array(
238 'exclude' => 1,
239 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.layout',
240 'config' => array(
241 'type' => 'select',
242 'items' => array(
243 array(
244 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
245 '0'
246 ),
247 array(
248 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:layout.I.1',
249 '1'
250 ),
251 array(
252 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:layout.I.2',
253 '2'
254 ),
255 array(
256 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:layout.I.3',
257 '3'
258 )
259 ),
260 'default' => '0'
261 )
262 ),
263 'colPos' => array(
264 'exclude' => 1,
265 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos',
266 'config' => array(
267 'type' => 'select',
268 'itemsProcFunc' => \TYPO3\CMS\Backend\View\BackendLayoutView::class . '->colPosListItemProcFunc',
269 'items' => array(
270 array(
271 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos.I.0',
272 '1'
273 ),
274 array(
275 'LLL:EXT:lang/locallang_general.xlf:LGL.normal',
276 '0'
277 ),
278 array(
279 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos.I.2',
280 '2'
281 ),
282 array(
283 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos.I.3',
284 '3'
285 )
286 ),
287 'default' => '0'
288 )
289 ),
290 'date' => array(
291 'exclude' => 1,
292 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:date',
293 'config' => array(
294 'type' => 'input',
295 'size' => '13',
296 'max' => '20',
297 'eval' => 'date',
298 'default' => '0'
299 )
300 ),
301 'header' => array(
302 'l10n_mode' => 'prefixLangTitle',
303 'l10n_cat' => 'text',
304 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header',
305 'config' => array(
306 'type' => 'input',
307 'size' => '50',
308 'max' => '256'
309 )
310 ),
311 'header_link' => array(
312 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link',
313 'exclude' => 1,
314 'config' => array(
315 'type' => 'input',
316 'size' => 50,
317 'max' => 1024,
318 'eval' => 'trim',
319 'wizards' => array(
320 'link' => array(
321 'type' => 'popup',
322 'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
323 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
324 'module' => array(
325 'name' => 'wizard_element_browser',
326 'urlParameters' => array(
327 'mode' => 'wizard'
328 )
329 ),
330 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
331 )
332 ),
333 'softref' => 'typolink'
334 )
335 ),
336 'header_layout' => array(
337 'exclude' => 1,
338 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
339 'config' => array(
340 'type' => 'select',
341 'items' => array(
342 array(
343 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
344 '0'
345 ),
346 array(
347 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout.I.1',
348 '1'
349 ),
350 array(
351 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout.I.2',
352 '2'
353 ),
354 array(
355 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout.I.3',
356 '3'
357 ),
358 array(
359 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout.I.4',
360 '4'
361 ),
362 array(
363 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout.I.5',
364 '5'
365 ),
366 array(
367 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout.I.6',
368 '100'
369 )
370 ),
371 'default' => '0'
372 )
373 ),
374 'subheader' => array(
375 'exclude' => 1,
376 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.subheader',
377 'config' => array(
378 'type' => 'input',
379 'size' => '50',
380 'max' => '256',
381 'softref' => 'email[subst]'
382 )
383 ),
384 'bodytext' => array(
385 'l10n_mode' => 'prefixLangTitle',
386 'l10n_cat' => 'text',
387 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.text',
388 'config' => array(
389 'type' => 'text',
390 'cols' => '80',
391 'rows' => '15',
392 'wizards' => array(
393 'RTE' => array(
394 'notNewRecords' => 1,
395 'RTEonly' => 1,
396 'type' => 'script',
397 'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.W.RTE',
398 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_rte.gif',
399 'module' => array(
400 'name' => 'wizard_rte'
401 )
402 ),
403 'table' => array(
404 'notNewRecords' => 1,
405 'enableByTypeConfig' => 1,
406 'type' => 'script',
407 'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.W.table',
408 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_table.gif',
409 'module' => array(
410 'name' => 'wizard_table'
411 ),
412 'params' => array(
413 'xmlOutput' => 0
414 )
415 )
416 ),
417 'softref' => 'typolink_tag,images,email[subst],url',
418 'search' => array(
419 'andWhere' => 'CType=\'text\' OR CType=\'textpic\''
420 )
421 )
422 ),
423 'image' => array(
424 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.images',
425 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('image', array(
426 'appearance' => array(
427 'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
428 ),
429 // custom configuration for displaying fields in the overlay/reference table
430 // to use the imageoverlayPalette instead of the basicoverlayPalette
431 'foreign_types' => array(
432 '0' => array(
433 'showitem' => '
434 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
435 --palette--;;filePalette'
436 ),
437 \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => array(
438 'showitem' => '
439 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
440 --palette--;;filePalette'
441 ),
442 \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array(
443 'showitem' => '
444 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
445 --palette--;;filePalette'
446 ),
447 \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => array(
448 'showitem' => '
449 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
450 --palette--;;filePalette'
451 ),
452 \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => array(
453 'showitem' => '
454 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
455 --palette--;;filePalette'
456 ),
457 \TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => array(
458 'showitem' => '
459 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
460 --palette--;;filePalette'
461 )
462 )
463 ), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
464 ),
465 'imagewidth' => array(
466 'exclude' => 1,
467 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imagewidth',
468 'config' => array(
469 'type' => 'input',
470 'size' => '4',
471 'max' => '4',
472 'eval' => 'int',
473 'range' => array(
474 'upper' => 1999,
475 'lower' => 0,
476 ),
477 'default' => 0
478 )
479 ),
480 'imageheight' => array(
481 'exclude' => 1,
482 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageheight',
483 'config' => array(
484 'type' => 'input',
485 'size' => '4',
486 'max' => '4',
487 'eval' => 'int',
488 'range' => array(
489 'upper' => 1999,
490 'lower' => 0,
491 ),
492 'default' => 0
493 )
494 ),
495 'imageorient' => array(
496 'exclude' => 1,
497 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient',
498 'config' => array(
499 'type' => 'select',
500 'items' => array(
501 array(
502 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.0',
503 0,
504 'EXT:frontend/Resources/Public/Icons/ImageOrientation/above_center.gif'
505 ),
506 array(
507 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.1',
508 1,
509 'EXT:frontend/Resources/Public/Icons/ImageOrientation/above_right.gif'
510 ),
511 array(
512 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.2',
513 2,
514 'EXT:frontend/Resources/Public/Icons/ImageOrientation/above_left.gif'
515 ),
516 array(
517 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.3',
518 8,
519 'EXT:frontend/Resources/Public/Icons/ImageOrientation/below_center.gif'
520 ),
521 array(
522 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.4',
523 9,
524 'EXT:frontend/Resources/Public/Icons/ImageOrientation/below_right.gif'
525 ),
526 array(
527 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.5',
528 10,
529 'EXT:frontend/Resources/Public/Icons/ImageOrientation/below_left.gif'
530 ),
531 array(
532 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.6',
533 17,
534 'EXT:frontend/Resources/Public/Icons/ImageOrientation/intext_right.gif'
535 ),
536 array(
537 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.7',
538 18,
539 'EXT:frontend/Resources/Public/Icons/ImageOrientation/intext_left.gif'
540 ),
541 array(
542 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.8',
543 '--div--'
544 ),
545 array(
546 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.9',
547 25,
548 'EXT:frontend/Resources/Public/Icons/ImageOrientation/intext_right_nowrap.gif'
549 ),
550 array(
551 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageorient.I.10',
552 26,
553 'EXT:frontend/Resources/Public/Icons/ImageOrientation/intext_left_nowrap.gif'
554 )
555 ),
556 'selicon_cols' => 6,
557 'default' => '0',
558 'iconsInOptionTags' => 1
559 )
560 ),
561 'imageborder' => array(
562 'exclude' => 1,
563 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imageborder',
564 'config' => array(
565 'type' => 'check',
566 'items' => array(
567 '1' => array(
568 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
569 )
570 )
571 )
572 ),
573 'image_zoom' => array(
574 'exclude' => 1,
575 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_zoom',
576 'config' => array(
577 'type' => 'check',
578 'items' => array(
579 '1' => array(
580 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
581 )
582 )
583 )
584 ),
585 'imagecols' => array(
586 'exclude' => 1,
587 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:imagecols',
588 'config' => array(
589 'type' => 'select',
590 'items' => array(
591 array(
592 '1',
593 1
594 ),
595 array(
596 '2',
597 2
598 ),
599 array(
600 '3',
601 3
602 ),
603 array(
604 '4',
605 4
606 ),
607 array(
608 '5',
609 5
610 ),
611 array(
612 '6',
613 6
614 ),
615 array(
616 '7',
617 7
618 ),
619 array(
620 '8',
621 8
622 )
623 ),
624 'default' => 2
625 )
626 ),
627 'cols' => array(
628 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:cols',
629 'config' => array(
630 'type' => 'select',
631 'items' => array(
632 array(
633 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:cols.I.0',
634 '0'
635 ),
636 array(
637 '1',
638 '1'
639 ),
640 array(
641 '2',
642 '2'
643 ),
644 array(
645 '3',
646 '3'
647 ),
648 array(
649 '4',
650 '4'
651 ),
652 array(
653 '5',
654 '5'
655 ),
656 array(
657 '6',
658 '6'
659 ),
660 array(
661 '7',
662 '7'
663 ),
664 array(
665 '8',
666 '8'
667 ),
668 array(
669 '9',
670 '9'
671 )
672 ),
673 'default' => '0'
674 )
675 ),
676 'pages' => array(
677 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.startingpoint',
678 'config' => array(
679 'type' => 'group',
680 'internal_type' => 'db',
681 'allowed' => 'pages',
682 'size' => '3',
683 'maxitems' => '50',
684 'minitems' => '0',
685 'show_thumbs' => '1',
686 'wizards' => array(
687 'suggest' => array(
688 'type' => 'suggest'
689 )
690 )
691 )
692 ),
693 'recursive' => array(
694 'exclude' => 1,
695 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.recursive',
696 'config' => array(
697 'type' => 'select',
698 'items' => array(
699 array(
700 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.0',
701 '0'
702 ),
703 array(
704 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.1',
705 '1'
706 ),
707 array(
708 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.2',
709 '2'
710 ),
711 array(
712 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.3',
713 '3'
714 ),
715 array(
716 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.4',
717 '4'
718 ),
719 array(
720 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:recursive.I.5',
721 '250'
722 )
723 ),
724 'default' => '0'
725 )
726 ),
727 'menu_type' => array(
728 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type',
729 'config' => array(
730 'type' => 'select',
731 'items' => array(
732 array(
733 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.0',
734 '0'
735 ),
736 array(
737 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.1',
738 '1'
739 ),
740 array(
741 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.2',
742 '4'
743 ),
744 array(
745 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.3',
746 '7'
747 ),
748 array(
749 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.4',
750 '2'
751 ),
752 array(
753 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.8',
754 '8'
755 ),
756 array(
757 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.5',
758 '3'
759 ),
760 array(
761 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.6',
762 '5'
763 ),
764 array(
765 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.7',
766 '6'
767 ),
768 array(
769 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.categorized_pages',
770 'categorized_pages'
771 ),
772 array(
773 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type.I.categorized_content',
774 'categorized_content'
775 )
776 ),
777 'default' => '0'
778 )
779 ),
780 'list_type' => array(
781 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:list_type',
782 'config' => array(
783 'type' => 'select',
784 'items' => array(
785 array(
786 '',
787 '',
788 ''
789 )
790 ),
791 'itemsProcFunc' => \TYPO3\CMS\Frontend\Hooks\TableColumnHooks::class . '->sortPluginList',
792 'default' => '',
793 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
794 'iconsInOptionTags' => 1,
795 'noIconsBelowSelect' => 1
796 )
797 ),
798 'select_key' => array(
799 'exclude' => 1,
800 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.code',
801 'config' => array(
802 'type' => 'input',
803 'size' => '50',
804 'max' => '80',
805 'eval' => 'trim'
806 )
807 ),
808 'file_collections' => array(
809 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:file_collections',
810 'config' => array(
811 'type' => 'group',
812 'internal_type' => 'db',
813 'localizeReferencesAtParentLocalization' => TRUE,
814 'allowed' => 'sys_file_collection',
815 'foreign_table' => 'sys_file_collection',
816 'maxitems' => 999,
817 'minitems' => 0,
818 'size' => 5,
819 )
820 ),
821 'media' => array(
822 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:media',
823 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('media', array(
824 'appearance' => array(
825 'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:media.addFileReference'
826 )
827 ))
828 ),
829 'filelink_size' => array(
830 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:filelink_size',
831 'config' => array(
832 'type' => 'check',
833 'items' => array(
834 '1' => array(
835 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
836 )
837 )
838 )
839 ),
840 'filelink_sorting' => array(
841 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:filelink_sorting',
842 'config' => array(
843 'type' => 'select',
844 'items' => array(
845 array('LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:filelink_sorting.none', ''),
846 array('LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:filelink_sorting.extension', 'extension'),
847 array('LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:filelink_sorting.name', 'name'),
848 array('LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:filelink_sorting.type', 'type'),
849 array('LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:filelink_sorting.size', 'size')
850 )
851 )
852 ),
853 'target' => array(
854 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:target',
855 'config' => array(
856 'type' => 'input',
857 'size' => 20,
858 'eval' => 'trim',
859 'wizards' => array(
860 'target_picker' => array(
861 'type' => 'select',
862 'mode' => '',
863 'items' => array(
864 array('LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:target.I.1', '_blank')
865 )
866 )
867 ),
868 'default' => ''
869 )
870 ),
871 'records' => array(
872 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:records',
873 'config' => array(
874 'type' => 'group',
875 'internal_type' => 'db',
876 'allowed' => 'tt_content',
877 'size' => '5',
878 'maxitems' => '200',
879 'minitems' => '0',
880 'show_thumbs' => '1',
881 'wizards' => array(
882 'suggest' => array(
883 'type' => 'suggest'
884 )
885 )
886 )
887 ),
888 'sectionIndex' => array(
889 'exclude' => 1,
890 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:sectionIndex',
891 'config' => array(
892 'type' => 'check',
893 'default' => 1,
894 'items' => array(
895 '1' => array(
896 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
897 )
898 )
899 )
900 ),
901 'linkToTop' => array(
902 'exclude' => 1,
903 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:linkToTop',
904 'config' => array(
905 'type' => 'check',
906 'items' => array(
907 '1' => array(
908 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
909 )
910 )
911 )
912 ),
913 'pi_flexform' => array(
914 'l10n_display' => 'hideDiff',
915 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:pi_flexform',
916 'config' => array(
917 'type' => 'flex',
918 'ds_pointerField' => 'list_type,CType',
919 'ds' => array(
920 'default' => '
921 <T3DataStructure>
922 <ROOT>
923 <type>array</type>
924 <el>
925 <!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely -->
926 <xmlTitle>
927 <TCEforms>
928 <label>The Title:</label>
929 <config>
930 <type>input</type>
931 <size>48</size>
932 </config>
933 </TCEforms>
934 </xmlTitle>
935 </el>
936 </ROOT>
937 </T3DataStructure>
938 '
939 ),
940 'search' => array(
941 'andWhere' => 'CType=\'list\''
942 )
943 )
944 ),
945 'tx_impexp_origuid' => array(
946 'config' => array(
947 'type' => 'passthrough'
948 )
949 ),
950 'accessibility_title' => array(
951 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:accessibility_title',
952 'config' => array(
953 'type' => 'input',
954 'size' => 20,
955 'eval' => 'trim',
956 'default' => ''
957 )
958 ),
959 'accessibility_bypass' => array(
960 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:accessibility_bypass',
961 'config' => array(
962 'type' => 'check',
963 'items' => array(
964 '1' => array(
965 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
966 )
967 )
968 )
969 ),
970 'accessibility_bypass_text' => array(
971 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:accessibility_bypass_text',
972 'config' => array(
973 'type' => 'input',
974 'size' => 20,
975 'eval' => 'trim',
976 'default' => ''
977 )
978 ),
979 'l18n_diffsource' => array(
980 'config' => array(
981 'type' => 'passthrough'
982 )
983 ),
984 't3ver_label' => array(
985 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
986 'config' => array(
987 'type' => 'input',
988 'size' => '30',
989 'max' => '255'
990 )
991 ),
992 'selected_categories' => array(
993 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:selected_categories',
994 'config' => array(
995 'type' => 'select',
996 'foreign_table' => 'sys_category',
997 'foreign_table_where' => 'AND sys_category.sys_language_uid IN (0,-1) ORDER BY sys_category.title ASC',
998 'size' => 10,
999 'autoSizeMax' => 50,
1000 'maxitems' => 9999,
1001 'renderMode' => 'tree',
1002 'treeConfig' => array(
1003 'parentField' => 'parent',
1004 'appearance' => array(
1005 'expandAll' => TRUE,
1006 'showHeader' => TRUE,
1007 ),
1008 ),
1009 )
1010 ),
1011 'category_field' => array(
1012 'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:category_field',
1013 'config' => array(
1014 'type' => 'select',
1015 'size' => 1,
1016 'minitems' => 0,
1017 'maxitems' => 1,
1018 'suppress_icons' => 1,
1019 'itemsProcFunc' => \TYPO3\CMS\Core\Category\CategoryRegistry::class . '->getCategoryFieldsForTable',
1020 )
1021 ),
1022 'table_caption' => array(
1023 'exclude' => TRUE,
1024 'label' => 'LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_caption',
1025 'config' => array(
1026 'type' => 'input'
1027 )
1028 ),
1029 'table_delimiter' => array(
1030 'exclude' => TRUE,
1031 'label' => 'LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_delimiter',
1032 'config' => array(
1033 'type' => 'select',
1034 'items' => array(
1035 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_delimiter.124', 124),
1036 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_delimiter.59', 59),
1037 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_delimiter.44', 44),
1038 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_delimiter.58', 58),
1039 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_delimiter.9', 9)
1040 ),
1041 'default' => 124
1042 )
1043 ),
1044 'table_enclosure' => array(
1045 'exclude' => TRUE,
1046 'label' => 'LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_enclosure',
1047 'config' => array(
1048 'type' => 'select',
1049 'items' => array(
1050 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_enclosure.0', 0),
1051 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_enclosure.39', 39),
1052 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_enclosure.34', 34)
1053 ),
1054 'default' => 0
1055 )
1056 ),
1057 'table_header_position' => array(
1058 'exclude' => TRUE,
1059 'label' => 'LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_header_position',
1060 'config' => array(
1061 'type' => 'select',
1062 'items' => array(
1063 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_header_position.0', 0),
1064 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_header_position.1', 1),
1065 array('LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_header_position.2', 2)
1066 ),
1067 'default' => 0
1068 )
1069 ),
1070 'table_tfoot' => array(
1071 'exclude' => TRUE,
1072 'label' => 'LLL:EXT:frontend/Resources/Private/Language/Database.xlf:tt_content.table_tfoot',
1073 'config' => array(
1074 'type' => 'check',
1075 'default' => 0,
1076 'items' => array(
1077 array('LLL:EXT:lang/locallang_core.xml:labels.enabled', 1)
1078 )
1079 )
1080 ),
1081 ),
1082 'types' => array(
1083 '1' => array(
1084 'showitem' => 'CType'
1085 ),
1086 'menu' => array(
1087 'subtype_value_field' => 'menu_type',
1088 'subtypes_excludelist' => array(
1089 '2' => 'pages',
1090 'categorized_pages' => 'pages',
1091 'categorized_content' => 'pages',
1092 ),
1093 'subtypes_addlist' => array(
1094 'categorized_pages' => 'selected_categories;;menu, category_field;;menu',
1095 'categorized_content' => 'selected_categories;;menu, category_field;;menu',
1096 )
1097 ),
1098 'list' => array(
1099 'subtype_value_field' => 'list_type',
1100 'subtypes_excludelist' => array(
1101 '3' => 'layout',
1102 '2' => 'layout',
1103 '5' => 'layout',
1104 '9' => 'layout',
1105 '0' => 'layout',
1106 '6' => 'layout',
1107 '7' => 'layout',
1108 '1' => 'layout',
1109 '8' => 'layout',
1110 '11' => 'layout',
1111 '20' => 'layout',
1112 '21' => 'layout'
1113 )
1114 ),
1115 'table' => array(
1116 'showitem' => '
1117 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
1118 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
1119 bodytext;LLL:EXT:frontend/Resources/Private/Language/TCA.xlf:field.table.bodytext;tableconfiguration;nowrap:wizards[table],
1120 table_caption,
1121 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
1122 layout;LLL:EXT:cms/locallang_ttc.xlf:layout_formlabel,
1123 behaviour,
1124 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.table_layout;tablelayout,
1125 --palette--;LLL:EXT:frontend/Resources/Private/Language/TCA.xlf:palette.appearanceLinks;appearanceLinks,
1126 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
1127 hidden;LLL:EXT:frontend/Resources/Private/Language/TCA.xlf:field.default.hidden,
1128 --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,
1129 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended
1130 '
1131 ),
1132 ),
1133 'palettes' => array(
1134 'general' => array(
1135 'showitem' => '
1136 CType;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType_formlabel,
1137 colPos;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:colPos_formlabel,
1138 sys_language_uid;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:sys_language_uid_formlabel,
1139 --linebreak--,
1140 l18n_parent
1141 ',
1142 ),
1143 'header' => array(
1144 'showitem' => '
1145 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_formlabel,
1146 --linebreak--,
1147 header_layout;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout_formlabel,
1148 date;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:date_formlabel,
1149 --linebreak--,
1150 header_link;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel
1151 ',
1152 ),
1153 'headers' => array(
1154 'showitem' => '
1155 header;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_formlabel,
1156 --linebreak--,
1157 header_layout;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_layout_formlabel,
1158 date;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:date_formlabel,
1159 --linebreak--,
1160 header_link;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel,
1161 --linebreak--,
1162 subheader;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:subheader_formlabel
1163 ',
1164 ),
1165 'imagelinks' => array(
1166 'showitem' => '
1167 image_zoom;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:image_zoom_formlabel
1168 ',
1169 ),
1170 'uploads' => array(
1171 'showitem' => '
1172 media;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:media.ALT.uploads_formlabel,
1173 --linebreak--,
1174 file_collections;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:file_collections.ALT.uploads_formlabel,
1175 --linebreak--,
1176 filelink_sorting,
1177 target
1178 ',
1179 ),
1180 'menu' => array(
1181 'showitem' => '
1182 menu_type;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu_type_formlabel,
1183 --linebreak--,
1184 pages;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:pages.ALT.menu_formlabel
1185 ',
1186 ),
1187 'menu_accessibility' => array(
1188 'showitem' => '
1189 accessibility_title;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu.ALT.accessibility_title_formlabel,
1190 --linebreak--,
1191 accessibility_bypass;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu.ALT.accessibility_bypass_formlabel,
1192 accessibility_bypass_text;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:menu.ALT.accessibility_bypass_text_formlabel
1193 ',
1194 ),
1195 'access' => array(
1196 'showitem' => '
1197 starttime;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:starttime_formlabel,
1198 endtime;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:endtime_formlabel,
1199 --linebreak--,
1200 fe_group;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:fe_group_formlabel
1201 ',
1202 ),
1203 'uploadslayout' => array(
1204 'showitem' => 'filelink_size;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:filelink_size_formlabel',
1205 ),
1206 'tableconfiguration' => array(
1207 'showitem' => 'table_delimiter,table_enclosure'
1208 ),
1209 'tablelayout' => array(
1210 'showitem' => 'cols,table_header_position,table_tfoot'
1211 )
1212 )
1213 );