7775577413b5d141b129817443858cd102a5a63f
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tbl_tt_content.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 1999-2011 Kasper Skårhøj (kasperYYYY@typo3.com)
6 * All rights reserved
7 *
8 * This script is part of the TYPO3 project. The TYPO3 project is
9 * free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * The GNU General Public License can be found at
15 * http://www.gnu.org/copyleft/gpl.html.
16 * A copy is found in the textfile GPL.txt and important notices to the license
17 * from the author is found in LICENSE.txt distributed with these scripts.
18 *
19 *
20 * This script is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
24 *
25 * This copyright notice MUST APPEAR in all copies of the script!
26 ***************************************************************/
27 /**
28 * Dynamic configuration of the tt_content table
29 * This gets it's own file because it's so huge and central to typical TYPO3 use.
30 *
31 * @author Kasper Skårhøj <kasperYYYY@typo3.com>
32 */
33 if (!function_exists('user_sortPluginList')) {
34 function user_sortPluginList(array &$parameters) {
35 usort($parameters['items'], create_function('$item1,$item2', 'return strcasecmp($GLOBALS[\'LANG\']->sL($item1[0]),$GLOBALS[\'LANG\']->sL($item2[0]));'));
36 }
37 }
38 $TCA['tt_content'] = array(
39 'ctrl' => $TCA['tt_content']['ctrl'],
40 'interface' => array(
41 'always_description' => 0,
42 'showRecordFieldList' => 'CType,header,header_link,bodytext,image,imagewidth,imageorient,media,records,colPos,starttime,endtime,fe_group'
43 ),
44 'columns' => array(
45 'CType' => array(
46 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
47 'config' => array(
48 'type' => 'select',
49 'items' => array(
50 array(
51 'LLL:EXT:cms/locallang_ttc.xml:CType.div.standard',
52 '--div--'
53 ),
54 array(
55 'LLL:EXT:cms/locallang_ttc.xml:CType.I.0',
56 'header',
57 'i/tt_content_header.gif'
58 ),
59 array(
60 'LLL:EXT:cms/locallang_ttc.xml:CType.I.1',
61 'text',
62 'i/tt_content.gif'
63 ),
64 array(
65 'LLL:EXT:cms/locallang_ttc.xml:CType.I.2',
66 'textpic',
67 'i/tt_content_textpic.gif'
68 ),
69 array(
70 'LLL:EXT:cms/locallang_ttc.xml:CType.I.3',
71 'image',
72 'i/tt_content_image.gif'
73 ),
74 array(
75 'LLL:EXT:cms/locallang_ttc.xml:CType.div.lists',
76 '--div--'
77 ),
78 array(
79 'LLL:EXT:cms/locallang_ttc.xml:CType.I.4',
80 'bullets',
81 'i/tt_content_bullets.gif'
82 ),
83 array(
84 'LLL:EXT:cms/locallang_ttc.xml:CType.I.5',
85 'table',
86 'i/tt_content_table.gif'
87 ),
88 array(
89 'LLL:EXT:cms/locallang_ttc.xml:CType.I.6',
90 'uploads',
91 'i/tt_content_uploads.gif'
92 ),
93 array(
94 'LLL:EXT:cms/locallang_ttc.xml:CType.div.forms',
95 '--div--'
96 ),
97 array(
98 'LLL:EXT:cms/locallang_ttc.xml:CType.I.8',
99 'mailform',
100 'i/tt_content_form.gif'
101 ),
102 array(
103 'LLL:EXT:cms/locallang_ttc.xml:CType.I.9',
104 'search',
105 'i/tt_content_search.gif'
106 ),
107 array(
108 'LLL:EXT:cms/locallang_ttc.xml:CType.div.special',
109 '--div--'
110 ),
111 array(
112 'LLL:EXT:cms/locallang_ttc.xml:CType.I.7',
113 'multimedia',
114 'i/tt_content_mm.gif'
115 ),
116 array(
117 'LLL:EXT:cms/locallang_ttc.xml:CType.I.18',
118 'media',
119 'i/tt_content_mm.gif'
120 ),
121 array(
122 'LLL:EXT:cms/locallang_ttc.xml:CType.I.11',
123 'splash',
124 'i/tt_content_news.gif'
125 ),
126 array(
127 'LLL:EXT:cms/locallang_ttc.xml:CType.I.12',
128 'menu',
129 'i/tt_content_menu.gif'
130 ),
131 array(
132 'LLL:EXT:cms/locallang_ttc.xml:CType.I.13',
133 'shortcut',
134 'i/tt_content_shortcut.gif'
135 ),
136 array(
137 'LLL:EXT:cms/locallang_ttc.xml:CType.I.14',
138 'list',
139 'i/tt_content_list.gif'
140 ),
141 array(
142 'LLL:EXT:cms/locallang_ttc.xml:CType.I.16',
143 'div',
144 'i/tt_content_div.gif'
145 ),
146 array(
147 'LLL:EXT:cms/locallang_ttc.xml:CType.I.17',
148 'html',
149 'i/tt_content_html.gif'
150 )
151 ),
152 'default' => 'text',
153 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
154 'authMode_enforce' => 'strict',
155 'iconsInOptionTags' => 1,
156 'noIconsBelowSelect' => 1
157 )
158 ),
159 'hidden' => array(
160 'exclude' => 1,
161 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
162 'config' => array(
163 'type' => 'check',
164 'items' => array(
165 '1' => array(
166 '0' => 'LLL:EXT:cms/locallang_ttc.xml:hidden.I.0'
167 )
168 )
169 )
170 ),
171 'starttime' => array(
172 'exclude' => 1,
173 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
174 'config' => array(
175 'type' => 'input',
176 'size' => '13',
177 'max' => '20',
178 'eval' => 'datetime',
179 'default' => '0'
180 ),
181 'l10n_mode' => 'exclude',
182 'l10n_display' => 'defaultAsReadonly'
183 ),
184 'endtime' => array(
185 'exclude' => 1,
186 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
187 'config' => array(
188 'type' => 'input',
189 'size' => '13',
190 'max' => '20',
191 'eval' => 'datetime',
192 'default' => '0',
193 'range' => array(
194 'upper' => mktime(0, 0, 0, 12, 31, 2020)
195 )
196 ),
197 'l10n_mode' => 'exclude',
198 'l10n_display' => 'defaultAsReadonly'
199 ),
200 'fe_group' => array(
201 'exclude' => 1,
202 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
203 'config' => array(
204 'type' => 'select',
205 'size' => 5,
206 'maxitems' => 20,
207 'items' => array(
208 array(
209 'LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login',
210 -1
211 ),
212 array(
213 'LLL:EXT:lang/locallang_general.xml:LGL.any_login',
214 -2
215 ),
216 array(
217 'LLL:EXT:lang/locallang_general.xml:LGL.usergroups',
218 '--div--'
219 )
220 ),
221 'exclusiveKeys' => '-1,-2',
222 'foreign_table' => 'fe_groups',
223 'foreign_table_where' => 'ORDER BY fe_groups.title'
224 )
225 ),
226 'sys_language_uid' => array(
227 'exclude' => 1,
228 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
229 'config' => array(
230 'type' => 'select',
231 'foreign_table' => 'sys_language',
232 'foreign_table_where' => 'ORDER BY sys_language.title',
233 'items' => array(
234 array(
235 'LLL:EXT:lang/locallang_general.xml:LGL.allLanguages',
236 -1
237 ),
238 array(
239 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
240 0
241 )
242 )
243 )
244 ),
245 'l18n_parent' => array(
246 'displayCond' => 'FIELD:sys_language_uid:>:0',
247 'exclude' => 1,
248 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
249 'config' => array(
250 'type' => 'select',
251 'items' => array(
252 array(
253 '',
254 0
255 )
256 ),
257 'foreign_table' => 'tt_content',
258 'foreign_table_where' => 'AND tt_content.pid=###CURRENT_PID### AND tt_content.sys_language_uid IN (-1,0)'
259 )
260 ),
261 'layout' => array(
262 'exclude' => 1,
263 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.layout',
264 'config' => array(
265 'type' => 'select',
266 'items' => array(
267 array(
268 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
269 '0'
270 ),
271 array(
272 'LLL:EXT:cms/locallang_ttc.xml:layout.I.1',
273 '1'
274 ),
275 array(
276 'LLL:EXT:cms/locallang_ttc.xml:layout.I.2',
277 '2'
278 ),
279 array(
280 'LLL:EXT:cms/locallang_ttc.xml:layout.I.3',
281 '3'
282 )
283 ),
284 'default' => '0'
285 )
286 ),
287 'colPos' => array(
288 'exclude' => 1,
289 'label' => 'LLL:EXT:cms/locallang_ttc.xml:colPos',
290 'config' => array(
291 'type' => 'select',
292 'itemsProcFunc' => 'EXT:cms/classes/class.tx_cms_backendlayout.php:TYPO3\\CMS\\Backend\\View\\BackendLayoutView->colPosListItemProcFunc',
293 'items' => array(
294 array(
295 'LLL:EXT:cms/locallang_ttc.xml:colPos.I.0',
296 '1'
297 ),
298 array(
299 'LLL:EXT:lang/locallang_general.xml:LGL.normal',
300 '0'
301 ),
302 array(
303 'LLL:EXT:cms/locallang_ttc.xml:colPos.I.2',
304 '2'
305 ),
306 array(
307 'LLL:EXT:cms/locallang_ttc.xml:colPos.I.3',
308 '3'
309 )
310 ),
311 'default' => '0'
312 )
313 ),
314 'date' => array(
315 'exclude' => 1,
316 'label' => 'LLL:EXT:cms/locallang_ttc.xml:date',
317 'config' => array(
318 'type' => 'input',
319 'size' => '13',
320 'max' => '20',
321 'eval' => 'date',
322 'default' => '0'
323 )
324 ),
325 'header' => array(
326 'l10n_mode' => 'prefixLangTitle',
327 'l10n_cat' => 'text',
328 'label' => 'LLL:EXT:cms/locallang_ttc.xml:header',
329 'config' => array(
330 'type' => 'input',
331 'size' => '50',
332 'max' => '256'
333 )
334 ),
335 'header_position' => array(
336 'label' => 'LLL:EXT:cms/locallang_ttc.xml:header_position',
337 'exclude' => 1,
338 'config' => array(
339 'type' => 'select',
340 'items' => array(
341 array(
342 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
343 ''
344 ),
345 array(
346 'LLL:EXT:cms/locallang_ttc.xml:header_position.I.1',
347 'center'
348 ),
349 array(
350 'LLL:EXT:cms/locallang_ttc.xml:header_position.I.2',
351 'right'
352 ),
353 array(
354 'LLL:EXT:cms/locallang_ttc.xml:header_position.I.3',
355 'left'
356 )
357 ),
358 'default' => ''
359 )
360 ),
361 'header_link' => array(
362 'label' => 'LLL:EXT:cms/locallang_ttc.xml:header_link',
363 'exclude' => 1,
364 'config' => array(
365 'type' => 'input',
366 'size' => '50',
367 'max' => '256',
368 'eval' => 'trim',
369 'wizards' => array(
370 '_PADDING' => 2,
371 'link' => array(
372 'type' => 'popup',
373 'title' => 'LLL:EXT:cms/locallang_ttc.xml:header_link_formlabel',
374 'icon' => 'link_popup.gif',
375 'script' => 'browse_links.php?mode=wizard',
376 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
377 )
378 ),
379 'softref' => 'typolink'
380 )
381 ),
382 'header_layout' => array(
383 'exclude' => 1,
384 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
385 'config' => array(
386 'type' => 'select',
387 'items' => array(
388 array(
389 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
390 '0'
391 ),
392 array(
393 'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.1',
394 '1'
395 ),
396 array(
397 'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.2',
398 '2'
399 ),
400 array(
401 'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.3',
402 '3'
403 ),
404 array(
405 'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.4',
406 '4'
407 ),
408 array(
409 'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.5',
410 '5'
411 ),
412 array(
413 'LLL:EXT:cms/locallang_ttc.xml:header_layout.I.6',
414 '100'
415 )
416 ),
417 'default' => '0'
418 )
419 ),
420 'subheader' => array(
421 'exclude' => 1,
422 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.subheader',
423 'config' => array(
424 'type' => 'input',
425 'size' => '50',
426 'max' => '256',
427 'softref' => 'email[subst]'
428 )
429 ),
430 'bodytext' => array(
431 'l10n_mode' => 'prefixLangTitle',
432 'l10n_cat' => 'text',
433 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.text',
434 'config' => array(
435 'type' => 'text',
436 'cols' => '48',
437 'rows' => '5',
438 'wizards' => array(
439 '_PADDING' => 4,
440 '_VALIGN' => 'middle',
441 'RTE' => array(
442 'notNewRecords' => 1,
443 'RTEonly' => 1,
444 'type' => 'script',
445 'title' => 'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.RTE',
446 'icon' => 'wizard_rte2.gif',
447 'script' => 'wizard_rte.php'
448 ),
449 'table' => array(
450 'notNewRecords' => 1,
451 'enableByTypeConfig' => 1,
452 'type' => 'script',
453 'title' => 'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.table',
454 'icon' => 'wizard_table.gif',
455 'script' => 'wizard_table.php',
456 'params' => array(
457 'xmlOutput' => 0
458 )
459 ),
460 'forms' => array(
461 'notNewRecords' => 1,
462 'enableByTypeConfig' => 1,
463 'type' => 'script',
464 'title' => 'LLL:EXT:cms/locallang_ttc.xml:bodytext.W.forms',
465 'icon' => 'wizard_forms.gif',
466 'script' => 'wizard_forms.php?special=formtype_mail',
467 'params' => array(
468 'xmlOutput' => 0
469 )
470 )
471 ),
472 'softref' => 'typolink_tag,images,email[subst],url',
473 'search' => array(
474 'andWhere' => 'CType=\'text\' OR CType=\'textpic\''
475 )
476 )
477 ),
478 'text_align' => array(
479 'exclude' => 1,
480 'label' => 'LLL:EXT:cms/locallang_ttc.xml:text_align',
481 'config' => array(
482 'type' => 'select',
483 'items' => array(
484 array(
485 '',
486 ''
487 ),
488 array(
489 'LLL:EXT:cms/locallang_ttc.xml:text_align.I.1',
490 'center'
491 ),
492 array(
493 'LLL:EXT:cms/locallang_ttc.xml:text_align.I.2',
494 'right'
495 ),
496 array(
497 'LLL:EXT:cms/locallang_ttc.xml:text_align.I.3',
498 'left'
499 )
500 ),
501 'default' => ''
502 )
503 ),
504 'text_face' => array(
505 'exclude' => 1,
506 'label' => 'LLL:EXT:cms/locallang_ttc.xml:text_face',
507 'config' => array(
508 'type' => 'select',
509 'items' => array(
510 array(
511 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
512 '0'
513 ),
514 array(
515 'Times',
516 '1'
517 ),
518 array(
519 'Verdana',
520 '2'
521 ),
522 array(
523 'Arial',
524 '3'
525 )
526 ),
527 'default' => '0'
528 )
529 ),
530 'text_size' => array(
531 'exclude' => 1,
532 'label' => 'LLL:EXT:cms/locallang_ttc.xml:text_size',
533 'config' => array(
534 'type' => 'select',
535 'items' => array(
536 array(
537 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
538 '0'
539 ),
540 array(
541 'LLL:EXT:cms/locallang_ttc.xml:text_size.I.1',
542 '1'
543 ),
544 array(
545 'LLL:EXT:cms/locallang_ttc.xml:text_size.I.2',
546 '2'
547 ),
548 array(
549 'LLL:EXT:cms/locallang_ttc.xml:text_size.I.3',
550 '3'
551 ),
552 array(
553 'LLL:EXT:cms/locallang_ttc.xml:text_size.I.4',
554 '4'
555 ),
556 array(
557 'LLL:EXT:cms/locallang_ttc.xml:text_size.I.5',
558 '5'
559 ),
560 array(
561 'LLL:EXT:cms/locallang_ttc.xml:text_size.I.6',
562 '10'
563 ),
564 array(
565 'LLL:EXT:cms/locallang_ttc.xml:text_size.I.7',
566 '11'
567 )
568 ),
569 'default' => '0'
570 )
571 ),
572 'text_color' => array(
573 'exclude' => 1,
574 'label' => 'LLL:EXT:cms/locallang_ttc.xml:text_color',
575 'config' => array(
576 'type' => 'select',
577 'items' => array(
578 array(
579 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
580 '0'
581 ),
582 array(
583 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.1',
584 '1'
585 ),
586 array(
587 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.2',
588 '2'
589 ),
590 array(
591 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.3',
592 '200'
593 ),
594 array(
595 '-----',
596 '--div--'
597 ),
598 array(
599 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.5',
600 '240'
601 ),
602 array(
603 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.6',
604 '241'
605 ),
606 array(
607 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.7',
608 '242'
609 ),
610 array(
611 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.8',
612 '243'
613 ),
614 array(
615 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.9',
616 '244'
617 ),
618 array(
619 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.10',
620 '245'
621 ),
622 array(
623 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.11',
624 '246'
625 ),
626 array(
627 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.12',
628 '247'
629 ),
630 array(
631 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.13',
632 '248'
633 ),
634 array(
635 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.14',
636 '249'
637 ),
638 array(
639 'LLL:EXT:cms/locallang_ttc.xml:text_color.I.15',
640 '250'
641 )
642 ),
643 'default' => '0'
644 )
645 ),
646 'text_properties' => array(
647 'exclude' => 1,
648 'label' => 'LLL:EXT:cms/locallang_ttc.xml:text_properties',
649 'config' => array(
650 'type' => 'check',
651 'items' => array(
652 array(
653 'LLL:EXT:cms/locallang_ttc.xml:text_properties.I.0',
654 ''
655 ),
656 array(
657 'LLL:EXT:cms/locallang_ttc.xml:text_properties.I.1',
658 ''
659 ),
660 array(
661 'LLL:EXT:cms/locallang_ttc.xml:text_properties.I.2',
662 ''
663 ),
664 array(
665 'LLL:EXT:cms/locallang_ttc.xml:text_properties.I.3',
666 ''
667 )
668 ),
669 'cols' => 4
670 )
671 ),
672 'image' => array(
673 'l10n_mode' => 'mergeIfNotBlank',
674 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.images',
675 'config' => \TYPO3\CMS\Core\Extension\ExtensionManager::getFileFieldTCAConfig('image', array(
676 'appearance' => array(
677 'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
678 ),
679 // custom configuration for displaying fields in the overlay/reference table
680 // to use the imageoverlayPalette instead of the basicoverlayPalette
681 'foreign_types' => array(
682 '0' => array(
683 'showitem' => '
684 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
685 --palette--;;filePalette'
686 ),
687 \TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => array(
688 'showitem' => '
689 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
690 --palette--;;filePalette'
691 ),
692 \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => array(
693 'showitem' => '
694 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
695 --palette--;;filePalette'
696 ),
697 \TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => array(
698 'showitem' => '
699 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
700 --palette--;;filePalette'
701 ),
702 \TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => array(
703 'showitem' => '
704 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
705 --palette--;;filePalette'
706 ),
707 \TYPO3\CMS\Core\Resource\File::FILETYPE_SOFTWARE => array(
708 'showitem' => '
709 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
710 --palette--;;filePalette'
711 )
712 )
713 ), $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
714 ),
715 'imagewidth' => array(
716 'exclude' => 1,
717 'label' => 'LLL:EXT:cms/locallang_ttc.xml:imagewidth',
718 'config' => array(
719 'type' => 'input',
720 'size' => '4',
721 'max' => '4',
722 'eval' => 'int',
723 'range' => array(
724 'upper' => '999',
725 'lower' => '25'
726 ),
727 'default' => 0
728 )
729 ),
730 'imageheight' => array(
731 'exclude' => 1,
732 'label' => 'LLL:EXT:cms/locallang_ttc.xml:imageheight',
733 'config' => array(
734 'type' => 'input',
735 'size' => '4',
736 'max' => '4',
737 'eval' => 'int',
738 'range' => array(
739 'upper' => '700',
740 'lower' => '25'
741 ),
742 'default' => 0
743 )
744 ),
745 'imageorient' => array(
746 'label' => 'LLL:EXT:cms/locallang_ttc.xml:imageorient',
747 'config' => array(
748 'type' => 'select',
749 'items' => array(
750 array(
751 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.0',
752 0,
753 'selicons/above_center.gif'
754 ),
755 array(
756 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.1',
757 1,
758 'selicons/above_right.gif'
759 ),
760 array(
761 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.2',
762 2,
763 'selicons/above_left.gif'
764 ),
765 array(
766 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.3',
767 8,
768 'selicons/below_center.gif'
769 ),
770 array(
771 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.4',
772 9,
773 'selicons/below_right.gif'
774 ),
775 array(
776 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.5',
777 10,
778 'selicons/below_left.gif'
779 ),
780 array(
781 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.6',
782 17,
783 'selicons/intext_right.gif'
784 ),
785 array(
786 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.7',
787 18,
788 'selicons/intext_left.gif'
789 ),
790 array(
791 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.8',
792 '--div--'
793 ),
794 array(
795 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.9',
796 25,
797 'selicons/intext_right_nowrap.gif'
798 ),
799 array(
800 'LLL:EXT:cms/locallang_ttc.xml:imageorient.I.10',
801 26,
802 'selicons/intext_left_nowrap.gif'
803 )
804 ),
805 'selicon_cols' => 6,
806 'default' => '0',
807 'iconsInOptionTags' => 1
808 )
809 ),
810 'imageborder' => array(
811 'exclude' => 1,
812 'label' => 'LLL:EXT:cms/locallang_ttc.xml:imageborder',
813 'config' => array(
814 'type' => 'check',
815 'items' => array(
816 '1' => array(
817 '0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled'
818 )
819 )
820 )
821 ),
822 'image_noRows' => array(
823 'exclude' => 1,
824 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_noRows',
825 'config' => array(
826 'type' => 'check',
827 'items' => array(
828 '1' => array(
829 '0' => 'LLL:EXT:cms/locallang_ttc.xml:image_noRows.I.0'
830 )
831 )
832 )
833 ),
834 'image_link' => array(
835 'exclude' => 1,
836 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_link',
837 'config' => array(
838 'type' => 'text',
839 'cols' => '30',
840 'rows' => '3',
841 'wizards' => array(
842 '_PADDING' => 2,
843 'link' => array(
844 'type' => 'popup',
845 'title' => 'LLL:EXT:cms/locallang_ttc.xml:image_link_formlabel',
846 'icon' => 'link_popup.gif',
847 'script' => 'browse_links.php?mode=wizard',
848 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
849 )
850 ),
851 'softref' => 'typolink[linkList]'
852 )
853 ),
854 'image_zoom' => array(
855 'exclude' => 1,
856 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_zoom',
857 'config' => array(
858 'type' => 'check',
859 'items' => array(
860 '1' => array(
861 '0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled'
862 )
863 )
864 )
865 ),
866 'image_effects' => array(
867 'exclude' => 1,
868 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_effects',
869 'config' => array(
870 'type' => 'select',
871 'items' => array(
872 array(
873 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.0',
874 0
875 ),
876 array(
877 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.1',
878 1
879 ),
880 array(
881 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.2',
882 2
883 ),
884 array(
885 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.3',
886 3
887 ),
888 array(
889 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.4',
890 10
891 ),
892 array(
893 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.5',
894 11
895 ),
896 array(
897 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.6',
898 20
899 ),
900 array(
901 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.7',
902 23
903 ),
904 array(
905 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.8',
906 25
907 ),
908 array(
909 'LLL:EXT:cms/locallang_ttc.xml:image_effects.I.9',
910 26
911 )
912 )
913 )
914 ),
915 'image_frames' => array(
916 'exclude' => 1,
917 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_frames',
918 'config' => array(
919 'type' => 'select',
920 'items' => array(
921 array(
922 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.0',
923 0
924 ),
925 array(
926 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.1',
927 1
928 ),
929 array(
930 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.2',
931 2
932 ),
933 array(
934 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.3',
935 3
936 ),
937 array(
938 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.4',
939 4
940 ),
941 array(
942 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.5',
943 5
944 ),
945 array(
946 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.6',
947 6
948 ),
949 array(
950 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.7',
951 7
952 ),
953 array(
954 'LLL:EXT:cms/locallang_ttc.xml:image_frames.I.8',
955 8
956 )
957 )
958 )
959 ),
960 'image_compression' => array(
961 'exclude' => 1,
962 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_compression',
963 'config' => array(
964 'type' => 'select',
965 'items' => array(
966 array(
967 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
968 0
969 ),
970 array(
971 'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.1',
972 1
973 ),
974 array(
975 'GIF/256',
976 10
977 ),
978 array(
979 'GIF/128',
980 11
981 ),
982 array(
983 'GIF/64',
984 12
985 ),
986 array(
987 'GIF/32',
988 13
989 ),
990 array(
991 'GIF/16',
992 14
993 ),
994 array(
995 'GIF/8',
996 15
997 ),
998 array(
999 'PNG',
1000 39
1001 ),
1002 array(
1003 'PNG/256',
1004 30
1005 ),
1006 array(
1007 'PNG/128',
1008 31
1009 ),
1010 array(
1011 'PNG/64',
1012 32
1013 ),
1014 array(
1015 'PNG/32',
1016 33
1017 ),
1018 array(
1019 'PNG/16',
1020 34
1021 ),
1022 array(
1023 'PNG/8',
1024 35
1025 ),
1026 array(
1027 'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.15',
1028 21
1029 ),
1030 array(
1031 'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.16',
1032 22
1033 ),
1034 array(
1035 'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.17',
1036 24
1037 ),
1038 array(
1039 'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.18',
1040 26
1041 ),
1042 array(
1043 'LLL:EXT:cms/locallang_ttc.xml:image_compression.I.19',
1044 28
1045 )
1046 )
1047 )
1048 ),
1049 'imagecols' => array(
1050 'label' => 'LLL:EXT:cms/locallang_ttc.xml:imagecols',
1051 'config' => array(
1052 'type' => 'select',
1053 'items' => array(
1054 array(
1055 '1',
1056 1
1057 ),
1058 array(
1059 '2',
1060 2
1061 ),
1062 array(
1063 '3',
1064 3
1065 ),
1066 array(
1067 '4',
1068 4
1069 ),
1070 array(
1071 '5',
1072 5
1073 ),
1074 array(
1075 '6',
1076 6
1077 ),
1078 array(
1079 '7',
1080 7
1081 ),
1082 array(
1083 '8',
1084 8
1085 )
1086 ),
1087 'default' => 1
1088 )
1089 ),
1090 'imagecaption' => array(
1091 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.caption',
1092 'config' => array(
1093 'type' => 'text',
1094 'cols' => '30',
1095 'rows' => '3',
1096 'softref' => 'typolink_tag,images,email[subst],url'
1097 )
1098 ),
1099 'imagecaption_position' => array(
1100 'exclude' => 1,
1101 'label' => 'LLL:EXT:cms/locallang_ttc.xml:imagecaption_position',
1102 'config' => array(
1103 'type' => 'select',
1104 'items' => array(
1105 array(
1106 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
1107 ''
1108 ),
1109 array(
1110 'LLL:EXT:cms/locallang_ttc.xml:imagecaption_position.I.1',
1111 'center'
1112 ),
1113 array(
1114 'LLL:EXT:cms/locallang_ttc.xml:imagecaption_position.I.2',
1115 'right'
1116 ),
1117 array(
1118 'LLL:EXT:cms/locallang_ttc.xml:imagecaption_position.I.3',
1119 'left'
1120 )
1121 ),
1122 'default' => ''
1123 )
1124 ),
1125 'altText' => array(
1126 'exclude' => 1,
1127 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_altText',
1128 'config' => array(
1129 'type' => 'text',
1130 'cols' => '30',
1131 'rows' => '3'
1132 )
1133 ),
1134 'titleText' => array(
1135 'exclude' => 1,
1136 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_titleText',
1137 'config' => array(
1138 'type' => 'text',
1139 'cols' => '30',
1140 'rows' => '3'
1141 )
1142 ),
1143 'longdescURL' => array(
1144 'exclude' => 1,
1145 'label' => 'LLL:EXT:cms/locallang_ttc.xml:image_longdescURL',
1146 'config' => array(
1147 'type' => 'text',
1148 'cols' => '30',
1149 'rows' => '3',
1150 'wizards' => array(
1151 '_PADDING' => 2,
1152 'link' => array(
1153 'type' => 'popup',
1154 'title' => 'LLL:EXT:cms/locallang_ttc.xml:image_link_formlabel',
1155 'icon' => 'link_popup.gif',
1156 'script' => 'browse_links.php?mode=wizard',
1157 'params' => array(
1158 'blindLinkOptions' => 'folder,file,mail,spec',
1159 'blindLinkFields' => 'target,title,class,params'
1160 ),
1161 'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
1162 )
1163 ),
1164 'softref' => 'typolink[linkList]'
1165 )
1166 ),
1167 'cols' => array(
1168 'label' => 'LLL:EXT:cms/locallang_ttc.xml:cols',
1169 'config' => array(
1170 'type' => 'select',
1171 'items' => array(
1172 array(
1173 'LLL:EXT:cms/locallang_ttc.xml:cols.I.0',
1174 '0'
1175 ),
1176 array(
1177 '1',
1178 '1'
1179 ),
1180 array(
1181 '2',
1182 '2'
1183 ),
1184 array(
1185 '3',
1186 '3'
1187 ),
1188 array(
1189 '4',
1190 '4'
1191 ),
1192 array(
1193 '5',
1194 '5'
1195 ),
1196 array(
1197 '6',
1198 '6'
1199 ),
1200 array(
1201 '7',
1202 '7'
1203 ),
1204 array(
1205 '8',
1206 '8'
1207 ),
1208 array(
1209 '9',
1210 '9'
1211 )
1212 ),
1213 'default' => '0'
1214 )
1215 ),
1216 'pages' => array(
1217 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.startingpoint',
1218 'config' => array(
1219 'type' => 'group',
1220 'internal_type' => 'db',
1221 'allowed' => 'pages',
1222 'size' => '3',
1223 'maxitems' => '22',
1224 'minitems' => '0',
1225 'show_thumbs' => '1',
1226 'wizards' => array(
1227 'suggest' => array(
1228 'type' => 'suggest'
1229 )
1230 )
1231 )
1232 ),
1233 'recursive' => array(
1234 'exclude' => 1,
1235 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.recursive',
1236 'config' => array(
1237 'type' => 'select',
1238 'items' => array(
1239 array(
1240 'LLL:EXT:cms/locallang_ttc.xml:recursive.I.0',
1241 '0'
1242 ),
1243 array(
1244 'LLL:EXT:cms/locallang_ttc.xml:recursive.I.1',
1245 '1'
1246 ),
1247 array(
1248 'LLL:EXT:cms/locallang_ttc.xml:recursive.I.2',
1249 '2'
1250 ),
1251 array(
1252 'LLL:EXT:cms/locallang_ttc.xml:recursive.I.3',
1253 '3'
1254 ),
1255 array(
1256 'LLL:EXT:cms/locallang_ttc.xml:recursive.I.4',
1257 '4'
1258 ),
1259 array(
1260 'LLL:EXT:cms/locallang_ttc.xml:recursive.I.5',
1261 '250'
1262 )
1263 ),
1264 'default' => '0'
1265 )
1266 ),
1267 'menu_type' => array(
1268 'label' => 'LLL:EXT:cms/locallang_ttc.xml:menu_type',
1269 'config' => array(
1270 'type' => 'select',
1271 'items' => array(
1272 array(
1273 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.0',
1274 '0'
1275 ),
1276 array(
1277 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.1',
1278 '1'
1279 ),
1280 array(
1281 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.2',
1282 '4'
1283 ),
1284 array(
1285 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.3',
1286 '7'
1287 ),
1288 array(
1289 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.4',
1290 '2'
1291 ),
1292 array(
1293 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.8',
1294 '8'
1295 ),
1296 array(
1297 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.5',
1298 '3'
1299 ),
1300 array(
1301 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.6',
1302 '5'
1303 ),
1304 array(
1305 'LLL:EXT:cms/locallang_ttc.xml:menu_type.I.7',
1306 '6'
1307 )
1308 ),
1309 'default' => '0'
1310 )
1311 ),
1312 'list_type' => array(
1313 'label' => 'LLL:EXT:cms/locallang_ttc.xml:list_type',
1314 'config' => array(
1315 'type' => 'select',
1316 'items' => array(
1317 array(
1318 '',
1319 '',
1320 ''
1321 )
1322 ),
1323 'itemsProcFunc' => 'user_sortPluginList',
1324 'default' => '',
1325 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],
1326 'iconsInOptionTags' => 1,
1327 'noIconsBelowSelect' => 1
1328 )
1329 ),
1330 'select_key' => array(
1331 'exclude' => 1,
1332 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.code',
1333 'config' => array(
1334 'type' => 'input',
1335 'size' => '50',
1336 'max' => '80',
1337 'eval' => 'trim'
1338 )
1339 ),
1340 'table_bgColor' => array(
1341 'exclude' => 1,
1342 'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor',
1343 'config' => array(
1344 'type' => 'select',
1345 'items' => array(
1346 array(
1347 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
1348 '0'
1349 ),
1350 array(
1351 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.1',
1352 '1'
1353 ),
1354 array(
1355 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.2',
1356 '2'
1357 ),
1358 array(
1359 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.3',
1360 '200'
1361 ),
1362 array(
1363 '-----',
1364 '--div--'
1365 ),
1366 array(
1367 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.5',
1368 '240'
1369 ),
1370 array(
1371 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.6',
1372 '241'
1373 ),
1374 array(
1375 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.7',
1376 '242'
1377 ),
1378 array(
1379 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.8',
1380 '243'
1381 ),
1382 array(
1383 'LLL:EXT:cms/locallang_ttc.xml:table_bgColor.I.9',
1384 '244'
1385 )
1386 ),
1387 'default' => '0'
1388 )
1389 ),
1390 'table_border' => array(
1391 'exclude' => 1,
1392 'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_border',
1393 'config' => array(
1394 'type' => 'input',
1395 'size' => '3',
1396 'max' => '3',
1397 'eval' => 'int',
1398 'range' => array(
1399 'upper' => '20',
1400 'lower' => '0'
1401 ),
1402 'default' => 0
1403 )
1404 ),
1405 'table_cellspacing' => array(
1406 'exclude' => 1,
1407 'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_cellspacing',
1408 'config' => array(
1409 'type' => 'input',
1410 'size' => '3',
1411 'max' => '3',
1412 'eval' => 'int',
1413 'range' => array(
1414 'upper' => '200',
1415 'lower' => '0'
1416 ),
1417 'default' => 0
1418 )
1419 ),
1420 'table_cellpadding' => array(
1421 'exclude' => 1,
1422 'label' => 'LLL:EXT:cms/locallang_ttc.xml:table_cellpadding',
1423 'config' => array(
1424 'type' => 'input',
1425 'size' => '3',
1426 'max' => '3',
1427 'eval' => 'int',
1428 'range' => array(
1429 'upper' => '200',
1430 'lower' => '0'
1431 ),
1432 'default' => 0
1433 )
1434 ),
1435 'media' => array(
1436 'label' => 'LLL:EXT:cms/locallang_ttc.xml:media',
1437 'config' => \TYPO3\CMS\Core\Extension\ExtensionManager::getFileFieldTCAConfig('media', array(
1438 'appearance' => array(
1439 'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:media.addFileReference'
1440 )
1441 ))
1442 ),
1443 'file_collections' => array(
1444 'label' => 'LLL:EXT:cms/locallang_ttc.xlf:file_collections',
1445 'config' => array(
1446 'type' => 'group',
1447 'internal_type' => 'db',
1448 'allowed' => 'sys_file_collection',
1449 'maxitems' => 999,
1450 'minitems' => 0,
1451 'size' => 5
1452 )
1453 ),
1454 'multimedia' => array(
1455 'label' => 'LLL:EXT:cms/locallang_ttc.xml:multimedia',
1456 'config' => array(
1457 'type' => 'group',
1458 'internal_type' => 'file',
1459 'allowed' => 'txt,html,htm,class,swf,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3,mp4,m4v',
1460 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
1461 'uploadfolder' => 'uploads/media',
1462 'size' => '2',
1463 'maxitems' => '1',
1464 'minitems' => '0'
1465 )
1466 ),
1467 'filelink_size' => array(
1468 'label' => 'LLL:EXT:cms/locallang_ttc.xml:filelink_size',
1469 'config' => array(
1470 'type' => 'check',
1471 'items' => array(
1472 '1' => array(
1473 '0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled'
1474 )
1475 )
1476 )
1477 ),
1478 'filelink_sorting' => array(
1479 'label' => 'LLL:EXT:cms/locallang_ttc.xml:filelink_sorting',
1480 'config' => array(
1481 'type' => 'select',
1482 'items' => array(
1483 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.none', ''),
1484 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.extension', 'extension'),
1485 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.name', 'name'),
1486 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.type', 'type'),
1487 array('LLL:EXT:cms/locallang_ttc.xlf:filelink_sorting.size', 'size')
1488 )
1489 )
1490 ),
1491 'target' => array(
1492 'label' => 'LLL:EXT:cms/locallang_ttc.xml:target',
1493 'config' => array(
1494 'type' => 'input',
1495 'size' => 20,
1496 'eval' => 'trim',
1497 'wizards' => array(
1498 'target_picker' => array(
1499 'type' => 'select',
1500 'mode' => '',
1501 'items' => array(
1502 array('LLL:EXT:cms/locallang_ttc.xml:target.I.1', '_blank')
1503 )
1504 )
1505 ),
1506 'default' => ''
1507 )
1508 ),
1509 'records' => array(
1510 'label' => 'LLL:EXT:cms/locallang_ttc.xml:records',
1511 'config' => array(
1512 'type' => 'group',
1513 'internal_type' => 'db',
1514 'allowed' => 'tt_content',
1515 'size' => '5',
1516 'maxitems' => '200',
1517 'minitems' => '0',
1518 'show_thumbs' => '1',
1519 'wizards' => array(
1520 'suggest' => array(
1521 'type' => 'suggest'
1522 )
1523 )
1524 )
1525 ),
1526 'spaceBefore' => array(
1527 'exclude' => 1,
1528 'label' => 'LLL:EXT:cms/locallang_ttc.xml:spaceBefore',
1529 'config' => array(
1530 'type' => 'input',
1531 'size' => '5',
1532 'max' => '5',
1533 'eval' => 'int',
1534 'range' => array(
1535 'lower' => '0'
1536 ),
1537 'default' => 0
1538 )
1539 ),
1540 'spaceAfter' => array(
1541 'exclude' => 1,
1542 'label' => 'LLL:EXT:cms/locallang_ttc.xml:spaceAfter',
1543 'config' => array(
1544 'type' => 'input',
1545 'size' => '5',
1546 'max' => '5',
1547 'eval' => 'int',
1548 'range' => array(
1549 'lower' => '0'
1550 ),
1551 'default' => 0
1552 )
1553 ),
1554 'section_frame' => array(
1555 'exclude' => 1,
1556 'label' => 'LLL:EXT:cms/locallang_ttc.xml:section_frame',
1557 'config' => array(
1558 'type' => 'select',
1559 'items' => array(
1560 array(
1561 '',
1562 '0'
1563 ),
1564 array(
1565 'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.1',
1566 '1'
1567 ),
1568 array(
1569 'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.2',
1570 '5'
1571 ),
1572 array(
1573 'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.3',
1574 '6'
1575 ),
1576 array(
1577 'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.4',
1578 '10'
1579 ),
1580 array(
1581 'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.5',
1582 '11'
1583 ),
1584 array(
1585 'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.6',
1586 '12'
1587 ),
1588 array(
1589 'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.7',
1590 '20'
1591 ),
1592 array(
1593 'LLL:EXT:cms/locallang_ttc.xml:section_frame.I.8',
1594 '21'
1595 )
1596 ),
1597 'default' => '0'
1598 )
1599 ),
1600 'splash_layout' => array(
1601 'exclude' => 1,
1602 'label' => 'LLL:EXT:cms/locallang_ttc.xml:splash_layout',
1603 'config' => array(
1604 'type' => 'select',
1605 'items' => array(
1606 array(
1607 'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
1608 '0'
1609 ),
1610 array(
1611 'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.1',
1612 '1'
1613 ),
1614 array(
1615 'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.2',
1616 '2'
1617 ),
1618 array(
1619 'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.3',
1620 '3'
1621 ),
1622 array(
1623 'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.4',
1624 '--div--'
1625 ),
1626 array(
1627 'LLL:EXT:cms/locallang_ttc.xml:splash_layout.I.5',
1628 '20'
1629 )
1630 ),
1631 'default' => '0'
1632 )
1633 ),
1634 'sectionIndex' => array(
1635 'exclude' => 1,
1636 'label' => 'LLL:EXT:cms/locallang_ttc.xml:sectionIndex',
1637 'config' => array(
1638 'type' => 'check',
1639 'default' => 1,
1640 'items' => array(
1641 '1' => array(
1642 '0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled'
1643 )
1644 )
1645 )
1646 ),
1647 'linkToTop' => array(
1648 'exclude' => 1,
1649 'label' => 'LLL:EXT:cms/locallang_ttc.xml:linkToTop',
1650 'config' => array(
1651 'type' => 'check',
1652 'items' => array(
1653 '1' => array(
1654 '0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled'
1655 )
1656 )
1657 )
1658 ),
1659 'rte_enabled' => array(
1660 'exclude' => 1,
1661 'label' => 'LLL:EXT:cms/locallang_ttc.xml:rte_enabled',
1662 'config' => array(
1663 'type' => 'check',
1664 'showIfRTE' => 1,
1665 'items' => array(
1666 '1' => array(
1667 '0' => 'LLL:EXT:cms/locallang_ttc.xml:rte_enabled.I.0'
1668 )
1669 )
1670 )
1671 ),
1672 'pi_flexform' => array(
1673 'l10n_display' => 'hideDiff',
1674 'label' => 'LLL:EXT:cms/locallang_ttc.xml:pi_flexform',
1675 'config' => array(
1676 'type' => 'flex',
1677 'ds_pointerField' => 'list_type,CType',
1678 'ds' => array(
1679 'default' => '
1680 <T3DataStructure>
1681 <ROOT>
1682 <type>array</type>
1683 <el>
1684 <!-- Repeat an element like "xmlTitle" beneath for as many elements you like. Remember to name them uniquely -->
1685 <xmlTitle>
1686 <TCEforms>
1687 <label>The Title:</label>
1688 <config>
1689 <type>input</type>
1690 <size>48</size>
1691 </config>
1692 </TCEforms>
1693 </xmlTitle>
1694 </el>
1695 </ROOT>
1696 </T3DataStructure>
1697 ',
1698 ',media' => file_get_contents(\TYPO3\CMS\Core\Extension\ExtensionManager::extPath('cms') . 'flexform_media.xml')
1699 ),
1700 'search' => array(
1701 'andWhere' => 'CType=\'list\''
1702 )
1703 )
1704 ),
1705 'tx_impexp_origuid' => array(
1706 'config' => array(
1707 'type' => 'passthrough'
1708 )
1709 ),
1710 'accessibility_title' => array(
1711 'label' => 'LLL:EXT:cms/locallang_ttc.xml:accessibility_title',
1712 'config' => array(
1713 'type' => 'input',
1714 'size' => 20,
1715 'eval' => 'trim',
1716 'default' => ''
1717 )
1718 ),
1719 'accessibility_bypass' => array(
1720 'label' => 'LLL:EXT:cms/locallang_ttc.xml:accessibility_bypass',
1721 'config' => array(
1722 'type' => 'check',
1723 'items' => array(
1724 '1' => array(
1725 '0' => 'LLL:EXT:lang/locallang_core.xml:labels.enabled'
1726 )
1727 )
1728 )
1729 ),
1730 'accessibility_bypass_text' => array(
1731 'label' => 'LLL:EXT:cms/locallang_ttc.xml:accessibility_bypass_text',
1732 'config' => array(
1733 'type' => 'input',
1734 'size' => 20,
1735 'eval' => 'trim',
1736 'default' => ''
1737 )
1738 ),
1739 'l18n_diffsource' => array(
1740 'config' => array(
1741 'type' => 'passthrough'
1742 )
1743 ),
1744 't3ver_label' => array(
1745 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel',
1746 'config' => array(
1747 'type' => 'input',
1748 'size' => '30',
1749 'max' => '255'
1750 )
1751 )
1752 ),
1753 'types' => array(
1754 '1' => array(
1755 'showitem' => 'CType'
1756 ),
1757 'header' => array(
1758 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1759 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.headers;headers,
1760 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1761 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1762 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1763 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1764 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1765 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1766 ),
1767 'text' => array(
1768 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1769 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1770 bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext_formlabel;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
1771 rte_enabled;LLL:EXT:cms/locallang_ttc.xml:rte_enabled_formlabel,
1772 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1773 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1774 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
1775 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1776 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1777 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1778 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1779 ),
1780 'textpic' => array(
1781 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1782 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1783 bodytext;Text;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
1784 rte_enabled;LLL:EXT:cms/locallang_ttc.xml:rte_enabled_formlabel,' . '--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.images,
1785 image,
1786 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imagelinks;imagelinks,' . '--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1787 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1788 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.image_settings;image_settings,
1789 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imageblock;imageblock,
1790 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
1791 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1792 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1793 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1794 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1795 ),
1796 'image' => array(
1797 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1798 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1799 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.images,
1800 image,
1801 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imagelinks;imagelinks,
1802 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1803 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1804 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.image_settings;image_settings,
1805 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.imageblock;imageblock,
1806 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1807 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1808 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1809 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1810 ),
1811 'bullets' => array(
1812 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1813 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1814 bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.bulletlist_formlabel;;nowrap,
1815 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1816 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1817 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
1818 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1819 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1820 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1821 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1822 ),
1823 'table' => array(
1824 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1825 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1826 bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.table_formlabel;;nowrap:wizards[table],
1827 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1828 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1829 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.table_layout;tablelayout,
1830 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textlayout;textlayout,
1831 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1832 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1833 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1834 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1835 ),
1836 'splash' => array(
1837 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1838 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1839 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.textbox;textbox,
1840 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1841 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1842 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1843 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1844 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1845 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1846 ),
1847 // file list
1848 'uploads' => array(
1849 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1850 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1851 --palette--;LLL:EXT:cms/locallang_ttc.xml:media;uploads,
1852 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1853 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1854 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.uploads_layout;uploadslayout,
1855 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1856 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1857 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1858 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1859 ),
1860 'multimedia' => array(
1861 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1862 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1863 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.media,
1864 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.multimediafiles;multimediafiles,
1865 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1866 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1867 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1868 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1869 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1870 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1871 ),
1872 'media' => array(
1873 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1874 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1875 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.media,
1876 pi_flexform; ;,
1877 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1878 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1879 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1880 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1881 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1882 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
1883 bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.media_formlabel;;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
1884 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1885 ),
1886 'menu' => array(
1887 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1888 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1889 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.menu;menu,
1890 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.menu_accessibility;menu_accessibility,
1891 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1892 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1893 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1894 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1895 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1896 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
1897 'subtype_value_field' => 'menu_type',
1898 'subtypes_excludelist' => array(
1899 '2' => 'pages'
1900 )
1901 ),
1902 'mailform' => array(
1903 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1904 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1905 bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.mailform_formlabel;;nowrap:wizards[forms],
1906 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1907 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1908 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1909 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1910 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1911 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
1912 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.mailform;mailform,
1913 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1914 ),
1915 'search' => array(
1916 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1917 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1918 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1919 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1920 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1921 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1922 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1923 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
1924 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.searchform;searchform,
1925 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1926 ),
1927 'shortcut' => array(
1928 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1929 header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.shortcut_formlabel,
1930 records;LLL:EXT:cms/locallang_ttc.xml:records_formlabel,
1931 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1932 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1933 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1934 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1935 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1936 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1937 ),
1938 'list' => array(
1939 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1940 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.header;header,
1941 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.plugin,
1942 list_type;LLL:EXT:cms/locallang_ttc.xml:list_type_formlabel,
1943 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1944 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1945 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1946 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1947 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1948 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.behaviour,
1949 select_key;LLL:EXT:cms/locallang_ttc.xml:select_key_formlabel,
1950 pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.list_formlabel,
1951 recursive,
1952 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended',
1953 'subtype_value_field' => 'list_type',
1954 'subtypes_excludelist' => array(
1955 '3' => 'layout',
1956 '2' => 'layout',
1957 '5' => 'layout',
1958 '9' => 'layout',
1959 '0' => 'layout',
1960 '6' => 'layout',
1961 '7' => 'layout',
1962 '1' => 'layout',
1963 '8' => 'layout',
1964 '11' => 'layout',
1965 '20' => 'layout',
1966 '21' => 'layout'
1967 )
1968 ),
1969 'div' => array(
1970 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1971 header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.div_formlabel,
1972 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1973 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1974 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1975 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1976 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1977 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1978 ),
1979 'html' => array(
1980 'showitem' => '--palette--;LLL:EXT:cms/locallang_ttc.xml:palette.general;general,
1981 header;LLL:EXT:cms/locallang_ttc.xml:header.ALT.html_formlabel,
1982 bodytext,
1983 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.appearance,
1984 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.frames;frames,
1985 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.access,
1986 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.visibility;visibility,
1987 --palette--;LLL:EXT:cms/locallang_ttc.xml:palette.access;access,
1988 --div--;LLL:EXT:cms/locallang_ttc.xml:tabs.extended'
1989 )
1990 ),
1991 'palettes' => array(
1992 '1' => array(
1993 'showitem' => 'starttime, endtime'
1994 ),
1995 '2' => array(
1996 'showitem' => 'imagecols, image_noRows, imageborder'
1997 ),
1998 '3' => array(
1999 'showitem' => 'header_position, header_layout, header_link, date'
2000 ),
2001 '4' => array(
2002 'showitem' => 'sys_language_uid, l18n_parent, colPos, spaceBefore, spaceAfter, section_frame, sectionIndex'
2003 ),
2004 '5' => array(
2005 'showitem' => 'imagecaption_position'
2006 ),
2007 '6' => array(
2008 'showitem' => 'imagewidth,image_link'
2009 ),
2010 '7' => array(
2011 'showitem' => 'image_link, image_zoom',
2012 'canNotCollapse' => 1
2013 ),
2014 '8' => array(
2015 'showitem' => 'layout'
2016 ),
2017 '9' => array(
2018 'showitem' => 'text_align,text_face,text_size,text_color'
2019 ),
2020 '10' => array(
2021 'showitem' => 'table_bgColor, table_border, table_cellspacing, table_cellpadding'
2022 ),
2023 '11' => array(
2024 'showitem' => 'image_compression, image_effects, image_frames',
2025 'canNotCollapse' => 1
2026 ),
2027 '12' => array(
2028 'showitem' => 'recursive'
2029 ),
2030 '13' => array(
2031 'showitem' => 'imagewidth, imageheight',
2032 'canNotCollapse' => 1
2033 ),
2034 '14' => array(
2035 'showitem' => 'sys_language_uid, l18n_parent, colPos'
2036 ),
2037 'general' => array(
2038 'showitem' => 'CType;LLL:EXT:cms/locallang_ttc.xml:CType_formlabel, colPos;LLL:EXT:cms/locallang_ttc.xml:colPos_formlabel, sys_language_uid;LLL:EXT:cms/locallang_ttc.xml:sys_language_uid_formlabel',
2039 'canNotCollapse' => 1
2040 ),
2041 'header' => array(
2042 'showitem' => 'header;LLL:EXT:cms/locallang_ttc.xml:header_formlabel, --linebreak--, header_layout;LLL:EXT:cms/locallang_ttc.xml:header_layout_formlabel, header_position;LLL:EXT:cms/locallang_ttc.xml:header_position_formlabel, date;LLL:EXT:cms/locallang_ttc.xml:date_formlabel, --linebreak--, header_link;LLL:EXT:cms/locallang_ttc.xml:header_link_formlabel',
2043 'canNotCollapse' => 1
2044 ),
2045 'headers' => array(
2046 'showitem' => 'header;LLL:EXT:cms/locallang_ttc.xml:header_formlabel, --linebreak--, header_layout;LLL:EXT:cms/locallang_ttc.xml:header_layout_formlabel, header_position;LLL:EXT:cms/locallang_ttc.xml:header_position_formlabel, date;LLL:EXT:cms/locallang_ttc.xml:date_formlabel, --linebreak--, header_link;LLL:EXT:cms/locallang_ttc.xml:header_link_formlabel, --linebreak--, subheader;LLL:EXT:cms/locallang_ttc.xml:subheader_formlabel',
2047 'canNotCollapse' => 1
2048 ),
2049 'multimediafiles' => array(
2050 'showitem' => 'multimedia;LLL:EXT:cms/locallang_ttc.xml:multimedia_formlabel, bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.multimedia_formlabel;;nowrap',
2051 'canNotCollapse' => 1
2052 ),
2053 'textbox' => array(
2054 'showitem' => 'splash_layout;LLL:EXT:cms/locallang_ttc.xml:splash_layout_formlabel, image;LLL:EXT:cms/locallang_ttc.xml:image.ALT.textbox_formlabel, --linebreak--, bodytext;LLL:EXT:cms/locallang_ttc.xml:bodytext.ALT.textbox_formlabel',
2055 'canNotCollapse' => 1
2056 ),
2057 'imagelinks' => array(
2058 'showitem' => 'image_zoom;LLL:EXT:cms/locallang_ttc.xml:image_zoom_formlabel',
2059 'canNotCollapse' => 1
2060 ),
2061 'image_accessibility' => array(
2062 'showitem' => 'altText;LLL:EXT:cms/locallang_ttc.xml:altText_formlabel, titleText;LLL:EXT:cms/locallang_ttc.xml:titleText_formlabel, --linebreak--, longdescURL;LLL:EXT:cms/locallang_ttc.xml:longdescURL_formlabel',
2063 'canNotCollapse' => 1
2064 ),
2065 'image_settings' => array(
2066 'showitem' => 'imagewidth;LLL:EXT:cms/locallang_ttc.xml:imagewidth_formlabel, imageheight;LLL:EXT:cms/locallang_ttc.xml:imageheight_formlabel, imageborder;LLL:EXT:cms/locallang_ttc.xml:imageborder_formlabel, --linebreak--, image_compression;LLL:EXT:cms/locallang_ttc.xml:image_compression_formlabel, image_effects;LLL:EXT:cms/locallang_ttc.xml:image_effects_formlabel, image_frames;LLL:EXT:cms/locallang_ttc.xml:image_frames_formlabel',
2067 'canNotCollapse' => 1
2068 ),
2069 'imageblock' => array(
2070 'showitem' => 'imageorient;LLL:EXT:cms/locallang_ttc.xml:imageorient_formlabel, imagecols;LLL:EXT:cms/locallang_ttc.xml:imagecols_formlabel, --linebreak--, image_noRows;LLL:EXT:cms/locallang_ttc.xml:image_noRows_formlabel, imagecaption_position;LLL:EXT:cms/locallang_ttc.xml:imagecaption_position_formlabel',
2071 'canNotCollapse' => 1
2072 ),
2073 'uploads' => array(
2074 'showitem' => 'media;LLL:EXT:cms/locallang_ttc.xml:media.ALT.uploads_formlabel, --linebreak--, file_collections;LLL:EXT:cms/locallang_ttc.xml:file_collections.ALT.uploads_formlabel, --linebreak--, filelink_sorting, target',
2075 'canNotCollapse' => 1
2076 ),
2077 'mailform' => array(
2078 'showitem' => 'pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.mailform, --linebreak--, subheader;LLL:EXT:cms/locallang_ttc.xml:subheader.ALT.mailform_formlabel',
2079 'canNotCollapse' => 1
2080 ),
2081 'searchform' => array(
2082 'showitem' => 'pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.searchform',
2083 'canNotCollapse' => 1
2084 ),
2085 'menu' => array(
2086 'showitem' => 'menu_type;LLL:EXT:cms/locallang_ttc.xml:menu_type_formlabel, --linebreak--, pages;LLL:EXT:cms/locallang_ttc.xml:pages.ALT.menu_formlabel',
2087 'canNotCollapse' => 1
2088 ),
2089 'menu_accessibility' => array(
2090 'showitem' => 'accessibility_title;LLL:EXT:cms/locallang_ttc.xml:menu.ALT.accessibility_title_formlabel, --linebreak--, accessibility_bypass;LLL:EXT:cms/locallang_ttc.xml:menu.ALT.accessibility_bypass_formlabel, accessibility_bypass_text;LLL:EXT:cms/locallang_ttc.xml:menu.ALT.accessibility_bypass_text_formlabel',
2091 'canNotCollapse' => 1
2092 ),
2093 'visibility' => array(
2094 'showitem' => 'hidden;LLL:EXT:cms/locallang_ttc.xml:hidden_formlabel, sectionIndex;LLL:EXT:cms/locallang_ttc.xml:sectionIndex_formlabel, linkToTop;LLL:EXT:cms/locallang_ttc.xml:linkToTop_formlabel',
2095 'canNotCollapse' => 1
2096 ),
2097 'access' => array(
2098 'showitem' => 'starttime;LLL:EXT:cms/locallang_ttc.xml:starttime_formlabel, endtime;LLL:EXT:cms/locallang_ttc.xml:endtime_formlabel, --linebreak--, fe_group;LLL:EXT:cms/locallang_ttc.xml:fe_group_formlabel',
2099 'canNotCollapse' => 1
2100 ),
2101 'frames' => array(
2102 'showitem' => 'layout;LLL:EXT:cms/locallang_ttc.xml:layout_formlabel, spaceBefore;LLL:EXT:cms/locallang_ttc.xml:spaceBefore_formlabel, spaceAfter;LLL:EXT:cms/locallang_ttc.xml:spaceAfter_formlabel, section_frame;LLL:EXT:cms/locallang_ttc.xml:section_frame_formlabel',
2103 'canNotCollapse' => 1
2104 ),
2105 'textlayout' => array(
2106 'showitem' => 'text_align;LLL:EXT:cms/locallang_ttc.xml:text_align_formlabel, text_face;LLL:EXT:cms/locallang_ttc.xml:text_face_formlabel, text_size;LLL:EXT:cms/locallang_ttc.xml:text_size_formlabel, text_color;LLL:EXT:cms/locallang_ttc.xml:text_color_formlabel, --linebreak--, text_properties;LLL:EXT:cms/locallang_ttc.xml:text_properties_formlabel',
2107 'canNotCollapse' => 1
2108 ),
2109 'tablelayout' => array(
2110 'showitem' => 'table_bgColor;LLL:EXT:cms/locallang_ttc.xml:table_bgColor_formlabel, table_border;LLL:EXT:cms/locallang_ttc.xml:table_border_formlabel, table_cellspacing;LLL:EXT:cms/locallang_ttc.xml:table_cellspacing_formlabel, table_cellpadding;LLL:EXT:cms/locallang_ttc.xml:table_cellpadding_formlabel',
2111 'canNotCollapse' => 1
2112 ),
2113 'uploadslayout' => array(
2114 'showitem' => 'filelink_size;LLL:EXT:cms/locallang_ttc.xml:filelink_size_formlabel',
2115 'canNotCollapse' => 1
2116 )
2117 )
2118 );
2119 // keep old code (pre-FAL) for installations that haven't upgraded yet. please remove this code in TYPO3 7.0
2120 // @deprecated since TYPO3 6.0, please remove in TYPO3 7.0
2121 // existing installation - and files are merged, nothing to do
2122 if ((!isset($GLOBALS['TYPO3_CONF_VARS']['INSTALL']['wizardDone']['Tx_Install_Updates_File_TceformsUpdateWizard']) || !\TYPO3\CMS\Core\Utility\GeneralUtility::inList($GLOBALS['TYPO3_CONF_VARS']['INSTALL']['wizardDone']['Tx_Install_Updates_File_TceformsUpdateWizard'], 'tt_content:image')) && !\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('6.0')) {
2123 \TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog('This installation hasn\'t been migrated to FAL for the field $TCA[tt_content][columns][image] yet. Please do so before TYPO3 v7.');
2124 // Existing installation and no upgrade wizard was executed - and files haven't been merged: use the old code
2125 $TCA['tt_content']['columns']['image']['config'] = array(
2126 'type' => 'group',
2127 'internal_type' => 'file',
2128 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
2129 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
2130 'uploadfolder' => 'uploads/pics',
2131 'show_thumbs' => '1',
2132 'size' => '3',
2133 'maxitems' => '200',
2134 'minitems' => '0',
2135 'autoSizeMax' => 40
2136 );
2137 }
2138 if ((!isset($GLOBALS['TYPO3_CONF_VARS']['INSTALL']['wizardDone']['Tx_Install_Updates_File_TceformsUpdateWizard']) || !\TYPO3\CMS\Core\Utility\GeneralUtility::inList($GLOBALS['TYPO3_CONF_VARS']['INSTALL']['wizardDone']['Tx_Install_Updates_File_TceformsUpdateWizard'], 'tt_content:media')) && !\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('6.0')) {
2139 \TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog('This installation hasn\'t been migrated to FAL for the field $TCA[tt_content][columns][media] yet. Please do so before TYPO3 v7.');
2140 // Existing installation and no upgrade wizard was executed - and files haven't been merged: use the old code
2141 $TCA['tt_content']['columns']['media']['config'] = array(
2142 'type' => 'group',
2143 'internal_type' => 'file',
2144 'allowed' => '',
2145 // Must be empty for disallowed to work.
2146 'disallowed' => PHP_EXTENSIONS_DEFAULT,
2147 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
2148 'uploadfolder' => 'uploads/media',
2149 'show_thumbs' => '1',
2150 'size' => '3',
2151 'maxitems' => '10',
2152 'minitems' => '0'
2153 );
2154 }
2155 ?>