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