[BUGFIX] Removed empty defaults for backend_layouts
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / pages.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'label' => 'title',
5 'tstamp' => 'tstamp',
6 'sortby' => 'sorting',
7 'title' => 'LLL:EXT:lang/locallang_tca.xlf:pages',
8 'type' => 'doktype',
9 'versioningWS' => 2,
10 'origUid' => 't3_origuid',
11 'delete' => 'deleted',
12 'crdate' => 'crdate',
13 'hideAtCopy' => 1,
14 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
15 'cruser_id' => 'cruser_id',
16 'editlock' => 'editlock',
17 'useColumnsForDefaultValues' => 'doktype,fe_group,hidden',
18 'dividers2tabs' => 1,
19 'enablecolumns' => array(
20 'disabled' => 'hidden',
21 'starttime' => 'starttime',
22 'endtime' => 'endtime',
23 'fe_group' => 'fe_group'
24 ),
25 'transForeignTable' => 'pages_language_overlay',
26 'typeicon_column' => 'doktype',
27 'typeicon_classes' => array(
28 '1' => 'apps-pagetree-page-default',
29 '1-hideinmenu' => 'apps-pagetree-page-not-in-menu',
30 '1-root' => 'apps-pagetree-page-domain',
31 '3' => 'apps-pagetree-page-shortcut-external',
32 '3-hideinmenu' => 'apps-pagetree-page-shortcut-external-hideinmenu',
33 '3-root' => 'apps-pagetree-page-shortcut-external-root',
34 '4' => 'apps-pagetree-page-shortcut',
35 '4-hideinmenu' => 'apps-pagetree-page-shortcut-hideinmenu',
36 '4-root' => 'apps-pagetree-page-shortcut-root',
37 '6' => 'apps-pagetree-page-backend-users',
38 '6-hideinmenu' => 'apps-pagetree-page-backend-users-hideinmenu',
39 '6-root' => 'apps-pagetree-page-backend-users-root',
40 '7' => 'apps-pagetree-page-mountpoint',
41 '7-hideinmenu' => 'apps-pagetree-page-mountpoint-hideinmenu',
42 '7-root' => 'apps-pagetree-page-mountpoint-root',
43 '199' => 'apps-pagetree-spacer',
44 '199-hideinmenu' => 'apps-pagetree-spacer',
45 '199-root' => 'apps-pagetree-page-domain',
46 '254' => 'apps-pagetree-folder-default',
47 '254-hideinmenu' => 'apps-pagetree-folder-default',
48 '254-root' => 'apps-pagetree-page-domain',
49 '255' => 'apps-pagetree-page-recycler',
50 '255-hideinmenu' => 'apps-pagetree-page-recycler',
51 'contains-shop' => 'apps-pagetree-folder-contains-shop',
52 'contains-approve' => 'apps-pagetree-folder-contains-approve',
53 'contains-fe_users' => 'apps-pagetree-folder-contains-fe_users',
54 'contains-board' => 'apps-pagetree-folder-contains-board',
55 'contains-news' => 'apps-pagetree-folder-contains-news',
56 'default' => 'apps-pagetree-page-default'
57 ),
58 'typeicons' => array(
59 '1' => 'pages.gif',
60 '254' => 'sysf.gif',
61 '255' => 'recycler.gif'
62 ),
63 'searchFields' => 'title,alias,nav_title,subtitle,url,keywords,description,abstract,author,author_email'
64 ),
65 'interface' => array(
66 'showRecordFieldList' => 'doktype,title,alias,hidden,starttime,endtime,fe_group,url,target,no_cache,shortcut,keywords,description,abstract,newUntil,lastUpdated,cache_timeout,cache_tags,backend_layout,backend_layout_next_level',
67 'maxDBListItems' => 30,
68 'maxSingleDBListItems' => 50
69 ),
70 'columns' => array(
71 'doktype' => array(
72 'exclude' => 1,
73 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
74 'config' => array(
75 'type' => 'select',
76 'items' => array(
77 array(
78 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.div.page',
79 '--div--'
80 ),
81 array(
82 'LLL:EXT:lang/locallang_tca.xlf:doktype.I.0',
83 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT,
84 'i/pages.gif'
85 ),
86 array(
87 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.4',
88 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_BE_USER_SECTION,
89 'i/be_users_section.gif'
90 ),
91 array(
92 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.div.link',
93 '--div--'
94 ),
95 array(
96 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.2',
97 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT,
98 'i/pages_shortcut.gif'
99 ),
100 array(
101 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.5',
102 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT,
103 'i/pages_mountpoint.gif'
104 ),
105 array(
106 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.8',
107 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK,
108 'i/pages_link.gif'
109 ),
110 array(
111 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.div.special',
112 '--div--'
113 ),
114 array(
115 'LLL:EXT:lang/locallang_tca.xlf:doktype.I.folder',
116 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER,
117 'i/sysf.gif'
118 ),
119 array(
120 'LLL:EXT:lang/locallang_tca.xlf:doktype.I.2',
121 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER,
122 'i/recycler.gif'
123 ),
124 array(
125 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.7',
126 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER,
127 'i/spacer_icon.gif'
128 )
129 ),
130 'default' => (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT,
131 'iconsInOptionTags' => 1,
132 'noIconsBelowSelect' => 1
133 )
134 ),
135 'title' => array(
136 'label' => 'LLL:EXT:lang/locallang_tca.xlf:title',
137 'config' => array(
138 'type' => 'input',
139 'size' => '50',
140 'max' => '255',
141 'eval' => 'trim,required'
142 )
143 ),
144 'TSconfig' => array(
145 'exclude' => 1,
146 'label' => 'TSconfig:',
147 'config' => array(
148 'type' => 'text',
149 'cols' => '40',
150 'rows' => '5',
151 'softref' => 'TSconfig'
152 ),
153 'defaultExtras' => 'fixed-font : enable-tab'
154 ),
155 'php_tree_stop' => array(
156 'exclude' => 1,
157 'label' => 'LLL:EXT:lang/locallang_tca.xlf:php_tree_stop',
158 'config' => array(
159 'type' => 'check',
160 'items' => array(
161 '1' => array(
162 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
163 )
164 )
165 )
166 ),
167 'storage_pid' => array(
168 'exclude' => 1,
169 'label' => 'LLL:EXT:lang/locallang_tca.xlf:storage_pid',
170 'config' => array(
171 'type' => 'group',
172 'internal_type' => 'db',
173 'allowed' => 'pages',
174 'size' => '1',
175 'maxitems' => '1',
176 'minitems' => '0',
177 'show_thumbs' => '1',
178 'wizards' => array(
179 'suggest' => array(
180 'type' => 'suggest'
181 )
182 )
183 )
184 ),
185 'tx_impexp_origuid' => array('config' => array('type' => 'passthrough')),
186 't3ver_label' => array(
187 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
188 'config' => array(
189 'type' => 'input',
190 'size' => '23',
191 'max' => '255'
192 )
193 ),
194 'editlock' => array(
195 'exclude' => 1,
196 'label' => 'LLL:EXT:lang/locallang_tca.xlf:editlock',
197 'config' => array(
198 'type' => 'check',
199 'items' => array(
200 '1' => array(
201 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
202 )
203 )
204 )
205 ),
206 'hidden' => array(
207 'exclude' => 1,
208 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.hidden',
209 'config' => array(
210 'type' => 'check',
211 'default' => '1',
212 'items' => array(
213 '1' => array(
214 '0' => 'LLL:EXT:cms/locallang_tca.xlf:pages.hidden_checkbox_1_formlabel'
215 )
216 )
217 )
218 ),
219 'starttime' => array(
220 'exclude' => 1,
221 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
222 'config' => array(
223 'type' => 'input',
224 'size' => '13',
225 'max' => '20',
226 'eval' => 'datetime',
227 'default' => '0'
228 )
229 ),
230 'endtime' => array(
231 'exclude' => 1,
232 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
233 'config' => array(
234 'type' => 'input',
235 'size' => '13',
236 'max' => '20',
237 'eval' => 'datetime',
238 'default' => '0',
239 'range' => array(
240 'upper' => mktime(0, 0, 0, 1, 1, 2038)
241 )
242 )
243 ),
244 'layout' => array(
245 'exclude' => 1,
246 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.layout',
247 'config' => array(
248 'type' => 'select',
249 'items' => array(
250 array(
251 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
252 '0'
253 ),
254 array(
255 'LLL:EXT:cms/locallang_tca.xlf:pages.layout.I.1',
256 '1'
257 ),
258 array(
259 'LLL:EXT:cms/locallang_tca.xlf:pages.layout.I.2',
260 '2'
261 ),
262 array(
263 'LLL:EXT:cms/locallang_tca.xlf:pages.layout.I.3',
264 '3'
265 )
266 ),
267 'default' => '0'
268 )
269 ),
270 'url_scheme' => array(
271 'exclude' => 1,
272 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.url_scheme',
273 'config' => array(
274 'type' => 'select',
275 'items' => array(
276 array(
277 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
278 0
279 ),
280 array(
281 'LLL:EXT:cms/locallang_tca.xlf:pages.url_scheme.http',
282 1
283 ),
284 array(
285 'LLL:EXT:cms/locallang_tca.xlf:pages.url_scheme.https',
286 2
287 )
288 ),
289 'default' => 0
290 )
291 ),
292 'fe_group' => array(
293 'exclude' => 1,
294 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.fe_group',
295 'config' => array(
296 'type' => 'select',
297 'size' => 7,
298 'maxitems' => 20,
299 'items' => array(
300 array(
301 'LLL:EXT:lang/locallang_general.xlf:LGL.hide_at_login',
302 -1
303 ),
304 array(
305 'LLL:EXT:lang/locallang_general.xlf:LGL.any_login',
306 -2
307 ),
308 array(
309 'LLL:EXT:lang/locallang_general.xlf:LGL.usergroups',
310 '--div--'
311 )
312 ),
313 'exclusiveKeys' => '-1,-2',
314 'foreign_table' => 'fe_groups',
315 'foreign_table_where' => 'ORDER BY fe_groups.title'
316 )
317 ),
318 'extendToSubpages' => array(
319 'exclude' => 1,
320 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.extendToSubpages',
321 'config' => array(
322 'type' => 'check',
323 'items' => array(
324 '1' => array(
325 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
326 )
327 )
328 )
329 ),
330 'nav_title' => array(
331 'exclude' => 1,
332 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.nav_title',
333 'config' => array(
334 'type' => 'input',
335 'size' => '50',
336 'max' => '255',
337 'eval' => 'trim'
338 )
339 ),
340 'nav_hide' => array(
341 'exclude' => 1,
342 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.nav_hide',
343 'config' => array(
344 'type' => 'check',
345 'items' => array(
346 '1' => array(
347 '0' => 'LLL:EXT:cms/locallang_tca.xlf:pages.nav_hide_checkbox_1_formlabel'
348 )
349 )
350 )
351 ),
352 'subtitle' => array(
353 'exclude' => 1,
354 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.subtitle',
355 'config' => array(
356 'type' => 'input',
357 'size' => '50',
358 'max' => '255',
359 'eval' => ''
360 )
361 ),
362 'target' => array(
363 'exclude' => 1,
364 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.target',
365 'config' => array(
366 'type' => 'input',
367 'size' => '50',
368 'max' => '80',
369 'eval' => 'trim'
370 )
371 ),
372 'alias' => array(
373 'exclude' => 1,
374 'displayCond' => 'VERSION:IS:false',
375 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.alias',
376 'config' => array(
377 'type' => 'input',
378 'size' => '50',
379 'max' => '32',
380 'eval' => 'nospace,alphanum_x,lower,unique',
381 'softref' => 'notify'
382 )
383 ),
384 'url' => array(
385 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.url',
386 'config' => array(
387 'type' => 'input',
388 'size' => '23',
389 'max' => '255',
390 'eval' => 'trim,required',
391 'softref' => 'url'
392 )
393 ),
394 'urltype' => array(
395 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
396 'config' => array(
397 'type' => 'select',
398 'items' => array(
399 array(
400 'LLL:EXT:lang/locallang_core.xlf:labels.automatic',
401 '0'
402 ),
403 array(
404 'http://',
405 '1'
406 ),
407 array(
408 'https://',
409 '4'
410 ),
411 array(
412 'ftp://',
413 '2'
414 ),
415 array(
416 'mailto:',
417 '3'
418 )
419 ),
420 'default' => '1'
421 )
422 ),
423 'lastUpdated' => array(
424 'exclude' => 1,
425 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.lastUpdated',
426 'config' => array(
427 'type' => 'input',
428 'size' => '13',
429 'max' => '20',
430 'eval' => 'datetime',
431 'default' => '0'
432 )
433 ),
434 'newUntil' => array(
435 'exclude' => 1,
436 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.newUntil',
437 'config' => array(
438 'type' => 'input',
439 'size' => '13',
440 'max' => '20',
441 'eval' => 'date',
442 'default' => '0'
443 )
444 ),
445 'cache_timeout' => array(
446 'exclude' => 1,
447 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout',
448 'config' => array(
449 'type' => 'select',
450 'items' => array(
451 array(
452 'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
453 0
454 ),
455 array(
456 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.1',
457 60
458 ),
459 array(
460 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.2',
461 300
462 ),
463 array(
464 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.3',
465 900
466 ),
467 array(
468 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.4',
469 1800
470 ),
471 array(
472 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.5',
473 3600
474 ),
475 array(
476 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.6',
477 14400
478 ),
479 array(
480 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.7',
481 86400
482 ),
483 array(
484 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.8',
485 172800
486 ),
487 array(
488 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.9',
489 604800
490 ),
491 array(
492 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout.I.10',
493 2678400
494 )
495 ),
496 'default' => '0'
497 )
498 ),
499 'cache_tags' => array(
500 'exclude' => 1,
501 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.cache_tags',
502 'config' => array(
503 'type' => 'input',
504 'size' => '30',
505 'max' => '255',
506 'eval' => ''
507 )
508 ),
509 'no_cache' => array(
510 'exclude' => 1,
511 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.no_cache',
512 'config' => array(
513 'type' => 'check',
514 'items' => array(
515 '1' => array(
516 '0' => 'LLL:EXT:cms/locallang_tca.xlf:pages.no_cache_checkbox_1_formlabel'
517 )
518 )
519 )
520 ),
521 'no_search' => array(
522 'exclude' => 1,
523 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.no_search',
524 'config' => array(
525 'type' => 'check',
526 'items' => array(
527 '1' => array(
528 '0' => 'LLL:EXT:cms/locallang_tca.xlf:pages.no_search_checkbox_1_formlabel'
529 )
530 )
531 )
532 ),
533 'shortcut' => array(
534 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.shortcut_page',
535 'config' => array(
536 'type' => 'group',
537 'internal_type' => 'db',
538 'allowed' => 'pages',
539 'size' => '1',
540 'maxitems' => '1',
541 'minitems' => '0',
542 'show_thumbs' => '1',
543 'wizards' => array(
544 'suggest' => array(
545 'type' => 'suggest'
546 )
547 )
548 )
549 ),
550 'shortcut_mode' => array(
551 'exclude' => 1,
552 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode',
553 'config' => array(
554 'type' => 'select',
555 'items' => array(
556 array(
557 'LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode.I.0',
558 \TYPO3\CMS\Frontend\Page\PageRepository::SHORTCUT_MODE_NONE
559 ),
560 array(
561 'LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode.I.1',
562 \TYPO3\CMS\Frontend\Page\PageRepository::SHORTCUT_MODE_FIRST_SUBPAGE
563 ),
564 array(
565 'LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode.I.2',
566 \TYPO3\CMS\Frontend\Page\PageRepository::SHORTCUT_MODE_RANDOM_SUBPAGE
567 ),
568 array(
569 'LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode.I.3',
570 \TYPO3\CMS\Frontend\Page\PageRepository::SHORTCUT_MODE_PARENT_PAGE
571 )
572 ),
573 'default' => '0'
574 )
575 ),
576 'content_from_pid' => array(
577 'exclude' => 1,
578 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.content_from_pid',
579 'config' => array(
580 'type' => 'group',
581 'internal_type' => 'db',
582 'allowed' => 'pages',
583 'size' => '1',
584 'maxitems' => '1',
585 'minitems' => '0',
586 'show_thumbs' => '1',
587 'wizards' => array(
588 'suggest' => array(
589 'type' => 'suggest'
590 )
591 )
592 )
593 ),
594 'mount_pid' => array(
595 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.mount_pid',
596 'config' => array(
597 'type' => 'group',
598 'internal_type' => 'db',
599 'allowed' => 'pages',
600 'size' => '1',
601 'maxitems' => '1',
602 'minitems' => '0',
603 'show_thumbs' => '1',
604 'wizards' => array(
605 'suggest' => array(
606 'type' => 'suggest'
607 )
608 )
609 )
610 ),
611 'keywords' => array(
612 'exclude' => 1,
613 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.keywords',
614 'config' => array(
615 'type' => 'text',
616 'cols' => '40',
617 'rows' => '3'
618 )
619 ),
620 'description' => array(
621 'exclude' => 1,
622 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
623 'config' => array(
624 'type' => 'text',
625 'cols' => '40',
626 'rows' => '3'
627 )
628 ),
629 'abstract' => array(
630 'exclude' => 1,
631 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.abstract',
632 'config' => array(
633 'type' => 'text',
634 'cols' => '40',
635 'rows' => '3'
636 )
637 ),
638 'author' => array(
639 'exclude' => 1,
640 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.author',
641 'config' => array(
642 'type' => 'input',
643 'size' => '23',
644 'eval' => 'trim',
645 'max' => '80'
646 )
647 ),
648 'author_email' => array(
649 'exclude' => 1,
650 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.email',
651 'config' => array(
652 'type' => 'input',
653 'size' => '23',
654 'eval' => 'trim',
655 'max' => '80',
656 'softref' => 'email[subst]'
657 )
658 ),
659 'media' => array(
660 'exclude' => 1,
661 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.media',
662 'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('media')
663 ),
664 'is_siteroot' => array(
665 'exclude' => 1,
666 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.is_siteroot',
667 'config' => array(
668 'type' => 'check',
669 'items' => array(
670 '1' => array(
671 '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
672 )
673 )
674 )
675 ),
676 'mount_pid_ol' => array(
677 'exclude' => 1,
678 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.mount_pid_ol',
679 'config' => array(
680 'type' => 'radio',
681 'items' => array(
682 array(
683 'LLL:EXT:cms/locallang_tca.xlf:pages.mount_pid_ol.I.0',
684 0
685 ),
686 array(
687 'LLL:EXT:cms/locallang_tca.xlf:pages.mount_pid_ol.I.1',
688 1
689 )
690 )
691 )
692 ),
693 'module' => array(
694 'exclude' => 1,
695 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.module',
696 'config' => array(
697 'type' => 'select',
698 'items' => array(
699 array(
700 '',
701 '',
702 ''
703 ),
704 array(
705 'LLL:EXT:cms/locallang_tca.xlf:pages.module.I.4',
706 'fe_users',
707 'i/fe_users.gif'
708 )
709 ),
710 'default' => '',
711 'iconsInOptionTags' => 1,
712 'noIconsBelowSelect' => 1
713 )
714 ),
715 'fe_login_mode' => array(
716 'exclude' => 1,
717 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.fe_login_mode',
718 'config' => array(
719 'type' => 'select',
720 'items' => array(
721 array(
722 'LLL:EXT:cms/locallang_tca.xlf:pages.fe_login_mode.enable',
723 0
724 ),
725 array(
726 'LLL:EXT:cms/locallang_tca.xlf:pages.fe_login_mode.disableAll',
727 1
728 ),
729 array(
730 'LLL:EXT:cms/locallang_tca.xlf:pages.fe_login_mode.disableGroups',
731 3
732 ),
733 array(
734 'LLL:EXT:cms/locallang_tca.xlf:pages.fe_login_mode.enableAgain',
735 2
736 )
737 )
738 )
739 ),
740 'l18n_cfg' => array(
741 'exclude' => 1,
742 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.l18n_cfg',
743 'config' => array(
744 'type' => 'check',
745 'items' => array(
746 array(
747 'LLL:EXT:cms/locallang_tca.xlf:pages.l18n_cfg.I.1',
748 ''
749 ),
750 array(
751 $GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] ? 'LLL:EXT:cms/locallang_tca.xlf:pages.l18n_cfg.I.2a' : 'LLL:EXT:cms/locallang_tca.xlf:pages.l18n_cfg.I.2',
752 ''
753 )
754 )
755 )
756 ),
757 'backend_layout' => array(
758 'exclude' => 1,
759 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.backend_layout_formlabel',
760 'config' => array(
761 'type' => 'select',
762 'items' => array(
763 array('', 0),
764 array('LLL:EXT:cms/locallang_tca.xlf:pages.backend_layout.none', -1)
765 ),
766 'itemsProcFunc' => 'TYPO3\\CMS\\Backend\\View\\BackendLayoutView->addBackendLayoutItems',
767 'selicon_cols' => 5,
768 'size' => 1,
769 'maxitems' => 1,
770 )
771 ),
772 'backend_layout_next_level' => array(
773 'exclude' => 1,
774 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.backend_layout_next_level_formlabel',
775 'config' => array(
776 'type' => 'select',
777 'items' => array(
778 array('', 0),
779 array('LLL:EXT:cms/locallang_tca.xlf:pages.backend_layout.none', -1)
780 ),
781 'itemsProcFunc' => 'TYPO3\\CMS\\Backend\\View\\BackendLayoutView->addBackendLayoutItems',
782 'selicon_cols' => 5,
783 'size' => 1,
784 'maxitems' => 1,
785 )
786 )
787 ),
788 'types' => array(
789 // normal
790 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT => array(
791 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
792 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
793 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
794 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
795 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
796 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
797 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
798 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.metatags;metatags,
799 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
800 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.appearance,
801 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.layout;layout,
802 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.replace;replace,
803 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
804 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.links;links,
805 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.caching;caching,
806 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.language;language,
807 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;miscellaneous,
808 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.module;module,
809 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
810 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
811 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.storage;storage,
812 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
813 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
814 '
815 ),
816 // external URL
817 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => array(
818 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.external;external,
819 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
820 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
821 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
822 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
823 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
824 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
825 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
826 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.appearance,
827 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.layout;layout,
828 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
829 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.links;links,
830 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.language;language,
831 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;miscellaneous,
832 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
833 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
834 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.storage;storage,
835 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
836 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
837 '
838 ),
839 // shortcut
840 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT => array(
841 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.shortcut;shortcut,
842 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.shortcutpage;shortcutpage,
843 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
844 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
845 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
846 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
847 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
848 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
849 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
850 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.appearance,
851 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.layout;layout,
852 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
853 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.links;links,
854 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.language;language,
855 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;miscellaneous,
856 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
857 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
858 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.storage;storage,
859 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
860 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
861 '
862 ),
863 // mount page
864 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT => array(
865 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.mountpoint;mountpoint,
866 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.mountpage;mountpage,
867 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
868 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
869 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
870 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
871 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
872 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
873 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
874 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.appearance,
875 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.layout;layout,
876 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
877 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.links;links,
878 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.language;language,
879 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;miscellaneous,
880 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
881 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
882 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
883 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
884 '
885 ),
886 // spacer
887 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER => array(
888 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
889 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
890 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
891 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
892 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
893 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
894 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;adminsonly,
895 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
896 '
897 ),
898 // Folder
899 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => array(
900 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
901 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
902 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
903 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
904 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
905 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;adminsonly,
906 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.module;module,
907 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
908 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
909 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.storage;storage,
910 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
911 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
912 '
913 ),
914 // Trash
915 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => array(
916 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
917 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
918 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
919 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
920 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
921 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;adminsonly,
922 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
923 '
924 )
925 ),
926 'palettes' => array(
927 '1' => array(
928 'showitem' => 'starttime, endtime, extendToSubpages'
929 ),
930 '2' => array(
931 'showitem' => 'layout, lastUpdated, newUntil, no_search'
932 ),
933 '3' => array(
934 'showitem' => 'alias, target, no_cache, cache_timeout, cache_tags, url_scheme'
935 ),
936 '5' => array(
937 'showitem' => 'author, author_email',
938 'canNotCollapse' => 1
939 ),
940 '6' => array(
941 'showitem' => 'php_tree_stop, editlock'
942 ),
943 '7' => array(
944 'showitem' => 'is_siteroot'
945 ),
946 '8' => array(
947 'showitem' => 'backend_layout_next_level'
948 ),
949 'standard' => array(
950 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel',
951 'canNotCollapse' => 1
952 ),
953 'shortcut' => array(
954 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, shortcut_mode;LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode_formlabel',
955 'canNotCollapse' => 1
956 ),
957 'shortcutpage' => array(
958 'showitem' => 'shortcut;LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_formlabel',
959 'canNotCollapse' => 1
960 ),
961 'mountpoint' => array(
962 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, mount_pid_ol;LLL:EXT:cms/locallang_tca.xlf:pages.mount_pid_ol_formlabel',
963 'canNotCollapse' => 1
964 ),
965 'mountpage' => array(
966 'showitem' => 'mount_pid;LLL:EXT:cms/locallang_tca.xlf:pages.mount_pid_formlabel',
967 'canNotCollapse' => 1
968 ),
969 'external' => array(
970 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, urltype;LLL:EXT:cms/locallang_tca.xlf:pages.urltype_formlabel, url;LLL:EXT:cms/locallang_tca.xlf:pages.url_formlabel',
971 'canNotCollapse' => 1
972 ),
973 'title' => array(
974 'showitem' => 'title;LLL:EXT:cms/locallang_tca.xlf:pages.title_formlabel, --linebreak--, nav_title;LLL:EXT:cms/locallang_tca.xlf:pages.nav_title_formlabel, --linebreak--, subtitle;LLL:EXT:cms/locallang_tca.xlf:pages.subtitle_formlabel',
975 'canNotCollapse' => 1
976 ),
977 'titleonly' => array(
978 'showitem' => 'title;LLL:EXT:cms/locallang_tca.xlf:pages.title_formlabel',
979 'canNotCollapse' => 1
980 ),
981 'visibility' => array(
982 'showitem' => 'hidden;LLL:EXT:cms/locallang_tca.xlf:pages.hidden_formlabel, nav_hide;LLL:EXT:cms/locallang_tca.xlf:pages.nav_hide_formlabel',
983 'canNotCollapse' => 1
984 ),
985 'hiddenonly' => array(
986 'showitem' => 'hidden;LLL:EXT:cms/locallang_tca.xlf:pages.hidden_formlabel',
987 'canNotCollapse' => 1
988 ),
989 'access' => array(
990 'showitem' => 'starttime;LLL:EXT:cms/locallang_tca.xlf:pages.starttime_formlabel, endtime;LLL:EXT:cms/locallang_tca.xlf:pages.endtime_formlabel, extendToSubpages;LLL:EXT:cms/locallang_tca.xlf:pages.extendToSubpages_formlabel, --linebreak--, fe_group;LLL:EXT:cms/locallang_tca.xlf:pages.fe_group_formlabel, --linebreak--, fe_login_mode;LLL:EXT:cms/locallang_tca.xlf:pages.fe_login_mode_formlabel',
991 'canNotCollapse' => 1
992 ),
993 'abstract' => array(
994 'showitem' => 'abstract;LLL:EXT:cms/locallang_tca.xlf:pages.abstract_formlabel',
995 'canNotCollapse' => 1
996 ),
997 'metatags' => array(
998 'showitem' => 'keywords;LLL:EXT:cms/locallang_tca.xlf:pages.keywords_formlabel, --linebreak--, description;LLL:EXT:cms/locallang_tca.xlf:pages.description_formlabel',
999 'canNotCollapse' => 1
1000 ),
1001 'editorial' => array(
1002 'showitem' => 'author;LLL:EXT:cms/locallang_tca.xlf:pages.author_formlabel, author_email;LLL:EXT:cms/locallang_tca.xlf:pages.author_email_formlabel, lastUpdated;LLL:EXT:cms/locallang_tca.xlf:pages.lastUpdated_formlabel',
1003 'canNotCollapse' => 1
1004 ),
1005 'layout' => array(
1006 'showitem' => 'layout;LLL:EXT:cms/locallang_tca.xlf:pages.layout_formlabel, newUntil;LLL:EXT:cms/locallang_tca.xlf:pages.newUntil_formlabel, --linebreak--, backend_layout;LLL:EXT:cms/locallang_tca.xlf:pages.backend_layout_formlabel, backend_layout_next_level;LLL:EXT:cms/locallang_tca.xlf:pages.backend_layout_next_level_formlabel',
1007 'canNotCollapse' => 1
1008 ),
1009 'module' => array(
1010 'showitem' => 'module;LLL:EXT:cms/locallang_tca.xlf:pages.module_formlabel',
1011 'canNotCollapse' => 1
1012 ),
1013 'replace' => array(
1014 'showitem' => 'content_from_pid;LLL:EXT:cms/locallang_tca.xlf:pages.content_from_pid_formlabel',
1015 'canNotCollapse' => 1
1016 ),
1017 'links' => array(
1018 'showitem' => 'alias;LLL:EXT:cms/locallang_tca.xlf:pages.alias_formlabel, --linebreak--, target;LLL:EXT:cms/locallang_tca.xlf:pages.target_formlabel, --linebreak--, url_scheme;LLL:EXT:cms/locallang_tca.xlf:pages.url_scheme_formlabel',
1019 'canNotCollapse' => 1
1020 ),
1021 'caching' => array(
1022 'showitem' => 'cache_timeout;LLL:EXT:cms/locallang_tca.xlf:pages.cache_timeout_formlabel, cache_tags, no_cache;LLL:EXT:cms/locallang_tca.xlf:pages.no_cache_formlabel',
1023 'canNotCollapse' => 1
1024 ),
1025 'language' => array(
1026 'showitem' => 'l18n_cfg;LLL:EXT:cms/locallang_tca.xlf:pages.l18n_cfg_formlabel',
1027 'canNotCollapse' => 1
1028 ),
1029 'miscellaneous' => array(
1030 'showitem' => 'is_siteroot;LLL:EXT:cms/locallang_tca.xlf:pages.is_siteroot_formlabel, no_search;LLL:EXT:cms/locallang_tca.xlf:pages.no_search_formlabel, editlock;LLL:EXT:cms/locallang_tca.xlf:pages.editlock_formlabel, php_tree_stop;LLL:EXT:cms/locallang_tca.xlf:pages.php_tree_stop_formlabel',
1031 'canNotCollapse' => 1
1032 ),
1033 'adminsonly' => array(
1034 'showitem' => 'editlock;LLL:EXT:cms/locallang_tca.xlf:pages.editlock_formlabel',
1035 'canNotCollapse' => 1
1036 ),
1037 'media' => array(
1038 'showitem' => 'media;LLL:EXT:cms/locallang_tca.xlf:pages.media_formlabel',
1039 'canNotCollapse' => 1
1040 ),
1041 'storage' => array(
1042 'showitem' => 'storage_pid;LLL:EXT:cms/locallang_tca.xlf:pages.storage_pid_formlabel',
1043 'canNotCollapse' => 1
1044 ),
1045 'config' => array(
1046 'showitem' => 'TSconfig;LLL:EXT:cms/locallang_tca.xlf:pages.TSconfig_formlabel',
1047 'canNotCollapse' => 1
1048 )
1049 )
1050 );