[FEATURE] Add field "copyright" to EXT:filemetadata
[Packages/TYPO3.CMS.git] / typo3 / sysext / filemetadata / Configuration / TCA / Overrides / sys_file_metadata.php
index d65a2b7..404b67b 100644 (file)
@@ -79,7 +79,7 @@ $tca = array(
        ),
        'palettes' => array(
                '10' => array('showitem' => 'visible, status, ranking', 'canNotCollapse' => '1'),
-               '20' => array('showitem' => 'creator_tool, publisher, source', 'canNotCollapse' => '1'),
+               '20' => array('showitem' => 'creator_tool, publisher, source, copyright', 'canNotCollapse' => '1'),
                '30' => array('showitem' => 'latitude, longitude', 'canNotCollapse' => '1'),
                '40' => array('showitem' => 'location_country, location_region, location_city', 'canNotCollapse' => '1'),
                '50' => array('showitem' => 'width, height, unit, color_space', 'canNotCollapse' => '1'),
@@ -192,6 +192,15 @@ $tca = array(
                                'eval' => 'trim'
                        ),
                ),
+               'copyright' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:filemetadata/Resources/Private/Language/locallang_tca.xlf:sys_file_metadata.copyright',
+                       'config' => array(
+                               'type' => 'input',
+                               'size' => 20,
+                               'eval' => 'trim'
+                       ),
+               ),
                'location_country' => array(
                        'exclude' => 1,
                        'l10n_mode' => 'mergeIfNotBlank',