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