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