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