Project

General

Profile

Bug #18235 ยป 20080217_tabs_systemplate.diff

Administrator Admin, 2008-02-18 01:48

View differences:

typo3/sysext/cms/ext_tables.php (working copy)
'typeicons' => array (
'0' => 'template_add.gif'
),
'mainpalette' => '1',
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php',
'dividers2tabs' => true
)
);
typo3/sysext/cms/locallang_tca.xml (working copy)
<label index="static_template">Static templates</label>
<label index="pages.fe_login_mode">Login Mode:</label>
<label index="pages.fe_login_mode.disable">Disable</label>
<label index="pages.fe_login_mode.enable">Enable</label>
<label index="pages.fe_login_mode.enable">Enable</label>
<label index="sys_template.title">Template title:</label>
<label index="sys_template.root">Rootlevel:</label>
<label index="sys_template.clear">Clear:</label>
<label index="sys_template.sitetitle">Website title:</label>
<label index="sys_template.constants">Constants:</label>
<label index="sys_template.resources">Resources:</label>
<label index="sys_template.nextLevel">Template on next level:</label>
<label index="sys_template.include_static">Include static:</label>
<label index="sys_template.include_static_file">Include static (from extensions):</label>
<label index="sys_template.basedOn">Include basis template:</label>
<label index="sys_template.includeStaticAfterBasedOn">Include static AFTER basedOn:</label>
<label index="sys_template.config">Setup:</label>
<label index="sys_template.editorcfg">Backend Editor Configuration:</label>
<label index="sys_template.description">Description:</label>
<label index="sys_template.static_file_mode">Static template files from T3 Extensions:</label>
<label index="sys_template.basedOn_add">Add new basis template</label>
<label index="tabs.flags">Flags</label>
<label index="tabs.files">Files</label>
<label index="tabs.include">Includes</label>
<label index="tabs.options">Options</label>
</languageKey>
</data>
</T3locallang>
typo3/sysext/cms/tbl_cms.php (working copy)
),
'columns' => Array (
'title' => Array (
'label' => 'Template title:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.title',
'config' => Array (
'type' => 'input',
'size' => '25',
......
)
),
'hidden' => Array (
'label' => 'Deactivated:',
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.disable',
'exclude' => 1,
'config' => Array (
'type' => 'check',
......
)
),
'starttime' => Array (
'label' => 'Start:',
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.starttime',
'exclude' => 1,
'config' => Array (
'type' => 'input',
......
)
),
'endtime' => Array (
'label' => 'Stop:',
'label' => 'LLL:EXT:lang/locallang_general.php:LGL.endtime',
'exclude' => 1,
'config' => Array (
'type' => 'input',
......
)
),
'root' => Array (
'label' => 'Rootlevel:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.root',
'config' => Array (
'type' => 'check'
)
),
'clear' => Array (
'label' => 'Clear:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.clear',
'config' => Array (
'type' => 'check',
'items' => Array (
......
)
),
'sitetitle' => Array (
'label' => 'Website title:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.sitetitle',
'config' => Array (
'type' => 'input',
'size' => '25',
......
)
),
'constants' => Array (
'label' => 'Constants:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.constants',
'config' => Array (
'type' => 'text',
'cols' => '48',
......
'defaultExtras' => 'fixed-font : enable-tab',
),
'resources' => Array (
'label' => 'Resources:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.resources',
'config' => Array (
'type' => 'group',
'internal_type' => 'file',
......
)
),
'nextLevel' => Array (
'label' => 'Template on next level:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.nextLevel',
'config' => Array (
'type' => 'group',
'internal_type' => 'db',
......
)
),
'include_static' => Array (
'label' => 'Include static:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.include_static',
'config' => Array (
'type' => 'select',
'foreign_table' => 'static_template',
......
),
),
'include_static_file' => Array(
'label' => 'Include static (from extensions):',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.include_static_file',
'config' => Array (
'type' => 'select',
'size' => 10,
......
)
),
'basedOn' => Array (
'label' => 'Include basis template:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.basedOn',
'config' => Array (
'type' => 'group',
'internal_type' => 'db',
......
),
'add' => Array(
'type' => 'script',
'title' => 'Add new basis template',
'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.basedOn_add',
'icon' => 'add.gif',
'params' => Array(
'table'=>'sys_template',
......
)
),
'includeStaticAfterBasedOn' => Array (
'label' => 'Include static AFTER basedOn:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.includeStaticAfterBasedOn',
'exclude' => 1,
'config' => Array (
'type' => 'check',
......
)
),
'config' => Array (
'label' => 'Setup:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.config',
'config' => Array (
'type' => 'text',
'rows' => 10,
......
'defaultExtras' => 'fixed-font : enable-tab',
),
'editorcfg' => Array (
'label' => 'Backend Editor Configuration:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.editorcfg',
'config' => Array (
'type' => 'text',
'rows' => 4,
......
'defaultExtras' => 'fixed-font : enable-tab',
),
'description' => Array (
'label' => 'Description:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.description',
'config' => Array (
'type' => 'text',
'rows' => 10,
......
)
),
'static_file_mode' => Array (
'label' => 'Static template files from T3 Extensions:',
'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode',
'config' => Array (
'type' => 'select',
'items' => Array (
......
),
),
'types' => Array (
'1' => Array('showitem' => 'title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, resources, clear, root, --div--, include_static;;2;;5-5-5, include_static_file;;2, basedOn;;2, static_file_mode, nextLevel, --div--, description;;;;5-5-5, editorcfg')
),
'palettes' => Array (
'1' => Array('showitem' => 'hidden,starttime,endtime'),
'2' => Array('showitem' => 'includeStaticAfterBasedOn')
'1' => Array('showitem' => '
hidden,title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config,
--div--;LLL:EXT:cms/locallang_tca.xml:tabs.flags, clear, root, nextLevel,
--div--;LLL:EXT:cms/locallang_tca.xml:tabs.include, include_static,includeStaticAfterBasedOn,5-5-5, include_static_file, basedOn, static_file_mode,
--div--;LLL:EXT:cms/locallang_tca.xml:tabs.files, resources,
--div--;LLL:EXT:cms/locallang_tca.xml:tabs.options, description;;;;5-5-5, editorcfg;;;;6-6-6, starttime, endtime')
)
);
    (1-1/1)