[TASK] Reorder & Rename entries in CType list 48/49948/5
authorGeorg Ringer <georg.ringer@gmail.com>
Thu, 15 Sep 2016 17:50:34 +0000 (19:50 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 18 Jan 2017 12:00:11 +0000 (13:00 +0100)
To improve usability the naming and sorting of content element
types for the content element wizard and the select box are
unified.

Resolves: #77961
Releases: master
Change-Id: I6a0aa4a824992e062ba14931a7712eaafadeb8ab
Reviewed-on: https://review.typo3.org/49948
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/css_styled_content/Configuration/PageTSconfig/NewContentElementWizard.ts
typo3/sysext/frontend/Configuration/TCA/tt_content.php

index de6e83d..63fafc0 100644 (file)
@@ -53,11 +53,6 @@ mod.wizards.newContentElement.wizardItems {
                                CType = table
                        }
                }
-       }
-
-       common.show := addToList(header,text,textpic,image,bullets,table)
-
-       special.elements {
                uploads {
                        iconIdentifier = content-special-uploads
                        title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_filelinks_title
@@ -66,7 +61,11 @@ mod.wizards.newContentElement.wizardItems {
                                CType = uploads
                        }
                }
+       }
+
+       common.show := addToList(header,text,textpic,image,bullets,table,uploads)
 
+       special.elements {
                menu {
                        iconIdentifier = content-special-menu
                        title = LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_menus_title
@@ -105,5 +104,5 @@ mod.wizards.newContentElement.wizardItems {
                }
        }
 
-       special.show := addToList(uploads,menu,html,div,shortcut)
+       special.show := addToList(menu,html,div,shortcut)
 }
index 87642fe..7bcfa4a 100644 (file)
@@ -59,35 +59,36 @@ return [
                 'renderType' => 'selectSingle',
                 'items' => [
                     [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.standard',
+                        'LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common',
                         '--div--'
                     ],
                     [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.0',
+                        'LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_headerOnly_title',
                         'header',
                         'content-header'
                     ],
                     [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.lists',
-                        '--div--'
-                    ],
-                    [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.4',
+                        'LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_bulletList_title',
                         'bullets',
                         'content-bullets'
                     ],
                     [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.5',
+                        'LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:common_table_title',
                         'table',
                         'content-table'
                     ],
                     [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.6',
+                        'LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special_filelinks_title',
                         'uploads',
                         'content-special-uploads'
                     ],
                     [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.special',
+                        'LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:plugins_general_title',
+                        'list',
+                        'content-plugin'
+                    ],
+                    [
+                        'LLL:EXT:backend/Resources/Private/Language/locallang_db_new_content_el.xlf:special',
                         '--div--'
                     ],
                     [
@@ -96,14 +97,9 @@ return [
                         'content-special-menu'
                     ],
                     [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.13',
-                        'shortcut',
-                        'content-special-shortcut'
-                    ],
-                    [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.14',
-                        'list',
-                        'content-plugin'
+                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.17',
+                        'html',
+                        'content-special-html'
                     ],
                     [
                         'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.16',
@@ -111,10 +107,10 @@ return [
                         'content-special-div'
                     ],
                     [
-                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.17',
-                        'html',
-                        'content-special-html'
-                    ]
+                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.13',
+                        'shortcut',
+                        'content-special-shortcut'
+                    ],
                 ],
                 'default' => 'header',
                 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'],