Feature #17676 » usability_page_type_select.diff
t3lib/class.t3lib_tceforms.php (working copy) | ||
---|---|---|
$item.= '</select>';
|
||
// Create icon table:
|
||
if (count($selicons)) {
|
||
if (count($selicons) && !$config['noIconsBelowSelect']) {
|
||
$item.='<table border="0" cellpadding="0" cellspacing="0" class="typo3-TCEforms-selectIcons">';
|
||
$selicon_cols = intval($config['selicon_cols']);
|
||
if (!$selicon_cols) $selicon_cols=count($selicons);
|
t3lib/stddb/tables.php (working copy) | ||
---|---|---|
'config' => Array (
|
||
'type' => 'select',
|
||
'items' => Array (
|
||
Array('LLL:EXT:lang/locallang_tca.php:doktype.I.0', '1'),
|
||
Array('LLL:EXT:lang/locallang_tca.php:doktype.I.1', '254'),
|
||
Array('LLL:EXT:lang/locallang_tca.php:doktype.I.2', '255')
|
||
array('LLL:EXT:lang/locallang_tca.php:doktype.I.0', '1', 'i/pages.gif'),
|
||
array('LLL:EXT:lang/locallang_tca.php:doktype.I.1', '254', 'i/sysf.gif'),
|
||
array('LLL:EXT:lang/locallang_tca.php:doktype.I.2', '255', 'i/recycler.gif')
|
||
),
|
||
'default' => '1'
|
||
'default' => '1',
|
||
'iconsInOptionTags' => 1,
|
||
'noIconsBelowSelect' => 1
|
||
)
|
||
),
|
||
'title' => Array (
|
typo3/sysext/cms/ext_tables.php (working copy) | ||
---|---|---|
$TCA['pages']['columns']['doktype']['config']['items'],
|
||
1,
|
||
0,
|
||
Array(
|
||
Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.0', '2'),
|
||
Array('LLL:EXT:lang/locallang_general.php:LGL.external', '3'),
|
||
Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.2', '4'),
|
||
Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.3', '5'),
|
||
Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.4', '6'),
|
||
Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.5', '7'),
|
||
Array('-----', '--div--'),
|
||
Array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.7', '199')
|
||
array(
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.0', '2', 'i/pages.gif'),
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.3', '5', 'i/pages_notinmenu.gif'),
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.4', '6', 'i/be_users_section.gif'),
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.div.link', '--div--'),
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.2', '4', 'i/pages_shortcut.gif'),
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.5', '7', 'i/pages_mountpoint.gif'),
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.8', '3', 'i/pages_link.gif'),
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.div.special', '--div--')
|
||
)
|
||
);
|
||
array_splice(
|
||
$TCA['pages']['columns']['doktype']['config']['items'],
|
||
10,
|
||
0,
|
||
array(
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.I.7', '199', 'i/spacer_icon.gif')
|
||
)
|
||
);
|
||
array_unshift(
|
||
$TCA['pages']['columns']['doktype']['config']['items'],
|
||
array('LLL:EXT:cms/locallang_tca.php:pages.doktype.div.page', '--div--')
|
||
);
|
||
// Setting enablecolumns:
|
||
$TCA['pages']['ctrl']['enablecolumns'] = Array (
|
typo3/sysext/cms/locallang_tca.xml (working copy) | ||
---|---|---|
<label index="pages.doktype.I.3">Not in menu</label>
|
||
<label index="pages.doktype.I.4">Backend User Section</label>
|
||
<label index="pages.doktype.I.5">Mount Point</label>
|
||
<label index="pages.doktype.I.7">Spacer</label>
|
||
<label index="pages.doktype.I.7">Visual Menu Separator</label>
|
||
<label index="pages.doktype.I.8">Link to external URL</label>
|
||
<label index="pages.doktype.div.page">Page</label>
|
||
<label index="pages.doktype.div.link">Link</label>
|
||
<label index="pages.doktype.div.special">Special</label>
|
||
<label index="pages.hidden">Hide page:</label>
|
||
<label index="pages.layout.I.1">Layout 1</label>
|
||
<label index="pages.layout.I.2">Layout 2</label>
|