Fixed bug #15830: Sprite - IRRE record synchronization icon missing (Thanks to Stefan...
[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('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.page', '--div--'),
21 array('LLL:EXT:lang/locallang_tca.php:doktype.I.0', '1', 'i/pages.gif'),
22 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.4', '6', 'i/be_users_section.gif'),
23 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.link', '--div--'),
24 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.2', '4', 'i/pages_shortcut.gif'),
25 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.5', '7', 'i/pages_mountpoint.gif'),
26 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.8', '3', 'i/pages_link.gif'),
27 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.div.special', '--div--'),
28 array('LLL:EXT:lang/locallang_tca.php:doktype.I.1', '254', 'i/sysf.gif'),
29 array('LLL:EXT:lang/locallang_tca.php:doktype.I.2', '255', 'i/recycler.gif'),
30 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.7', '199', 'i/spacer_icon.gif'),
31 ),
32 'default' => '1',
33 'iconsInOptionTags' => 1,
34 'noIconsBelowSelect' => 1,
35 )
36 ),
37 'title' => array(
38 'label' => 'LLL:EXT:lang/locallang_tca.php:title',
39 'config' => array(
40 'type' => 'input',
41 'size' => '30',
42 'max' => '255',
43 'eval' => 'required'
44 )
45 ),
46 'TSconfig' => array(
47 'exclude' => 1,
48 'label' => 'TSconfig:',
49 'config' => array(
50 'type' => 'text',
51 'cols' => '40',
52 'rows' => '5',
53 'wizards' => array(
54 '_PADDING' => 4,
55 '0' => array(
56 'type' => t3lib_extMgm::isLoaded('tsconfig_help')?'popup':'',
57 'title' => 'TSconfig QuickReference',
58 'script' => 'wizard_tsconfig.php?mode=page',
59 'icon' => 'wizard_tsconfig.gif',
60 'JSopenParams' => 'height=500,width=780,status=0,menubar=0,scrollbars=1',
61 )
62 ),
63 'softref' => 'TSconfig'
64 ),
65 'defaultExtras' => 'fixed-font : enable-tab',
66 ),
67 'php_tree_stop' => array(
68 'exclude' => 1,
69 'label' => 'LLL:EXT:lang/locallang_tca.php:php_tree_stop',
70 'config' => array(
71 'type' => 'check'
72 )
73 ),
74 'storage_pid' => array(
75 'exclude' => 1,
76 'label' => 'LLL:EXT:lang/locallang_tca.php:storage_pid',
77 'config' => array(
78 'type' => 'group',
79 'internal_type' => 'db',
80 'allowed' => 'pages',
81 'size' => '1',
82 'maxitems' => '1',
83 'minitems' => '0',
84 'show_thumbs' => '1',
85 'wizards' => array(
86 'suggest' => array(
87 'type' => 'suggest',
88 ),
89 ),
90 )
91 ),
92 'tx_impexp_origuid' => array('config'=>array('type'=>'passthrough')),
93 't3ver_label' => array(
94 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.versionLabel',
95 'config' => array(
96 'type' => 'input',
97 'size' => '30',
98 'max' => '255',
99 )
100 ),
101 'editlock' => array(
102 'exclude' => 1,
103 'label' => 'LLL:EXT:lang/locallang_tca.php:editlock',
104 'config' => array(
105 'type' => 'check'
106 )
107 ),
108 'hidden' => array (
109 'exclude' => 1,
110 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden',
111 'config' => array (
112 'type' => 'check',
113 'default' => '1'
114 )
115 ),
116 'starttime' => array (
117 'exclude' => 1,
118 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
119 'config' => array (
120 'type' => 'input',
121 'size' => '8',
122 'max' => '20',
123 'eval' => 'date',
124 'checkbox' => '0',
125 'default' => '0'
126 )
127 ),
128 'endtime' => array (
129 'exclude' => 1,
130 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
131 'config' => array (
132 'type' => 'input',
133 'size' => '8',
134 'max' => '20',
135 'eval' => 'date',
136 'checkbox' => '0',
137 'default' => '0',
138 'range' => array (
139 'upper' => mktime(0,0,0,12,31,2020),
140 )
141 )
142 ),
143 'layout' => array (
144 'exclude' => 1,
145 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.layout',
146 'config' => array (
147 'type' => 'select',
148 'items' => array (
149 array('LLL:EXT:lang/locallang_general.xml:LGL.normal', '0'),
150 array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.1', '1'),
151 array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.2', '2'),
152 array('LLL:EXT:cms/locallang_tca.xml:pages.layout.I.3', '3')
153 ),
154 'default' => '0'
155 )
156 ),
157 'url_scheme' => array (
158 'exclude' => 1,
159 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url_scheme',
160 'config' => array (
161 'type' => 'select',
162 'items' => array (
163 array('', 0),
164 array('LLL:EXT:cms/locallang_tca.xml:pages.url_scheme.http', 1),
165 array('LLL:EXT:cms/locallang_tca.xml:pages.url_scheme.https', 2)
166 ),
167 'default' => 0
168 )
169 ),
170 'fe_group' => array (
171 'exclude' => 1,
172 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
173 'config' => array (
174 'type' => 'select',
175 'size' => 5,
176 'maxitems' => 20,
177 'items' => array (
178 array('LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login', -1),
179 array('LLL:EXT:lang/locallang_general.xml:LGL.any_login', -2),
180 array('LLL:EXT:lang/locallang_general.xml:LGL.usergroups', '--div--')
181 ),
182 'exclusiveKeys' => '-1,-2',
183 'foreign_table' => 'fe_groups',
184 'foreign_table_where' => 'ORDER BY fe_groups.title',
185 )
186 ),
187 'extendToSubpages' => array (
188 'exclude' => 1,
189 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.extendToSubpages',
190 'config' => array (
191 'type' => 'check'
192 )
193 ),
194 'nav_title' => array (
195 'exclude' => 1,
196 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_title',
197 'config' => array (
198 'type' => 'input',
199 'size' => '30',
200 'max' => '255',
201 'checkbox' => '',
202 'eval' => 'trim'
203 )
204 ),
205 'nav_hide' => array (
206 'exclude' => 1,
207 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.nav_hide',
208 'config' => array (
209 'type' => 'check'
210 )
211 ),
212 'subtitle' => array (
213 'exclude' => 1,
214 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.subtitle',
215 'config' => array (
216 'type' => 'input',
217 'size' => '30',
218 'max' => '255',
219 'eval' => ''
220 )
221 ),
222 'target' => array (
223 'exclude' => 1,
224 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.target',
225 'config' => array (
226 'type' => 'input',
227 'size' => '20',
228 'max' => '80',
229 'eval' => 'trim',
230 'checkbox' => ''
231 )
232 ),
233 'alias' => array (
234 'displayCond' => 'VERSION:IS:false',
235 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.alias',
236 'config' => array (
237 'type' => 'input',
238 'size' => '10',
239 'max' => '32',
240 'eval' => 'nospace,alphanum_x,lower,unique',
241 'softref' => 'notify'
242 )
243 ),
244 'url' => array (
245 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url',
246 'config' => array (
247 'type' => 'input',
248 'size' => '25',
249 'max' => '255',
250 'eval' => 'trim,required',
251 'softref' => 'url'
252 )
253 ),
254 'urltype' => array (
255 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
256 'config' => array (
257 'type' => 'select',
258 'items' => array (
259 array('', '0'),
260 array('http://', '1'),
261 array('https://', '4'),
262 array('ftp://', '2'),
263 array('mailto:', '3')
264 ),
265 'default' => '1'
266 )
267 ),
268 'lastUpdated' => array (
269 'exclude' => 1,
270 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.lastUpdated',
271 'config' => array (
272 'type' => 'input',
273 'size' => '12',
274 'max' => '20',
275 'eval' => 'datetime',
276 'checkbox' => '0',
277 'default' => '0'
278 )
279 ),
280 'newUntil' => array (
281 'exclude' => 1,
282 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.newUntil',
283 'config' => array (
284 'type' => 'input',
285 'size' => '8',
286 'max' => '20',
287 'eval' => 'date',
288 'checkbox' => '0',
289 'default' => '0'
290 )
291 ),
292 'cache_timeout' => array (
293 'exclude' => 1,
294 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout',
295 'config' => array (
296 'type' => 'select',
297 'items' => array (
298 array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0),
299 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.1', 60),
300 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.2', 300),
301 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.3', 900),
302 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.4', 1800),
303 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.5', 3600),
304 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.6', 14400),
305 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.7', 86400),
306 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.8', 172800),
307 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.9', 604800),
308 array('LLL:EXT:cms/locallang_tca.xml:pages.cache_timeout.I.10', 2678400)
309 ),
310 'default' => '0'
311 )
312 ),
313 'no_cache' => array (
314 'exclude' => 1,
315 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_cache',
316 'config' => array (
317 'type' => 'check'
318 )
319 ),
320 'no_search' => array (
321 'exclude' => 1,
322 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.no_search',
323 'config' => array (
324 'type' => 'check'
325 )
326 ),
327 'shortcut' => array (
328 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.shortcut_page',
329 'config' => array (
330 'type' => 'group',
331 'internal_type' => 'db',
332 'allowed' => 'pages',
333 'size' => '3',
334 'maxitems' => '1',
335 'minitems' => '0',
336 'show_thumbs' => '1',
337 'wizards' => array(
338 'suggest' => array(
339 'type' => 'suggest',
340 ),
341 ),
342 ),
343 ),
344 'shortcut_mode' => array (
345 'exclude' => 1,
346 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode',
347 'config' => array (
348 'type' => 'select',
349 'items' => array (
350 array('', 0),
351 array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.1', 1),
352 array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.2', 2),
353 array('LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode.I.3', 3),
354 ),
355 'default' => '0'
356 )
357 ),
358 'content_from_pid' => array (
359 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.content_from_pid',
360 'config' => array (
361 'type' => 'group',
362 'internal_type' => 'db',
363 'allowed' => 'pages',
364 'size' => '1',
365 'maxitems' => '1',
366 'minitems' => '0',
367 'show_thumbs' => '1',
368 'wizards' => array(
369 'suggest' => array(
370 'type' => 'suggest',
371 ),
372 ),
373 ),
374 ),
375 'mount_pid' => array (
376 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid',
377 'config' => array (
378 'type' => 'group',
379 'internal_type' => 'db',
380 'allowed' => 'pages',
381 'size' => '1',
382 'maxitems' => '1',
383 'minitems' => '0',
384 'show_thumbs' => '1',
385 'wizards' => array(
386 'suggest' => array(
387 'type' => 'suggest',
388 ),
389 ),
390 ),
391 ),
392 'keywords' => array (
393 'exclude' => 1,
394 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.keywords',
395 'config' => array (
396 'type' => 'text',
397 'cols' => '40',
398 'rows' => '3'
399 )
400 ),
401 'description' => array (
402 'exclude' => 1,
403 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.description',
404 'config' => array (
405 'type' => 'text',
406 'cols' => '40',
407 'rows' => '3'
408 )
409 ),
410 'abstract' => array (
411 'exclude' => 1,
412 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.abstract',
413 'config' => array (
414 'type' => 'text',
415 'cols' => '40',
416 'rows' => '3'
417 )
418 ),
419 'author' => array (
420 'exclude' => 1,
421 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.author',
422 'config' => array (
423 'type' => 'input',
424 'size' => '20',
425 'eval' => 'trim',
426 'max' => '80'
427 )
428 ),
429 'author_email' => array (
430 'exclude' => 1,
431 'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.email',
432 'config' => array (
433 'type' => 'input',
434 'size' => '20',
435 'eval' => 'trim',
436 'max' => '80',
437 'softref' => 'email[subst]'
438 )
439 ),
440 'media' => array (
441 'exclude' => 1,
442 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.media',
443 'config' => array (
444 'type' => 'group',
445 'internal_type' => 'file',
446 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'].',html,htm,ttf,txt,css',
447 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
448 'uploadfolder' => 'uploads/media',
449 'show_thumbs' => '1',
450 'size' => '3',
451 'maxitems' => '5',
452 'minitems' => '0'
453 )
454 ),
455 'is_siteroot' => array (
456 'exclude' => 1,
457 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.is_siteroot',
458 'config' => array (
459 'type' => 'check'
460 )
461 ),
462 'mount_pid_ol' => array (
463 'exclude' => 1,
464 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.mount_pid_ol',
465 'config' => array (
466 'type' => 'check'
467 )
468 ),
469 'module' => array (
470 'exclude' => 1,
471 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.module',
472 'config' => array (
473 'type' => 'select',
474 'items' => array (
475 array('', '', ''),
476 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.1', 'shop', 'i/modules_shop.gif'),
477 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.2', 'board', 'i/modules_board.gif'),
478 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.3', 'news', 'i/modules_news.gif'),
479 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.4', 'fe_users', 'i/fe_users.gif'),
480 array('LLL:EXT:cms/locallang_tca.xml:pages.module.I.6', 'approve', 'state_checked.png')
481 ),
482 'default' => '',
483 'iconsInOptionTags' => 1,
484 'noIconsBelowSelect' => 1,
485 )
486 ),
487 'fe_login_mode' => array (
488 'exclude' => 1,
489 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode',
490 'config' => array (
491 'type' => 'select',
492 'items' => array (
493 array('', 0),
494 array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.disableAll', 1),
495 array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.disableGroups', 3),
496 array('LLL:EXT:cms/locallang_tca.xml:pages.fe_login_mode.enableAgain', 2),
497 )
498 )
499 ),
500 'l18n_cfg' => array (
501 'exclude' => 1,
502 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg',
503 'config' => array (
504 'type' => 'check',
505 'items' => array (
506 array('LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.1', ''),
507 array($GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] ? 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.2a' : 'LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg.I.2', ''),
508 ),
509 )
510 ),
511 ),
512 'types' => array(
513 // normal
514 '1' => array('showitem' =>
515 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
516 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
517 --palette--;LLL:EXT:lang/locallang_general.xml:LGL.author;5;;3-3-3, abstract, keywords, description,
518 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
519 media,
520 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
521 TSconfig;;6;nowrap;6-6-6, storage_pid;;7, l18n_cfg, module, content_from_pid,
522 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
523 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
524 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
525 '),
526 // external URL
527 '3' => array('showitem' =>
528 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
529 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.url,
530 url;;;;3-3-3, urltype,
531 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
532 media,
533 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
534 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg,
535 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
536 starttime, endtime, fe_group, extendToSubpages,
537 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
538 '),
539 // shortcut
540 '4' => array('showitem' =>
541 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
542 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.shortcut,
543 shortcut;;;;3-3-3, shortcut_mode,
544 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
545 media,
546 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
547 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg,
548 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
549 starttime, endtime, fe_group, extendToSubpages,
550 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
551 '),
552 // not in menu
553 '5' => array('showitem' =>
554 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
555 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
556 media,
557 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
558 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, module, content_from_pid,
559 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
560 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
561 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
562 '),
563 // mount page
564 '7' => array('showitem' =>
565 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
566 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.mount,
567 mount_pid;;;;3-3-3, mount_pid_ol,
568 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
569 media,
570 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
571 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, l18n_cfg, module, content_from_pid,
572 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
573 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
574 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
575 '),
576 // spacer
577 '199' => array('showitem' =>
578 'doktype;;2;;1-1-1, hidden, title,
579 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
580 TSconfig;;6;nowrap;5-5-5, storage_pid;;7,
581 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
582 '),
583 // sysfolder
584 '254' => array('showitem' =>
585 'doktype;;2;;1-1-1, hidden, title;LLL:EXT:lang/locallang_general.xml:LGL.title,
586 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
587 media,
588 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
589 TSconfig;;6;nowrap;5-5-5, storage_pid;;7, module,
590 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
591 '),
592 // trash
593 '255' => array('showitem' =>
594 'doktype;;2;;1-1-1, hidden, title,
595 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
596 '),
597 ),
598 'palettes' => array(
599 '1' => array('showitem' => 'starttime, endtime, extendToSubpages'),
600 '2' => array('showitem' => 'layout, lastUpdated, newUntil, no_search'),
601 '3' => array('showitem' => 'alias, target, no_cache, cache_timeout, url_scheme'),
602 '5' => array('showitem' => 'author, author_email', 'canNotCollapse' => 1),
603 '6' => array('showitem' => 'php_tree_stop, editlock'),
604 '7' => array('showitem' => 'is_siteroot'),
605 )
606 );
607
608
609 // if the compat version is less than 4.2, pagetype 2 ("Advanced")
610 // and pagetype 5 ("Not in menu") are added to TCA.
611 if (!t3lib_div::compat_version('4.2')) {
612 // Merging in CMS doktypes
613 array_splice(
614 $TCA['pages']['columns']['doktype']['config']['items'],
615 2,
616 0,
617 array(
618 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.0', '2', 'i/pages.gif'),
619 array('LLL:EXT:cms/locallang_tca.xml:pages.doktype.I.3', '5', 'i/pages_notinmenu.gif'),
620 )
621 );
622 // setting the doktype 1 ("Standard") to show less fields
623 $TCA['pages']['types'][1] = array(
624 // standard
625 'showitem' =>
626 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
627 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
628 starttime, endtime, fe_group, extendToSubpages,
629 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
630 TSconfig;;6;nowrap;4-4-4, storage_pid;;7, l18n_cfg,
631 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
632 ');
633 // adding doktype 2 ("Advanced")
634 $TCA['pages']['types'][2] = array(
635 'showitem' =>
636 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
637 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
638 abstract;;5;;3-3-3, keywords, description,
639 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
640 media,
641 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
642 starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
643 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
644 TSconfig;;6;nowrap;6-6-6, storage_pid;;7, l18n_cfg, module, content_from_pid,
645 --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
646 ');
647 }
648
649 ?>