f8db27ac1a28439e31195ab994df2d25496ceb29
[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 'default' => ''
771 )
772 ),
773 'backend_layout_next_level' => array(
774 'exclude' => 1,
775 'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.backend_layout_next_level_formlabel',
776 'config' => array(
777 'type' => 'select',
778 'items' => array(
779 array('', 0),
780 array('LLL:EXT:cms/locallang_tca.xlf:pages.backend_layout.none', -1)
781 ),
782 'itemsProcFunc' => 'TYPO3\\CMS\\Backend\\View\\BackendLayoutView->addBackendLayoutItems',
783 'selicon_cols' => 5,
784 'size' => 1,
785 'maxitems' => 1,
786 'default' => ''
787 )
788 )
789 ),
790 'types' => array(
791 // normal
792 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT => array(
793 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
794 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
795 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
796 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
797 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
798 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
799 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
800 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.metatags;metatags,
801 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
802 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.appearance,
803 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.layout;layout,
804 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.replace;replace,
805 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
806 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.links;links,
807 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.caching;caching,
808 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.language;language,
809 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;miscellaneous,
810 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.module;module,
811 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
812 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
813 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.storage;storage,
814 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
815 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
816 '
817 ),
818 // external URL
819 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => array(
820 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.external;external,
821 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
822 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
823 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
824 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
825 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
826 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
827 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
828 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.appearance,
829 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.layout;layout,
830 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
831 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.links;links,
832 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.language;language,
833 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;miscellaneous,
834 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
835 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
836 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.storage;storage,
837 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
838 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
839 '
840 ),
841 // shortcut
842 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT => array(
843 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.shortcut;shortcut,
844 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.shortcutpage;shortcutpage,
845 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
846 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
847 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
848 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
849 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
850 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
851 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
852 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.appearance,
853 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.layout;layout,
854 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
855 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.links;links,
856 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.language;language,
857 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;miscellaneous,
858 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
859 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
860 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.storage;storage,
861 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
862 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
863 '
864 ),
865 // mount page
866 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT => array(
867 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.mountpoint;mountpoint,
868 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.mountpage;mountpage,
869 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
870 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
871 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
872 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
873 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
874 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
875 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
876 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.appearance,
877 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.layout;layout,
878 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
879 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.links;links,
880 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.language;language,
881 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;miscellaneous,
882 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
883 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
884 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
885 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
886 '
887 ),
888 // spacer
889 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER => array(
890 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
891 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
892 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
893 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;visibility,
894 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
895 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
896 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;adminsonly,
897 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
898 '
899 ),
900 // Folder
901 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => array(
902 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
903 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
904 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
905 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
906 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
907 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;adminsonly,
908 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.module;module,
909 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
910 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
911 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.storage;storage,
912 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.config;config,
913 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
914 '
915 ),
916 // Trash
917 (string) \TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => array(
918 'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
919 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
920 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
921 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
922 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.behaviour,
923 --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.miscellaneous;adminsonly,
924 --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
925 '
926 )
927 ),
928 'palettes' => array(
929 '1' => array(
930 'showitem' => 'starttime, endtime, extendToSubpages'
931 ),
932 '2' => array(
933 'showitem' => 'layout, lastUpdated, newUntil, no_search'
934 ),
935 '3' => array(
936 'showitem' => 'alias, target, no_cache, cache_timeout, cache_tags, url_scheme'
937 ),
938 '5' => array(
939 'showitem' => 'author, author_email',
940 'canNotCollapse' => 1
941 ),
942 '6' => array(
943 'showitem' => 'php_tree_stop, editlock'
944 ),
945 '7' => array(
946 'showitem' => 'is_siteroot'
947 ),
948 '8' => array(
949 'showitem' => 'backend_layout_next_level'
950 ),
951 'standard' => array(
952 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel',
953 'canNotCollapse' => 1
954 ),
955 'shortcut' => array(
956 'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, shortcut_mode;LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode_formlabel',
957 'canNotCollapse' => 1
958 ),
959 'shortcutpage' => array(
960 'showitem' => 'shortcut;LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_formlabel',
961 'canNotCollapse' => 1
962 ),
963 'mountpoint' => array(
964 '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',
965 'canNotCollapse' => 1
966 ),
967 'mountpage' => array(
968 'showitem' => 'mount_pid;LLL:EXT:cms/locallang_tca.xlf:pages.mount_pid_formlabel',
969 'canNotCollapse' => 1
970 ),
971 'external' => array(
972 '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',
973 'canNotCollapse' => 1
974 ),
975 'title' => array(
976 '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',
977 'canNotCollapse' => 1
978 ),
979 'titleonly' => array(
980 'showitem' => 'title;LLL:EXT:cms/locallang_tca.xlf:pages.title_formlabel',
981 'canNotCollapse' => 1
982 ),
983 'visibility' => array(
984 'showitem' => 'hidden;LLL:EXT:cms/locallang_tca.xlf:pages.hidden_formlabel, nav_hide;LLL:EXT:cms/locallang_tca.xlf:pages.nav_hide_formlabel',
985 'canNotCollapse' => 1
986 ),
987 'hiddenonly' => array(
988 'showitem' => 'hidden;LLL:EXT:cms/locallang_tca.xlf:pages.hidden_formlabel',
989 'canNotCollapse' => 1
990 ),
991 'access' => array(
992 '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',
993 'canNotCollapse' => 1
994 ),
995 'abstract' => array(
996 'showitem' => 'abstract;LLL:EXT:cms/locallang_tca.xlf:pages.abstract_formlabel',
997 'canNotCollapse' => 1
998 ),
999 'metatags' => array(
1000 'showitem' => 'keywords;LLL:EXT:cms/locallang_tca.xlf:pages.keywords_formlabel, --linebreak--, description;LLL:EXT:cms/locallang_tca.xlf:pages.description_formlabel',
1001 'canNotCollapse' => 1
1002 ),
1003 'editorial' => array(
1004 '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',
1005 'canNotCollapse' => 1
1006 ),
1007 'layout' => array(
1008 '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',
1009 'canNotCollapse' => 1
1010 ),
1011 'module' => array(
1012 'showitem' => 'module;LLL:EXT:cms/locallang_tca.xlf:pages.module_formlabel',
1013 'canNotCollapse' => 1
1014 ),
1015 'replace' => array(
1016 'showitem' => 'content_from_pid;LLL:EXT:cms/locallang_tca.xlf:pages.content_from_pid_formlabel',
1017 'canNotCollapse' => 1
1018 ),
1019 'links' => array(
1020 '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',
1021 'canNotCollapse' => 1
1022 ),
1023 'caching' => array(
1024 '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',
1025 'canNotCollapse' => 1
1026 ),
1027 'language' => array(
1028 'showitem' => 'l18n_cfg;LLL:EXT:cms/locallang_tca.xlf:pages.l18n_cfg_formlabel',
1029 'canNotCollapse' => 1
1030 ),
1031 'miscellaneous' => array(
1032 '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',
1033 'canNotCollapse' => 1
1034 ),
1035 'adminsonly' => array(
1036 'showitem' => 'editlock;LLL:EXT:cms/locallang_tca.xlf:pages.editlock_formlabel',
1037 'canNotCollapse' => 1
1038 ),
1039 'media' => array(
1040 'showitem' => 'media;LLL:EXT:cms/locallang_tca.xlf:pages.media_formlabel',
1041 'canNotCollapse' => 1
1042 ),
1043 'storage' => array(
1044 'showitem' => 'storage_pid;LLL:EXT:cms/locallang_tca.xlf:pages.storage_pid_formlabel',
1045 'canNotCollapse' => 1
1046 ),
1047 'config' => array(
1048 'showitem' => 'TSconfig;LLL:EXT:cms/locallang_tca.xlf:pages.TSconfig_formlabel',
1049 'canNotCollapse' => 1
1050 )
1051 )
1052 );