[FEATURE] Add editlock for tt_content
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Configuration / TCA / tt_content.php
index 76c1c16..91d2c59 100644 (file)
@@ -8,6 +8,7 @@ return array(
                'tstamp' => 'tstamp',
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
+               'editlock' => 'editlock',
                'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:tt_content',
                'delete' => 'deleted',
                'versioningWS' => 2,
@@ -135,6 +136,18 @@ return array(
                                'noIconsBelowSelect' => 1
                        )
                ),
+               'editlock' => array(
+                       'exclude' => 1,
+                       'label' => 'LLL:EXT:lang/locallang_tca.xlf:editlock',
+                       'config' => array(
+                               'type' => 'check',
+                               'items' => array(
+                                       '1' => array(
+                                               '0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
+                                       )
+                               )
+                       )
+               ),
                'hidden' => array(
                        'exclude' => 1,
                        'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
@@ -1206,7 +1219,8 @@ return array(
                                starttime;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:starttime_formlabel,
                                endtime;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:endtime_formlabel,
                                --linebreak--,
-                               fe_group;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:fe_group_formlabel
+                               fe_group;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:fe_group_formlabel,
+                               --linebreak--,editlock,
                        ',
                ),
                'uploadslayout' => array(