[BUGFIX] Set correct file extensions in ['SYS']['mediafile_ext']
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / sys_category.php
index fdd3762..e6ad5da 100644 (file)
@@ -2,6 +2,7 @@
 return array(
        'ctrl' => array(
                'title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_category',
+               'descriptionColumn' => 'description',
                'label' => 'title',
                'tstamp' => 'tstamp',
                'crdate' => 'crdate',
@@ -35,7 +36,7 @@ return array(
                '1' => array(
                        'showitem' => 'title, --palette--;;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',
+                               --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime',
                ),
        ),
        'palettes' => array(
@@ -60,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(
@@ -73,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(
@@ -128,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(
@@ -148,7 +153,8 @@ return array(
                                                'showHeader' => TRUE,
                                                'maxLevels' => 99,
                                        ),
-                               )
+                               ),
+                               'default' => 0
                        )
                ),
                'items' => array(