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