[BUGFIX] Set correct file extensions in ['SYS']['mediafile_ext']
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / sys_category.php
index 0b8eda2..e6ad5da 100644 (file)
@@ -2,13 +2,13 @@
 return array(
        'ctrl' => array(
                'title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_category',
+               'descriptionColumn' => 'description',
                'label' => 'title',
                'tstamp' => 'tstamp',
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
                'delete' => 'deleted',
                'sortby' => 'sorting',
-               'dividers2tabs' => TRUE,
                'versioningWS' => 2,
                'rootLevel' => -1,
                'versioning_followPages' => TRUE,
@@ -33,7 +33,11 @@ return array(
                'showRecordFieldList' => 'title,description'
        ),
        'types' => array(
-               '1' => array('showitem' => 'title;;1, parent,description,--div--;LLL:EXT:lang/locallang_tca.xlf:sys_category.tabs.items,items,--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,starttime, endtime')
+               '1' => array(
+                       'showitem' => 'title, --palette--;;1, parent, description,
+                               --div--;LLL:EXT:lang/locallang_tca.xlf:sys_category.tabs.items, items,
+                               --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime',
+               ),
        ),
        'palettes' => array(
                '1' => array('showitem' => 'sys_language_uid, l10n_parent, hidden')
@@ -57,7 +61,8 @@ return array(
                                'items' => array(
                                        array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1),
                                        array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)
-                               )
+                               ),
+                               'default' => 0
                        )
                ),
                'l10n_parent' => array(
@@ -70,12 +75,14 @@ return array(
                                        array('', 0)
                                ),
                                'foreign_table' => 'sys_category',
-                               'foreign_table_where' => 'AND sys_category.uid=###REC_FIELD_l10n_parent### AND sys_category.sys_language_uid IN (-1,0)'
+                               'foreign_table_where' => 'AND sys_category.uid=###REC_FIELD_l10n_parent### AND sys_category.sys_language_uid IN (-1,0)',
+                               'default' => 0
                        )
                ),
                'l10n_diffsource' => array(
                        'config' => array(
-                               'type' => 'passthrough'
+                               'type' => 'passthrough',
+                               'default' => ''
                        )
                ),
                'hidden' => array(
@@ -92,7 +99,6 @@ return array(
                        'config' => array(
                                'type' => 'input',
                                'size' => '10',
-                               'max' => '20',
                                'eval' => 'datetime',
                                'checkbox' => '0',
                                'default' => '0'
@@ -105,7 +111,6 @@ return array(
                        'config' => array(
                                'type' => 'input',
                                'size' => '8',
-                               'max' => '20',
                                'eval' => 'datetime',
                                'checkbox' => '0',
                                'default' => '0',
@@ -127,7 +132,8 @@ return array(
                        'exclude' => 0,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_category.description',
                        'config' => array(
-                               'type' => 'text'
+                               'type' => 'text',
+                               'default' => '',
                        )
                ),
                'parent' => array(
@@ -141,8 +147,14 @@ return array(
                                'foreign_table' => 'sys_category',
                                'foreign_table_where' => ' AND sys_category.sys_language_uid IN (-1,0) ORDER BY sys_category.sorting ASC',
                                'treeConfig' => array(
-                                       'parentField' => 'parent'
-                               )
+                                       'parentField' => 'parent',
+                                       'appearance' => array(
+                                               'expandAll' => TRUE,
+                                               'showHeader' => TRUE,
+                                               'maxLevels' => 99,
+                                       ),
+                               ),
+                               'default' => 0
                        )
                ),
                'items' => array(