Bug #18240 ยป 20080218_cleaningPageTabs.diff
typo3/sysext/cms/ext_tables.php (working copy) | ||
---|---|---|
$TCA['pages']['types'] = array (
|
||
// normal
|
||
'1' => array('showitem' =>
|
||
'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
|
||
'doktype;;2;button;1-1-1, hidden, nav_hide, title, subtitle, nav_title,
|
||
--palette--;LLL:EXT:lang/locallang_tsfe.xml:cache;4,alias, target,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
|
||
abstract;;5;;3-3-3, keywords, description,
|
||
--palette--;LLL:EXT:lang/locallang_general.xml:LGL.author;5;;3-3-3, abstract, keywords, description,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
|
||
media,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
|
||
... | ... | |
'),
|
||
// external URL
|
||
'3' => array('showitem' =>
|
||
'hidden;;;;1-1-1, doktype, title;;3;;2-2-2, subtitle, nav_hide,
|
||
'hidden;;;;1-1-1, doktype, title, subtitle, nav_hide,
|
||
--palette--;LLL:EXT:lang/locallang_tsfe.xml:cache;4,alias, target,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.url,
|
||
url;;;;3-3-3, urltype,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
|
||
... | ... | |
'),
|
||
// shortcut
|
||
'4' => array('showitem' =>
|
||
'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
|
||
'doktype;;2;button;1-1-1, hidden, nav_hide, title, subtitle,
|
||
--palette--;LLL:EXT:lang/locallang_tsfe.xml:cache;4,alias, target,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.shortcut,
|
||
shortcut;;;;3-3-3, shortcut_mode,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
|
||
... | ... | |
'),
|
||
// not in menu
|
||
'5' => array('showitem' =>
|
||
'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
|
||
'doktype;;2;button;1-1-1, hidden, nav_hide, title, subtitle,
|
||
--palette--;LLL:EXT:lang/locallang_tsfe.xml:cache;4,alias, target,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
|
||
media,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
|
||
... | ... | |
'),
|
||
// mount page
|
||
'7' => array('showitem' =>
|
||
'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
|
||
'doktype;;2;button;1-1-1, hidden, nav_hide, title, subtitle, nav_title,
|
||
--palette--;LLL:EXT:lang/locallang_tsfe.xml:cache;4,alias, target,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.mount,
|
||
mount_pid;;;;3-3-3, mount_pid_ol,
|
||
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
|
||
... | ... | |
$TCA['pages']['palettes'] = t3lib_div::array_merge($TCA['pages']['palettes'],array(
|
||
'1' => array('showitem' => 'starttime, endtime, extendToSubpages'),
|
||
'2' => array('showitem' => 'layout, lastUpdated, newUntil, no_search'),
|
||
'3' => array('showitem' => 'alias, target, no_cache, cache_timeout'),
|
||
'5' => array('showitem' => 'author, author_email'),
|
||
'3' => array('showitem' => 'alias, target','canNotCollapse' => 1),
|
||
'4' => array('showitem' => ' no_cache, cache_timeout','canNotCollapse' => 1),
|
||
'5' => array('showitem' => 'author, author_email','canNotCollapse' => 1),
|
||
));
|
||