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