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