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