[TASK] Unify record rendering of sys_collection & sys_file_collection 37/50037/4
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 28 Sep 2016 07:07:30 +0000 (09:07 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 28 Sep 2016 08:15:44 +0000 (10:15 +0200)
Use the access tab for the following records:
- Record collection (sys_collection)
- File collection (sys_file_collection)

Resolves: #78087
Releases: master
Change-Id: I2e83541166241941e5a0f5b99d92561f79f84a0f
Reviewed-on: https://review.typo3.org/50037
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Robert van Kammen <rvkammen@hotmail.com>
Tested-by: Robert van Kammen <rvkammen@hotmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Configuration/TCA/sys_collection.php
typo3/sysext/core/Configuration/TCA/sys_file_collection.php

index 069a24a..8525467 100644 (file)
@@ -176,10 +176,11 @@ return [
     ],
     'types' => [
         'static' => [
-            'showitem' => 'title, --palette--;;1, type, description,table_name, items',
+            'showitem' => 'title, --palette--;;1, type, description,table_name, items,
+            --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime,fe_group',
         ],
     ],
     'palettes' => [
-        '1' => ['showitem' => 'starttime, endtime, fe_group, sys_language_uid, l10n_parent, l10n_diffsource, hidden']
+        '1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden'],
     ]
 ];
index 9b6d79f..c208196 100644 (file)
@@ -186,21 +186,20 @@ return [
     ],
     'types' => [
         '0' => [
-            'showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, files',
+            'showitem' => 'title, sys_language_uid, l10n_parent, l10n_diffsource, type, files,
+                --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime',
         ],
         'static' => [
-            'showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, files',
+            'showitem' => 'title, sys_language_uid, l10n_parent, l10n_diffsource, type, files,
+                --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime',
         ],
         'folder' => [
-            'showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, storage, folder, recursive',
+            'showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title, type, storage, folder, recursive,
+                --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime',
         ],
         'category' => [
-            'showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title, --palette--;;1, type, category',
-        ],
-    ],
-    'palettes' => [
-        '1' => [
-            'showitem' => 'hidden, starttime, endtime',
+            'showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title, type, category,
+                --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime',
         ],
     ],
 ];