Project

General

Profile

Bug #19680 » 0009893_4-2_v2.patch

Administrator Admin, 2009-01-08 19:32

View differences:

typo3/sysext/felogin/ext_tables.php (Arbeitskopie)
#replace login
$TCA['tt_content']['types']['login']['showitem']='CType;;4;button,hidden;;1;;1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
$TCA['tt_content']['types']['login']['showitem']='CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.14, pi_flexform;;;;1-1-1,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,,starttime, endtime';
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime';
// Adds the redirect-field to the fe_group- and fe_users-table
$tempColumns = Array (
typo3/sysext/cms/ext_tables.php (Arbeitskopie)
$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;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
--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,
......
'),
// shortcut
'4' => array('showitem' =>
'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
--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;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
media,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
......
'),
// mount page
'7' => array('showitem' =>
'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
--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,
......
'),
// spacer
'199' => array('showitem' =>
'doktype;;2;button;1-1-1, hidden, title,
'doktype;;2;;1-1-1, hidden, title,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
TSconfig;;6;nowrap;5-5-5, storage_pid;;7,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
'),
// sysfolder
'254' => array('showitem' =>
'doktype;;2;button;1-1-1, hidden, title;LLL:EXT:lang/locallang_general.xml:LGL.title,
'doktype;;2;;1-1-1, hidden, title;LLL:EXT:lang/locallang_general.xml:LGL.title,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
TSconfig;;6;nowrap;5-5-5, storage_pid;;7, module,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
'),
// trash
'255' => array('showitem' =>
'doktype;;2;button;1-1-1, hidden, title,
'doktype;;2;;1-1-1, hidden, title,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
')
);
......
$TCA['pages']['types'][1] = array(
// standard
'showitem' =>
'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
starttime, endtime, fe_group, extendToSubpages,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.options,
......
// adding doktype 2 ("Advanced")
$TCA['pages']['types'][2] = array(
'showitem' =>
'doktype;;2;button;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
abstract;;5;;3-3-3, keywords, description,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.files,
typo3/sysext/cms/tbl_tt_content.php (Arbeitskopie)
'types' => Array (
'1' => Array('showitem' => 'CType'),
'header' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, subheader;;8, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, subheader;;8, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'text' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2,linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.1, bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime',
),
'textpic' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.text,bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.text, bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, rte_enabled, text_properties,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.media, image;;;;5-5-5, imageorient;;2,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgDimensions;13,;;;;6-6-6,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
imagecaption;;5,altText;;;;7-7-7,titleText,longdescURL,;;;;8-8-8,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgDimensions;13,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7;;6-6-6,
imagecaption;;5,altText;;;;7-7-7, titleText, longdescURL,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11;;8-8-8,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'rte' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.text, bodytext;;;nowrap:richtext[*]:rte_transform[mode=ts_images-ts_reglinks];3-3-3,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'image' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.media, image;;;;4-4-4, imageorient;;2,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgDimensions;13,;;;;5-5-5,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
imagecaption;;5,altText;;;;6-6-6,titleText,longdescURL,;;;;7-7-7,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgDimensions;13,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7;;5-5-5,
imagecaption;;5, altText;;;;6-6-6, titleText, longdescURL,
--palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11;;7-7-7,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'bullets' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;4-4-4,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.4, layout;;;;3-3-3, bodytext;;9;nowrap, text_properties,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'table' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.5, layout;;10;button;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'splash' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
'showitem' => 'CType;;4;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.11, splash_layout, bodytext;;;;3-3-3, image;;6,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'uploads' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.6, media;;;;3-3-3,
select_key;LLL:EXT:cms/locallang_ttc.php:select_key.ALT.uploads,
layout;;10;button, filelink_size,
imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.uploads;;nowrap,;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
layout;;10, filelink_size,
imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.uploads;;nowrap,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'multimedia' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.7, multimedia;;;;3-3-3, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'script' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
'showitem' => 'CType;;4;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.15, select_key;;;;3-3-3, pages;;12, bodytext;LLL:EXT:lang/locallang_general.php:LGL.parameters;;nowrap,
imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.script,;;;;4-4-4,linkToTop,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
imagecaption;LLL:EXT:cms/locallang_ttc.php:imagecaption.ALT.script, linkToTop;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'menu' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.12, menu_type;;;;4-4-4, pages,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'mailform' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.8, bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.mailform;;nowrap:wizards[forms];3-3-3,
pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.mailform,
subheader;LLL:EXT:cms/locallang_ttc.php:subheader.ALT.mailform,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'search' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.9, pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.search,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'login' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.10, pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.login,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'shortcut' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
'showitem' => 'CType;;4;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.13, records;;;;5-5-5, layout,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'list' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:tabs.plugin, list_type;;;;3-3-3, layout, select_key, pages;;12,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime',
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime',
'subtype_value_field' => 'list_type',
'subtypes_excludelist' => Array(
'' => 'layout,select_key,pages', // When no plugin is selected.
......
)
),
'div' => Array(
'showitem' => 'CType;;14;button,hidden,1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2,linkToTop,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
'showitem' => 'CType;;14;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, linkToTop,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
),
'html' => Array(
'showitem' => 'CType;;4;button,hidden,1-1-1, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, linkToTop;;;;3-3-3,
'showitem' => 'CType;;4;;1-1-1, hidden, header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, linkToTop;;;;3-3-3,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.17, bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.html;;nowrap,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime'
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime'
)
),
'palettes' => Array (
typo3/sysext/css_styled_content/ext_tables.php (Arbeitskopie)
// add flexform
t3lib_extMgm::addPiFlexFormValue('*', 'FILE:EXT:css_styled_content/flexform_ds.xml','table');
$TCA['tt_content']['types']['table']['showitem']='CType;;4;button,hidden,1-1-1, header;;3;;2-2-2, linkToTop;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.5, layout;;10;button;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties, pi_flexform,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,starttime, endtime';
$TCA['tt_content']['types']['table']['showitem']='CType;;4;;1-1-1, hidden, header;;3;;2-2-2, linkToTop;;;;4-4-4,
--div--;LLL:EXT:cms/locallang_ttc.xml:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], text_properties, pi_flexform,
--div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access, starttime, endtime';
t3lib_extMgm::addStaticFile($_EXTKEY,'static/','CSS Styled Content');
?>
(2-2/2)