Index: t3lib/stddb/tbl_pages.php =================================================================== --- t3lib/stddb/tbl_pages.php (revision 9465) +++ t3lib/stddb/tbl_pages.php (working copy) @@ -732,16 +732,15 @@ ), ), ), - 'be_layout' => array ( + 'be_layout' => array( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.be_layout', - 'config' => array ( + 'config' => array( 'type' => 'select', 'foreign_table' => 'be_layouts', 'foreign_table_where' => 'AND ( ( ###PAGE_TSCONFIG_ID### = 0 AND ###STORAGE_PID### = 0 ) OR ( be_layouts.pid = ###PAGE_TSCONFIG_ID### OR be_layouts.pid = ###STORAGE_PID### ) ) AND be_layouts.hidden = 0', - 'items' => array ( - array ('', 0), - array ('none', -1) + 'items' => array( + array('', 0), ), 'selicon_cols' => 5, 'size' => 1, @@ -749,16 +748,15 @@ 'default' => '' ) ), - 'be_layout_next_level' => array ( + 'be_layout_next_level' => array( 'exclude' => 1, 'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.be_layout_next_level', - 'config' => array ( + 'config' => array( 'type' => 'select', 'foreign_table' => 'be_layouts', 'foreign_table_where' => 'AND ( ( ###PAGE_TSCONFIG_ID### = 0 AND ###STORAGE_PID### = 0 ) OR ( be_layouts.pid = ###PAGE_TSCONFIG_ID### OR be_layouts.pid = ###STORAGE_PID### ) ) AND be_layouts.hidden = 0', - 'items' => array ( - array ('', 0), - array ('none', -1) + 'items' => array( + array('', 0), ), 'selicon_cols' => 5, 'size' => 1, Index: typo3/sysext/cms/ext_tables.php =================================================================== --- typo3/sysext/cms/ext_tables.php (revision 9465) +++ typo3/sysext/cms/ext_tables.php (working copy) @@ -259,21 +259,22 @@ // ****************************************************************** // layouts // ****************************************************************** -$TCA['be_layouts'] = array ( - 'ctrl' => array ( +$TCA['be_layouts'] = array( + 'ctrl' => array( 'title' => 'LLL:EXT:cms/locallang_tca.xml:be_layouts', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', + 'rootLevel' => -1, 'versioningWS' => TRUE, 'origUid' => 't3_origuid', 'sortby' => 'sorting', 'delete' => 'deleted', - 'enablecolumns' => array ( + 'enablecolumns' => array( 'disabled' => 'hidden', ), - 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php', + 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tbl_cms.php', 'iconfile' => 'be_layout.gif', 'selicon_field' => 'icon', 'selicon_field_path' => 'uploads/media', Index: typo3/sysext/cms/tbl_cms.php =================================================================== --- typo3/sysext/cms/tbl_cms.php (revision 9465) +++ typo3/sysext/cms/tbl_cms.php (working copy) @@ -1031,9 +1031,9 @@ 'type' => 'text', 'rows' => '5', 'cols' => '25', - 'wizards' => Array( + 'wizards' => array( '_PADDING' => 4, - 0 => Array( + 0 => array( 'title' => 'LLL:EXT:cms/locallang_tca.xml:be_layouts.wizard', 'type' => 'popup', 'icon' => t3lib_extMgm::extRelPath('cms').'layout/wizard_be_layout.png',