[FOLLOWUP][TASK] TCA: Streamline field position in tabs 61/50961/3
authorHelmut Hummel <info@helhum.io>
Wed, 14 Dec 2016 20:47:16 +0000 (21:47 +0100)
committerNicole Cordes <typo3@cordes.co>
Wed, 14 Dec 2016 20:58:40 +0000 (21:58 +0100)
Fix some typos and a leading newline in a PHP file

Related: #78383
Releases: master
Change-Id: I483b09abf02a9f109350284e31cba15848004e5c
Reviewed-on: https://review.typo3.org/50961
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/core/Documentation/Changelog/master/Important-78383-TCAStreamlineFieldPositionsInTabsForRecurringFields.rst
typo3/sysext/frontend/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/sys_action/Configuration/TCA/sys_action.php

index 03d02ad..f77b19a 100644 (file)
@@ -10,7 +10,7 @@ Description
 ===========
 
 In TYPO3 there are some recurring field definitions shared by a lot of records.
-These fields are mostly defined in :php:`$GLOBALS['TCA']['<mytable>']['crtl']`.
+These fields are mostly defined in :php:`$GLOBALS['TCA']['<mytable>']['ctrl']`.
 Furthermore the generic categories are taken into account.
 
 These fields are used by core records and third party extensions.
@@ -23,17 +23,17 @@ There should be no records not using tabs to group fields.
 
 See the documentation for the definition of the recurring fields:
 
-    * crtl_
+    * ctrl_
     * categories_
 
-.. _crtl: https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html
+.. _ctrl: https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html
 .. _categories: https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Categories/Index.html
 
 
 **Legend**
 
 For the fields name in "Generic fields" the actual value of
-:php:`$GLOBALS['TCA']['<mytable>']['crtl']['<generic field>']` should be set in
+:php:`$GLOBALS['TCA']['<mytable>']['ctrl']['<generic field>']` should be set in
 :php:`$GLOBALS['TCA']['<mytable>']['types'][<mytype>]['showitem']`.
 
 
@@ -43,7 +43,7 @@ General (first tab)
 Label:
     `LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general`
 Generic fields:
-    * `type` (if theres is a field that is not set as type in crtl, but have a similar meaning, set it to the first
+    * `type` (if theres is a field that is not set as type in ctrl, but have a similar meaning, set it to the first
       position)
     * `label`
     * `label_alt` (if the fields are directly related to the label; especially if `label_alt_force` is set `true`)
index 791a0e5..f6eaff2 100644 (file)
@@ -180,7 +180,7 @@ return [
         '],
         '1' => ['showitem' => '
             --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
-                type,title,    t1_userprefix,t1_copy_of_user,t1_allowed_groups,t1_create_user_dir,
+                type,title,t1_userprefix,t1_copy_of_user,t1_allowed_groups,t1_create_user_dir,
             --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
                 hidden,assign_to_groups,
             --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes,