[TASK] Remove styling code in FormEngine/TCA 75/32975/8
authorBenjamin Mack <benni@typo3.org>
Thu, 25 Sep 2014 18:37:39 +0000 (20:37 +0200)
committerBenjamin Mack <benni@typo3.org>
Mon, 6 Oct 2014 12:42:57 +0000 (14:42 +0200)
FormEngine uses a combination
of classes and styles, which is very
complicated and not usable. A new way
of handling the styling is needed.
All old methods are deprecated and not in use
anymore.

At a later step, proper classes can be introduced
and styling can be done in LESS cleanly
without any PHP magic.

Releases: master
Resolves: #61890
Change-Id: Ie72226e1c6d795b3d8b53220fbcbee9e059935a6
Reviewed-on: http://review.typo3.org/32975
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
42 files changed:
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Resources/Private/Templates/FormEngine.html
typo3/sysext/core/Classes/Resource/Collection/FileCollectionRegistry.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Configuration/TCA/Overrides/compatibility.php
typo3/sysext/core/Configuration/TCA/be_groups.php
typo3/sysext/core/Configuration/TCA/be_users.php
typo3/sysext/core/Configuration/TCA/sys_file_collection.php
typo3/sysext/core/Configuration/TCA/sys_file_reference.php
typo3/sysext/core/Configuration/TCA/sys_language.php
typo3/sysext/core/Configuration/TCA/sys_news.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-61890-Remove-TBE-Styling-From-FormEngine.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.general.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.1ncsv.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.1nff.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.mnasym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.mnattr.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.mnmmasym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.mnsym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler/Configuration/TCA/tx_testdatahandler_element.php
typo3/sysext/core/Tests/Unit/Resource/Collection/FileCollectionRegistryTest.php
typo3/sysext/css_styled_content/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/extensionmanager/Configuration/TCA/tx_extensionmanager_domain_model_extension.php
typo3/sysext/extensionmanager/Configuration/TCA/tx_extensionmanager_domain_model_repository.php
typo3/sysext/felogin/Configuration/TCA/Overrides/fe_groups.php
typo3/sysext/felogin/Configuration/TCA/Overrides/fe_users.php
typo3/sysext/felogin/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/frontend/Configuration/TCA/backend_layout.php
typo3/sysext/frontend/Configuration/TCA/fe_groups.php
typo3/sysext/frontend/Configuration/TCA/fe_users.php
typo3/sysext/frontend/Configuration/TCA/sys_domain.php
typo3/sysext/frontend/Configuration/TCA/sys_template.php
typo3/sysext/indexed_search/Configuration/TCA/index_config.php
typo3/sysext/openid/Configuration/TCA/Overrides/be_users.php
typo3/sysext/rtehtmlarea/Configuration/TCA/tx_rtehtmlarea_acronym.php
typo3/sysext/scheduler/Configuration/TCA/tx_scheduler_task_group.php
typo3/sysext/sys_action/Configuration/TCA/sys_action.php
typo3/sysext/sys_note/Configuration/TCA/sys_note.php
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_element_tceforms.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3kin.css
typo3/sysext/t3skin/ext_tables.php

index 8dd0dcf..40f55c1 100644 (file)
@@ -64,8 +64,8 @@ class FormEngine {
        public $paletteMargin = 1;
 
        /**
-        * @todo Define visibility
         * @var string
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public $defStyle = '';
 
@@ -442,48 +442,48 @@ class FormEngine {
        /**
         * Contains current color scheme
         *
-        * @todo Define visibility
         * @var array
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public $colorScheme = array();
 
        /**
         * Contains current class scheme
         *
-        * @todo Define visibility
         * @var array
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public $classScheme = array();
 
        /**
         * Contains the default color scheme
         *
-        * @todo Define visibility
         * @var array
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public $defColorScheme = array();
 
        /**
         * Contains the default class scheme
         *
-        * @todo Define visibility
         * @var array
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public $defClassScheme = array();
 
        /**
         * Contains field style values
         *
-        * @todo Define visibility
         * @var array|NULL
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public $fieldStyle = NULL;
 
        /**
         * Contains border style values
         *
-        * @todo Define visibility
         * @var array|NULL
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public $borderStyle = NULL;
 
@@ -735,13 +735,6 @@ class FormEngine {
                        $this->RTEenabled_notReasons = implode(LF, $this->getBackendUserAuthentication()->RTE_errors);
                        $this->commentMessages[] = 'RTE NOT ENABLED IN SYSTEM due to:' . LF . $this->RTEenabled_notReasons;
                }
-               // Default color+class scheme
-               $this->defColorScheme = array();
-               // Override / Setting defaults from TBE_STYLES array
-               $this->resetSchemes();
-               // Setting the current colorScheme to default.
-               $this->defColorScheme = $this->colorScheme;
-               $this->defClassScheme = $this->classScheme;
                // Define whitelist that allows TCA field configuration to be overridden by TSconfig, @see overrideFieldConf():
                $this->allowOverrideMatrix = array(
                        'input' => array('size', 'max', 'readOnly'),
@@ -906,35 +899,22 @@ class FormEngine {
                                        $cc = 0;
                                        foreach ($fields as $fieldInfo) {
                                                // Exploding subparts of the field configuration:
-                                               $parts = explode(';', $fieldInfo);
-                                               // Getting the style information out:
-                                               $color_style_parts = GeneralUtility::trimExplode('-', $parts[4]);
-                                               if ($color_style_parts[0] !== '') {
-                                                       $this->setColorScheme($GLOBALS['TBE_STYLES']['colorschemes'][(int)$color_style_parts[0]]);
-                                               }
-                                               if ($color_style_parts[1] !== '') {
-                                                       $this->fieldStyle = $GLOBALS['TBE_STYLES']['styleschemes'][(int)$color_style_parts[1]];
-                                                       if (!isset($this->fieldStyle)) {
-                                                               $this->fieldStyle = $GLOBALS['TBE_STYLES']['styleschemes'][0];
-                                                       }
-                                               }
-                                               if ($color_style_parts[2] !== '') {
-                                                       $this->wrapBorder($out_array[$out_sheet], $out_pointer);
-                                                       $this->borderStyle = $GLOBALS['TBE_STYLES']['borderschemes'][(int)$color_style_parts[2]];
-                                                       if (!isset($this->borderStyle)) {
-                                                               $this->borderStyle = $GLOBALS['TBE_STYLES']['borderschemes'][0];
-                                                       }
-                                               }
+                                               // this is documented as this:
+                                               // fieldname;fieldlabel;paletteidorlinebreaktodisplay;extradata;colorscheme
+                                               // fieldname can also be "--div--" or "--palette--"
+                                               // the last option colorscheme was dropped with TYPO3 CMS 7
+
+                                               list($theField, $fieldLabel, $additionalPalette, $extraFieldProcessingData)  = explode(';', $fieldInfo);
+
                                                // Render the field:
-                                               $theField = $parts[0];
                                                if (!in_array($theField, $excludeElements)) {
                                                        if ($GLOBALS['TCA'][$table]['columns'][$theField]) {
                                                                $sFieldPal = '';
-                                                               if ($parts[2] && !isset($this->palettesRendered[$this->renderDepth][$table][$parts[2]])) {
-                                                                       $sFieldPal = $this->getPaletteFields($table, $row, $parts[2]);
-                                                                       $this->palettesRendered[$this->renderDepth][$table][$parts[2]] = 1;
+                                                               if ($additionalPalette && !isset($this->palettesRendered[$this->renderDepth][$table][$additionalPalette])) {
+                                                                       $sFieldPal = $this->getPaletteFields($table, $row, $additionalPalette);
+                                                                       $this->palettesRendered[$this->renderDepth][$table][$additionalPalette] = 1;
                                                                }
-                                                               $sField = $this->getSingleField($table, $theField, $row, $parts[1], 0, $parts[3], $parts[2]);
+                                                               $sField = $this->getSingleField($table, $theField, $row, $fieldLabel, 0, $extraFieldProcessingData, $additionalPalette);
                                                                if ($sField) {
                                                                        $sField .= $sFieldPal;
                                                                }
@@ -951,27 +931,27 @@ class FormEngine {
                                                                                // Remember on which sheet we're currently working:
                                                                                $this->pushToDynNestedStack('tab', $tabIdentStringMD5 . '-' . ($out_sheet + 1));
                                                                                $out_array[$out_sheet] = array();
-                                                                               $out_array_meta[$out_sheet]['title'] = $this->sL($parts[1]);
+                                                                               $out_array_meta[$out_sheet]['title'] = $this->sL($fieldLabel);
                                                                                // Register newline for Tab
-                                                                               $out_array_meta[$out_sheet]['newline'] = $parts[2] == 'newline';
+                                                                               $out_array_meta[$out_sheet]['newline'] = $additionalPalette == 'newline';
                                                                        }
                                                                } else {
                                                                        // Setting alternative title for "General" tab if "--div--" is the very first element.
-                                                                       $out_array_meta[$out_sheet]['title'] = $this->sL($parts[1]);
+                                                                       $out_array_meta[$out_sheet]['title'] = $this->sL($fieldLabel);
                                                                        // Only add the first tab to the dynNestedStack if there are more tabs:
                                                                        if ($tabIdentString && strpos($itemList, '--div--', strlen($fieldInfo))) {
                                                                                $this->pushToDynNestedStack('tab', $tabIdentStringMD5 . '-1');
                                                                        }
                                                                }
                                                        } elseif ($theField == '--palette--') {
-                                                               if ($parts[2] && !isset($this->palettesRendered[$this->renderDepth][$table][$parts[2]])) {
+                                                               if ($additionalPalette && !isset($this->palettesRendered[$this->renderDepth][$table][$additionalPalette])) {
                                                                        // Render a 'header' if not collapsed
-                                                                       if ($GLOBALS['TCA'][$table]['palettes'][$parts[2]]['canNotCollapse'] && $parts[1]) {
-                                                                               $out_array[$out_sheet][$out_pointer] .= $this->getPaletteFields($table, $row, $parts[2], $this->sL($parts[1]));
+                                                                       if ($GLOBALS['TCA'][$table]['palettes'][$additionalPalette]['canNotCollapse'] && $fieldLabel) {
+                                                                               $out_array[$out_sheet][$out_pointer] .= $this->getPaletteFields($table, $row, $additionalPalette, $this->sL($fieldLabel));
                                                                        } else {
-                                                                               $out_array[$out_sheet][$out_pointer] .= $this->getPaletteFields($table, $row, $parts[2], '', '', $this->sL($parts[1]));
+                                                                               $out_array[$out_sheet][$out_pointer] .= $this->getPaletteFields($table, $row, $additionalPalette, '', '', $this->sL($fieldLabel));
                                                                        }
-                                                                       $this->palettesRendered[$this->renderDepth][$table][$parts[2]] = 1;
+                                                                       $this->palettesRendered[$this->renderDepth][$table][$additionalPalette] = 1;
                                                                }
                                                        }
                                                }
@@ -988,8 +968,6 @@ class FormEngine {
                }
                // Wrapping a border around it all:
                $this->wrapBorder($out_array[$out_sheet], $out_pointer);
-               // Resetting styles:
-               $this->resetSchemes();
                // Rendering Main palettes, if any
                $mParr = GeneralUtility::trimExplode(',', $GLOBALS['TCA'][$table]['ctrl']['mainpalette']);
                $i = 0;
@@ -3199,8 +3177,8 @@ class FormEngine {
                        $widthInPixels += $this->form_additionalTextareaStyleWidth;
                }
 
-               $fieldWidthAndStyle['style'] = 'width: ' . $widthInPixels . 'px; ' . $this->defStyle . $this->formElStyle($textarea ? 'text' : 'input');
-               $fieldWidthAndStyle['class'] = $this->formElClass($textarea ? 'text' : 'input');
+               $fieldWidthAndStyle['style'] = 'width: ' . $widthInPixels . 'px; ';
+               $fieldWidthAndStyle['class'] = 'class="formfield-' . ($textarea ? 'text' : 'input');
                return $fieldWidthAndStyle;
        }
 
@@ -3210,9 +3188,10 @@ class FormEngine {
         * @param string $type Field type (eg. "check", "radio", "select")
         * @return string CSS attributes
         * @see formElStyleClassValue()
-        * @todo Define visibility
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public function formElStyle($type) {
+               GeneralUtility::logDeprecatedFunction();
                return $this->formElStyleClassValue($type);
        }
 
@@ -3222,7 +3201,7 @@ class FormEngine {
         * @param string $type Field type (eg. "check", "radio", "select")
         * @return string CSS attributes
         * @see formElStyleClassValue()
-        * @todo Define visibility
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public function formElClass($type) {
                return $this->formElStyleClassValue($type, TRUE);
@@ -3234,9 +3213,10 @@ class FormEngine {
         * @param string $type Field type (eg. "check", "radio", "select")
         * @param boolean $class If set, will return value only if prefixed with CLASS, otherwise must not be prefixed "CLASS
         * @return string CSS attributes
-        * @todo Define visibility
+        * @deprecated since TYPO3 CMS 7, will be removed in CMS 8
         */
        public function formElStyleClassValue($type, $class = FALSE) {
+               GeneralUtility::logDeprecatedFunction();
                // Get value according to field:
                if (isset($this->fieldStyle[$type])) {
                        $style = trim($this->fieldStyle[$type]);
@@ -3261,13 +3241,8 @@ class FormEngine {
         * @todo Define visibility
         */
        public function insertDefStyle($type, $additionalClass = '') {
-               $out = '';
-               $style = trim($this->defStyle . $this->formElStyle($type));
-               $out .= $style ? ' style="' . htmlspecialchars($style) . '"' : '';
-               $class = $this->formElClass($type);
-               $classAttributeValue = join(' ', array_filter(array($class, $additionalClass)));
-               $out .= $classAttributeValue ? ' class="' . htmlspecialchars($classAttributeValue) . '"' : '';
-               return $out;
+               $cssClasses = trim('t3-formengine-field-' . $type . ' ' . $additionalClass);
+               return 'class="' . htmlspecialchars($cssClasses) . '"';
        }
 
        /**
@@ -3726,7 +3701,7 @@ class FormEngine {
         */
        public function intoTemplate($inArr, $altTemplate = '') {
                // Put into template_
-               $fieldTemplateParts = explode('###FIELD_', $this->rplColorScheme($altTemplate ? $altTemplate : $this->fieldTemplate));
+               $fieldTemplateParts = explode('###FIELD_', $altTemplate ?: $this->fieldTemplate);
                $out = current($fieldTemplateParts);
                foreach ($fieldTemplateParts as $part) {
                        list($key, $val) = explode('###', $part, 2);
@@ -3871,14 +3846,8 @@ class FormEngine {
         */
        public function wrapBorder(&$out_array, &$out_pointer) {
                if ($this->sectionWrap && $out_array[$out_pointer]) {
-                       $tableAttribs = '';
-                       $tableAttribs .= $this->borderStyle[0] ? ' style="' . htmlspecialchars($this->borderStyle[0]) . '"' : '';
-                       $tableAttribs .= $this->borderStyle[2] ? ' background="' . htmlspecialchars(($this->backPath . $this->borderStyle[2])) . '"' : '';
-                       $tableAttribs .= $this->borderStyle[3] ? ' class="' . htmlspecialchars($this->borderStyle[3]) . '"' : '';
-                       if ($tableAttribs) {
-                               $tableAttribs = 'border="0" cellspacing="0" cellpadding="0" width="100%"' . $tableAttribs;
-                               $out_array[$out_pointer] = str_replace('###CONTENT###', $out_array[$out_pointer], str_replace('###TABLE_ATTRIBS###', $tableAttribs, $this->sectionWrap));
-                       }
+                       $tableAttribs = 'border="0" cellspacing="0" cellpadding="0" width="100%" class="table table-border"';
+                       $out_array[$out_pointer] = str_replace('###CONTENT###', $out_array[$out_pointer], str_replace('###TABLE_ATTRIBS###', $tableAttribs, $this->sectionWrap));
                        $out_pointer++;
                }
        }
@@ -3888,9 +3857,10 @@ class FormEngine {
         *
         * @param string $inTemplate Template string with markers to be substituted.
         * @return string
-        * @todo Define visibility
+        * @deprecated since TYPO3 CMS 7, will be removed with CMS 8
         */
        public function rplColorScheme($inTemplate) {
+               GeneralUtility::logDeprecatedFunction();
                return str_replace(
                        array(
                                // Colors:
@@ -3935,22 +3905,9 @@ class FormEngine {
         * @todo Define visibility
         */
        public function printPalette($palArr) {
-               $fieldAttributes = ($labelAttributes = '');
-               // Init color/class attributes:
-               if ($this->colorScheme[2]) {
-                       $labelAttributes .= ' bgcolor="' . $this->colorScheme[2] . '"';
-               }
-               if ($this->classScheme[2]) {
-                       $labelAttributes .= ' class="t3-form-palette-field-label ' . $this->classScheme[2] . '"';
-               } else {
-                       $labelAttributes .= ' class="t3-form-palette-field-label"';
-               }
-               if ($this->colorScheme[4]) {
-                       $fieldAttributes .= ' style="color: ' . $this->colorScheme[4] . '"';
-               }
-               if ($this->classScheme[4]) {
-                       $fieldAttributes .= ' class="t3-form-palette-field ' . $this->classScheme[4] . '"';
-               }
+               $fieldAttributes = ' class="t3-form-palette-field"';
+               $labelAttributes = ' class="t3-form-palette-field-label"';
+
                $row = 0;
                $iRow = array();
                $lastLineWasLinebreak = FALSE;
@@ -4000,9 +3957,10 @@ class FormEngine {
         *
         * @param string $scheme A color scheme string.
         * @return void
-        * @todo Define visibility
+        * @deprecated since TYPO3 CMS 7, will be removed with CMS 8
         */
        public function setColorScheme($scheme) {
+               GeneralUtility::logDeprecatedFunction();
                $this->colorScheme = $this->defColorScheme;
                $this->classScheme = $this->defClassScheme;
                $parts = GeneralUtility::trimExplode(',', $scheme);
@@ -4030,9 +3988,10 @@ class FormEngine {
         * Reset color schemes.
         *
         * @return void
-        * @todo Define visibility
+        * @deprecated since TYPO3 CMS 7, will be removed with CMS 8
         */
        public function resetSchemes() {
+               GeneralUtility::logDeprecatedFunction();
                $this->setColorScheme($GLOBALS['TBE_STYLES']['colorschemes'][0]);
                $this->fieldStyle = $GLOBALS['TBE_STYLES']['styleschemes'][0];
                $this->borderStyle = $GLOBALS['TBE_STYLES']['borderschemes'][0];
@@ -4042,9 +4001,10 @@ class FormEngine {
         * Store current color scheme
         *
         * @return void
-        * @todo Define visibility
+        * @deprecated since TYPO3 CMS 7, will be removed with CMS 8
         */
        public function storeSchemes() {
+               GeneralUtility::logDeprecatedFunction();
                $this->savedSchemes['classScheme'] = $this->classScheme;
                $this->savedSchemes['colorScheme'] = $this->colorScheme;
                $this->savedSchemes['fieldStyle'] = $this->fieldStyle;
@@ -4055,9 +4015,10 @@ class FormEngine {
         * Restore the saved color scheme
         *
         * @return void
-        * @todo Define visibility
+        * @deprecated since TYPO3 CMS 7, will be removed with CMS 8
         */
        public function restoreSchemes() {
+               GeneralUtility::logDeprecatedFunction();
                $this->classScheme = $this->savedSchemes['classScheme'];
                $this->colorScheme = $this->savedSchemes['colorScheme'];
                $this->fieldStyle = $this->savedSchemes['fieldStyle'];
index 81eab9c..8a7510b 100644 (file)
@@ -9,10 +9,10 @@
 
 
 <!-- ###FIELDTEMPLATE### begin -->
-<tr ###BGCOLOR_HEAD######CLASSATTR_2###>
-       <td colspan="2" class="formField-header"><span style="color:###FONTCOLOR_HEAD###;"###CLASSATTR_4###><strong>###FIELD_NAME###</strong></span></td>
+<tr>
+       <td colspan="2" class="formField-header"><strong>###FIELD_NAME###</strong></td>
 </tr>
-<tr ###BGCOLOR######CLASSATTR_1###>
+<tr>
        <td colspan="2" class="formField-field">
                <span class="t3-form-field-container">
                        <img name="cm_###FIELD_TABLE###_###FIELD_ID###_###FIELD_FIELD###" src="clear.gif" class="t3-TCEforms-contentchangedImg" alt="" />
 
 
 <!-- ###PALETTE_FIELDTEMPLATE### begin -->
-<tr ###BGCOLOR######CLASSATTR_1###>
+<tr>
        <td colspan="2" nowrap="nowrap">###FIELD_PALETTE###</td>
 </tr>
 <!-- ###PALETTE_FIELDTEMPLATE### end -->
 
 
 <!-- ###PALETTE_FIELDTEMPLATE_HEADER### begin -->
-<tr ###BGCOLOR_HEAD######CLASSATTR_2###>
+<tr>
        <td colspan="2" nowrap="nowrap" class="palette-header">
                <h3>###FIELD_HEADER###</h3>
        </td>
index c846b86..b6fd857 100644 (file)
@@ -83,7 +83,7 @@ class FileCollectionRegistry implements \TYPO3\CMS\Core\SingletonInterface {
        public function addTypeToTCA($type, $label, $availableFields, array $additionalColumns = array()) {
 
                $GLOBALS['TCA']['sys_file_collection']['types'][$type] = array(
-                       'showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, ' . $availableFields
+                       'showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title;;1, type, ' . $availableFields
                );
 
                // search for existing type when found override label
index 0566e31..59f9db5 100644 (file)
@@ -571,10 +571,10 @@ class ExtensionManagementUtility {
         * The insertion position can be defined accordant before of after existing list items.
         *
         * Example:
-        * + list: 'field_a, field_b;;;;2-2-2, field_c;;;;3-3-3'
-        * + insertionList: 'field_d, field_e;;;4-4-4'
+        * + list: 'field_a, field_b, field_c'
+        * + insertionList: 'field_d, field_e'
         * + insertionPosition: 'after:field_b'
-        * -> 'field_a, field_b;;;;2-2-2, field_d, field_e;;;4-4-4, field_c;;;;3-3-3'
+        * -> 'field_a, field_b, field_d, field_e, field_c'
         *
         * $insertPosition may contain ; and - characters: after:--palette--;;title
         *
@@ -632,8 +632,8 @@ class ExtensionManagementUtility {
         * and returns a duplicate-free variant of that insertion list.
         *
         * Example:
-        * + list: 'field_a, field_b;;;;2-2-2, field_c;;;;3-3-3'
-        * + insertion: 'field_b, field_d, field_c;;;4-4-4'
+        * + list: 'field_a, field_b, field_c'
+        * + insertion: 'field_b, field_d, field_c'
         * -> new insertion: 'field_d'
         *
         * Duplicate values in $insertionList are removed.
index 5a1c4b4..6a7237d 100644 (file)
@@ -20,25 +20,25 @@ if (!\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version('4.2')) {
        // Set the doktype 1 ("Standard") to show less fields
        $GLOBALS['TCA']['pages']['types'][1] = array(
                // standard
-               'showitem' => 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle,
+               'showitem' => 'doktype;;2, hidden, nav_hide, title;;3, subtitle,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
                                starttime, endtime, fe_group, extendToSubpages,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.options,
-                               TSconfig;;6;nowrap;4-4-4, storage_pid;;7, l18n_cfg, backend_layout;;8,
+                               TSconfig;;6;nowrap, storage_pid;;7, l18n_cfg, backend_layout;;8,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
        '
        );
        // Add doktype 2 ("Advanced")
        $GLOBALS['TCA']['pages']['types'][2] = array(
-               'showitem' => 'doktype;;2;;1-1-1, hidden, nav_hide, title;;3;;2-2-2, subtitle, nav_title,
+               'showitem' => 'doktype;;2, hidden, nav_hide, title;;3, subtitle, nav_title,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
-                               abstract;;5;;3-3-3, keywords, description,
+                               abstract;;5, keywords, description,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.files,
                                media,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
                                starttime, endtime, fe_login_mode, fe_group, extendToSubpages,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.options,
-                               TSconfig;;6;nowrap;6-6-6, storage_pid;;7, l18n_cfg, module, content_from_pid, backend_layout;;8,
+                               TSconfig;;6;nowrap, storage_pid;;7, l18n_cfg, module, content_from_pid, backend_layout;;8,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
        '
        );
index 0398818..53faa1b 100644 (file)
@@ -309,10 +309,10 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'hidden;;;;1-1-1, title;;;;2-2-2, description, subgroup;;;;3-3-3,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights;;;;1-1-1, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny , allowed_languages;;;;2-2-2, custom_options;;;;3-3-3,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms;;;;1-1-1, db_mountpoints;;;;2-2-2, file_mountpoints;;;;3-3-3, file_permissions, category_perms,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain;;;;1-1-1, hide_in_lists;;;;2-2-2, TSconfig;;;;3-3-3,
+               '0' => array('showitem' => 'hidden, title, description, subgroup,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny, allowed_languages, custom_options,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms, db_mountpoints, file_mountpoints, file_permissions, category_perms,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain, hide_in_lists, TSconfig,
                        --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.extended'),
        )
 );
index 6ab79c9..1206946 100644 (file)
@@ -374,15 +374,15 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'disable;;;;1-1-1, username;;;;2-2-2, password, usergroup;;;;3-3-3, admin;;;;1-1-1, realName;;;;3-3-3, email, lang, lastlogin;;;;1-1-1,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.rights, userMods;;;;2-2-2, allowed_languages,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.mounts_and_workspaces, workspace_perms;;;;1-1-1, db_mountpoints;;;;2-2-2, options, file_mountpoints;;;;3-3-3, file_permissions, category_perms,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.options, lockToDomain;;;;1-1-1, disableIPlock, TSconfig;;;;2-2-2,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.access, starttime;;;;1-1-1,endtime,
+               '0' => array('showitem' => 'disable, username, password, usergroup, admin, realName, email, lang, lastlogin,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.rights, userMods, allowed_languages,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.mounts_and_workspaces, workspace_perms, db_mountpoints, options, file_mountpoints, file_permissions, category_perms,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.options, lockToDomain, disableIPlock, TSconfig,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.access, starttime,endtime,
                        --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.extended'),
-               '1' => array('showitem' => 'disable;;;;1-1-1, username;;;;2-2-2, password, usergroup;;;;3-3-3, admin;;;;1-1-1, realName;;;;3-3-3, email, lang, lastlogin;;;;1-1-1,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.options, disableIPlock;;;;1-1-1, TSconfig;;;;2-2-2, db_mountpoints;;;;3-3-3, options, file_mountpoints;;;;4-4-4,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.access, starttime;;;;1-1-1,endtime,
+               '1' => array('showitem' => 'disable, username, password, usergroup, admin, realName, email, lang, lastlogin,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.options, disableIPlock, TSconfig, db_mountpoints, options, file_mountpoints,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.access, starttime,endtime,
                        --div--;LLL:EXT:lang/locallang_tca.xlf:be_users.tabs.extended')
        )
 );
index fa65729..288d179 100644 (file)
@@ -177,10 +177,10 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, files'),
-               'static' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, files'),
-               'folder' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, storage, folder'),
-               'category' => array('showitem' => 'sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, category')
+               '0' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title;;1, type, files'),
+               'static' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title;;1, type, files'),
+               'folder' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title;;1, type, storage, folder'),
+               'category' => array('showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, title;;1, type, category')
        ),
        'palettes' => array(
                '1' => array('showitem' => 'hidden, starttime, endtime')
index 389dfb2..f23038b 100644 (file)
@@ -262,7 +262,7 @@ return array(
                // Used for everything that is an image (because it has a link and a alternative text)
                'imageoverlayPalette' => array(
                        'showitem' => '
-                               title,alternative;;;;3-3-3,--linebreak--,
+                               title,alternative,--linebreak--,
                                link,description
                                ',
                        'canNotCollapse' => TRUE
index 39c30a4..1ddf222 100644 (file)
@@ -67,6 +67,6 @@ return array(
                )
        ),
        'types' => array(
-               '1' => array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2,static_lang_isocode,flag')
+               '1' => array('showitem' => 'hidden,title,static_lang_isocode,flag')
        )
 );
index 82e6c38..bd747a4 100644 (file)
@@ -88,7 +88,7 @@ return array(
        ),
        'types' => array(
                '1' => array('showitem' => '
-                       hidden, title, content;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3,
+                       hidden, title, content;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css],
                        --div--;LLL:EXT:lang/locallang_tca.xlf:sys_news.tabs.access, starttime, endtime')
        )
 );
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-61890-Remove-TBE-Styling-From-FormEngine.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-61890-Remove-TBE-Styling-From-FormEngine.rst
new file mode 100644 (file)
index 0000000..be59579
--- /dev/null
@@ -0,0 +1,88 @@
+==============================================================
+Breaking: #61890 - TBE Styling removed from FormEngine and TCA
+==============================================================
+
+Description
+===========
+
+The styling functionality of FormEngine was based on a mixture of loose variables within $GLOBALS['TBE_STYLES']
+overridden by hardcoded values in various Backend PHP classes. This setup, additionally mixed with CSS classes
+that followed a very complicated syntax to render certain fields differently, was removed in order to allow
+Backend styling for FormEngine completely based on CSS/LESS.
+
+
+Impact
+======
+
+Using the following CSS classes within FormEngine don't have any effect anymore:
+
+* class-main
+* class-main1
+* class-main2
+* class-main3
+* class-main4
+* class-main5
+* class-main11
+* class-main12
+* class-main13
+* class-main14
+* class-main15
+* class-main21
+* class-main22
+* class-main23
+* class-main24
+* class-main25
+* class-main31
+* class-main32
+* class-main33
+* class-main34
+* class-main35
+* class-main41
+* class-main42
+* class-main43
+* class-main44
+* class-main45
+* class-main51
+* class-main52
+* class-main53
+* class-main54
+* class-main55
+* wrapperTable
+* wrapperTable1
+* wrapperTable2
+* wrapperTable3
+* wrapperTable4
+* wrapperTable5
+* formField
+* formField1
+* formField2
+* formField3
+* formField4
+* formField5
+
+Additionally, the following keys of $TBE_STYLES have no effect anymore:
+
+* $TBE_STYLES['colorschemes']
+* $TBE_STYLES['styleschemes']
+* $TBE_STYLES['borderschemes']
+
+They can safely removed from any third party extension.
+
+The 5th parameter defining custom styleschemes in any field defined in $TCA[mytable][types][mytype][showitem] or
+$TCA[mytable][palettes][mypalette][showitem] has no effect anymore and can be removed from any third party extension
+(e.g. myfield;mylabel;usedpalette;extraDefinition;stylescheme).
+
+Any styling is now done solely via LESS.
+
+Affected installations
+======================
+
+A TYPO3 instance is affected if a 3rd party extension uses the CSS classes for styling or dynamic HTML via JavaScript.
+
+
+Migration
+=========
+
+Use the available CSS classes for custom styling and modifying FormEngine. Clean up any custom TCA definitions with a
+stylescheme in 3rd party extensions, where the fifth parameter of a field definition in
+$TCA[mytable][types][mytype][showitem] or $TCA[mytable][palettes][mypalette][showitem] is used.
\ No newline at end of file
index 7fe21f4..bebf191 100644 (file)
@@ -28,7 +28,7 @@ defined('TYPO3_MODE') or die();
 );
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
        'pages',
-       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.doktype.div.irre, tx_irretutorial_hotels;;;;1-1-1'
+       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.doktype.div.irre, tx_irretutorial_hotels'
 );
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
@@ -58,7 +58,7 @@ defined('TYPO3_MODE') or die();
 );
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
        'pages_language_overlay',
-       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.doktype.div.irre, tx_irretutorial_hotels;;;;1-1-1'
+       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:pages.doktype.div.irre, tx_irretutorial_hotels'
 );
 
 
@@ -120,7 +120,7 @@ defined('TYPO3_MODE') or die();
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
        'tt_content',
-       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.div.irre, tx_irretutorial_1nff_hotels;;;;1-1-1, tx_irretutorial_1ncsv_hotels, tx_irretutorial_flexform'
+       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tt_content.div.irre, tx_irretutorial_1nff_hotels, tx_irretutorial_1ncsv_hotels, tx_irretutorial_flexform'
 );
 
 $GLOBALS['TCA']['tt_content']['ctrl']['shadowColumnsForNewPlaceholders'] = 'tx_irretutorial_1ncsv_hotels';
index 8a61346..c8150a2 100644 (file)
@@ -79,8 +79,8 @@ $TCA['tx_irretutorial_1ncsv_hotel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, offers;;;;3-3-3, ' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, offers, ' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -168,8 +168,8 @@ $TCA['tx_irretutorial_1ncsv_offer'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, prices;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, prices,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -247,8 +247,8 @@ $TCA['tx_irretutorial_1ncsv_price'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, price;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1, '
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, price,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1, '
                )
        ),
        'palettes' => array(
index 2a2f395..f69f70b 100644 (file)
@@ -91,8 +91,8 @@ $TCA['tx_irretutorial_1nff_hotel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, offers;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, offers,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -192,8 +192,8 @@ $TCA['tx_irretutorial_1nff_offer'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, prices;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1, parentid, parenttable'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, prices,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1, parentid, parenttable'
                )
        ),
        'palettes' => array(
@@ -281,8 +281,8 @@ $TCA['tx_irretutorial_1nff_price'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, price;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1, parentid'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, price,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1, parentid'
                )
        ),
        'palettes' => array(
index 319ac79..09c0c53 100644 (file)
@@ -81,8 +81,8 @@ $TCA['tx_irretutorial_mnasym_hotel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, offers;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, offers,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -189,8 +189,8 @@ $TCA['tx_irretutorial_mnasym_hotel_offer_rel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, hotelid;;;;3-3-3, offerid, prices,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1, hotelsort, offersort'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, hotelid, offerid, prices,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1, hotelsort, offersort'
                )
        ),
        'palettes' => array(
@@ -280,8 +280,8 @@ $TCA['tx_irretutorial_mnasym_offer'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, hotels,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, hotels,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -364,8 +364,8 @@ $TCA['tx_irretutorial_mnasym_price'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, parentid, price;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1, parentid'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, parentid, price,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1, parentid'
                )
        ),
        'palettes' => array(
index 4c0257e..fdec63e 100644 (file)
@@ -81,8 +81,8 @@ $TCA['tx_irretutorial_mnattr_hotel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, offers;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, offers,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -190,8 +190,8 @@ $TCA['tx_irretutorial_mnattr_hotel_offer_rel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, hotelid;;;;3-3-3, offerid, hotelsort, offersort, quality, allincl,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, hotelid, offerid, hotelsort, offersort, quality, allincl,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -281,8 +281,8 @@ $TCA['tx_irretutorial_mnattr_offer'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, hotels,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, hotels,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
index d4b3b2f..6695fee 100644 (file)
@@ -80,8 +80,8 @@ $TCA['tx_irretutorial_mnmmasym_hotel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, offers;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, offers,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -191,8 +191,8 @@ $TCA['tx_irretutorial_mnmmasym_offer'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, hotels, prices,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, hotels, prices,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -291,8 +291,8 @@ $TCA['tx_irretutorial_mnmmasym_price'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, price;;;;3-3-3, offers,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, price, offers,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
index c273d4d..0690fe3 100644 (file)
@@ -84,8 +84,8 @@ $TCA['tx_irretutorial_mnsym_hotel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, branches;;;;3-3-3,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, branches,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
@@ -172,8 +172,8 @@ $TCA['tx_irretutorial_mnsym_hotel_rel'] = array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2, hotelid;;;;3-3-3, branchid,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l18n_parent, l18n_diffsource, hidden;;1, hotelsort, branchsort'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title, hotelid, branchid,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l18n_parent, l18n_diffsource, hidden;;1, hotelsort, branchsort'
                )
        ),
        'palettes' => array(
index f8565b3..5df42a4 100644 (file)
@@ -74,8 +74,8 @@ return array(
        ),
        'types' => array(
                '0' => Array('showitem' =>
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title;;;;2-2-2,' .
-                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, hidden;;1'
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.general, title,' .
+                       '--div--;LLL:EXT:irre_tutorial/Resources/Private/Language/locallang_db.xml:tabs.visibility, sys_language_uid, l10n_parent, l10n_diffsource, hidden;;1'
                )
        ),
        'palettes' => array(
index c263b95..10c9129 100644 (file)
@@ -163,7 +163,7 @@ class FileCollectionRegistryTest extends \TYPO3\CMS\Core\Tests\Unit\Resource\Bas
                $this->testSubject->addTypeToTCA($type, $label, 'something');
 
                // check type
-               $this->assertEquals('sys_language_uid;;;;1-1-1, l10n_parent, l10n_diffsource, title;;1, type, something', $GLOBALS['TCA']['sys_file_collection']['types']['my_type']['showitem']);
+               $this->assertEquals('sys_language_uid, l10n_parent, l10n_diffsource, title;;1, type, something', $GLOBALS['TCA']['sys_file_collection']['types']['my_type']['showitem']);
 
                $indexOfNewType = count($GLOBALS['TCA']['sys_file_collection']['columns']['type']['config']['items']) - 1;
 
index d7744bf..caf0515 100644 (file)
@@ -6,7 +6,7 @@ defined('TYPO3_MODE') or die();
 
 $GLOBALS['TCA']['tt_content']['types']['table']['showitem'] = '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
                                        --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
-                               --div--;LLL:EXT:cms/locallang_ttc.xlf:CType.I.5, layout;;10;;3-3-3, cols, bodytext;;9;nowrap:wizards[table], pi_flexform,
+                               --div--;LLL:EXT:cms/locallang_ttc.xlf:CType.I.5, layout;;10, cols, bodytext;;9;nowrap:wizards[table], pi_flexform,
                                --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
                                        --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
                                        --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.table_layout;tablelayout,
index 78ba39c..e3db59c 100644 (file)
@@ -148,7 +148,7 @@ return array(
                ),
        ),
        'types' => array(
-               '0' => array('showitem' => 'extensionkey;;;;1-1-1, version, integer_version, title;;;;2-2-2, description;;;;3-3-3, state, category, last_updated, update_comment, author_name, author_email, review_state, md5hash, serialized_dependencies')
+               '0' => array('showitem' => 'extensionkey, version, integer_version, title, description, state, category, last_updated, update_comment, author_name, author_email, review_state, md5hash, serialized_dependencies')
        ),
        'palettes' => array(
                '1' => array('showitem' => '')
index e272987..e3cffe5 100644 (file)
@@ -64,7 +64,7 @@ return array(
                ),
        ),
        'types' => array(
-               '0' => array('showitem' => 'title;;;;1-1-1, description;;;;1-1-1, wsdl_url, mirror_list_url, last_update, extension_count'),
+               '0' => array('showitem' => 'title, description, wsdl_url, mirror_list_url, last_update, extension_count'),
        ),
        'palettes' => array(
                '1' => array('showitem' => ''),
index b838e9f..78c45c9 100644 (file)
@@ -22,4 +22,4 @@ $tempColumns = array(
        )
 );
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_groups', $tempColumns);
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_groups', 'felogin_redirectPid;;;;1-1-1', '', 'after:TSconfig');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_groups', 'felogin_redirectPid', '', 'after:TSconfig');
index 361cb73..b419867 100644 (file)
@@ -29,4 +29,4 @@ $tempColumns = array(
        )
 );
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('fe_users', $tempColumns);
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_users', 'felogin_redirectPid;;;;1-1-1', '', 'after:TSconfig');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('fe_users', 'felogin_redirectPid', '', 'after:TSconfig');
index 4b97012..00c5de3 100644 (file)
@@ -22,7 +22,7 @@ defined('TYPO3_MODE') or die();
 $GLOBALS['TCA']['tt_content']['types']['login']['showitem'] =
        '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,'
        . '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,'
-       . '--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.plugin,pi_flexform;;;;1-1-1,'
+       . '--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.plugin,pi_flexform,'
        . '--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,'
        . '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,'
        . '--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,'
index 41be957..7d88d24 100644 (file)
@@ -18,7 +18,7 @@ $GLOBALS['TCA']['tt_content']['types']['mailform']['showitem'] = '
        --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,
        --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.header;header,
        --div--;LLL:EXT:cms/locallang_ttc.xlf:CType.I.8,
-               bodytext;LLL:EXT:cms/locallang_ttc.xlf:bodytext.ALT.mailform;;nowrap:wizards[forms];3-3-3,
+               bodytext;LLL:EXT:cms/locallang_ttc.xlf:bodytext.ALT.mailform;;nowrap:wizards[forms],
        --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.appearance,
                --palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.frames;frames,
        --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
index 1d5cb2e..75a9428 100644 (file)
@@ -82,6 +82,6 @@ return array(
                )
        ),
        'types' => array(
-               '1' => array('showitem' => 'hidden,title;;1;;2-2-2, icon, description, config')
+               '1' => array('showitem' => 'hidden,title;;1, icon, description, config')
        )
 );
index b2f9d94..4ce8bac 100644 (file)
@@ -84,8 +84,8 @@ return array(
        ),
        'types' => array(
                '0' => array('showitem' => '
-                       hidden;;;;1-1-1,title;;;;2-2-2,description,subgroup;;;;3-3-3,
-                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_groups.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
+                       hidden,title,description,subgroup,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_groups.tabs.options, lockToDomain, TSconfig,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:fe_groups.tabs.extended
                ')
        )
index 645c4c6..61ac8be 100644 (file)
@@ -276,9 +276,9 @@ return array(
        ),
        'types' => array(
                '0' => array('showitem' => '
-                       disable,username;;;;1-1-1, password, usergroup, lastlogin;;;;1-1-1,
-                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.personelData, company;;1;;1-1-1, name;;2;;2-2-2, address, zip, city, country, telephone, fax, email, www, image;;;;2-2-2,
-                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
+                       disable,username, password, usergroup, lastlogin,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.personelData, company;;1, name;;2, address, zip, city, country, telephone, fax, email, www, image,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.options, lockToDomain, TSconfig,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.access, starttime, endtime,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.extended
 
index 47ff758..52129e6 100644 (file)
@@ -82,7 +82,7 @@ return array(
                )
        ),
        'types' => array(
-               '1' => array('showitem' => 'hidden;;;;1-1-1,domainName;;1;;3-3-3,prepend_params,forced;;;;4-4-4')
+               '1' => array('showitem' => 'hidden, domainName;;1, prepend_params, forced')
        ),
        'palettes' => array(
                '1' => array('showitem' => 'redirectTo, redirectHttpStatusCode')
index a5774e2..97cda69 100644 (file)
@@ -236,9 +236,9 @@ return array(
        ),
        'types' => array(
                '1' => array('showitem' => '
-                       hidden,title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, description;;;;4-4-4,
+                       hidden,title;;1, sitetitle, constants, config, description,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.options, clear, root, nextLevel,
-                       --div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.include, includeStaticAfterBasedOn,6-6-6, include_static_file, basedOn, static_file_mode,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.include, includeStaticAfterBasedOn, include_static_file, basedOn, static_file_mode,
                        --div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.access, starttime, endtime')
        )
 );
index 6202343..bb343d5 100644 (file)
@@ -236,12 +236,12 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3'),
-               '1' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3, table2index;;;;3-3-3, alternative_source_pid, fieldlist, get_params, chashcalc,recordsbatch,records_indexonchange'),
-               '2' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3, filepath;;;;3-3-3, extensions, depth'),
-               '3' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3, externalUrl;;;;3-3-3, depth, url_deny'),
-               '4' => array('showitem' => 'title;;1;;2-2-2, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type;;;;3-3-3, alternative_source_pid;LLL:EXT:indexed_search/locallang_db.xlf:index_config.rootpage;;;3-3-3, depth'),
-               '5' => array('showitem' => 'title;;;;2-2-2, description, type;;;;3-3-3, indexcfgs;;;;3-3-3')
+               '0' => array('showitem' => 'title;;1, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type'),
+               '1' => array('showitem' => 'title;;1, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type, table2index, alternative_source_pid, fieldlist, get_params, chashcalc,recordsbatch,records_indexonchange'),
+               '2' => array('showitem' => 'title;;1, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type, filepath, extensions, depth'),
+               '3' => array('showitem' => 'title;;1, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type, externalUrl, depth, url_deny'),
+               '4' => array('showitem' => 'title;;1, description, timer_next_indexing, timer_offset, timer_frequency, set_id, type, alternative_source_pid;LLL:EXT:indexed_search/locallang_db.xlf:index_config.rootpage, depth'),
+               '5' => array('showitem' => 'title, description, type, indexcfgs')
        ),
        'palettes' => array(
                '1' => array('showitem' => 'starttime,hidden')
index 82f878a..047ebea 100644 (file)
@@ -28,5 +28,5 @@ $tempColumns = array(
 );
 // Add new columns to be_users table
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('be_users', $tempColumns);
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('be_users', 'tx_openid_openid;;;;1-1-1', '', 'after:username');
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('be_users', 'tx_openid_openid', '', 'after:username');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('be_users', 'EXT:openid' . '/locallang_csh.xlf');
\ No newline at end of file
index 0433953..5aa4e03 100644 (file)
@@ -123,7 +123,7 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'hidden;;1;;1-1-1, sys_language_uid, type, term, acronym, static_lang_isocode')
+               '0' => array('showitem' => 'hidden;;1, sys_language_uid, type, term, acronym, static_lang_isocode')
        ),
        'palettes' => array(
                '1' => array('showitem' => 'starttime, endtime')
index a6c50af..b711da7 100644 (file)
@@ -46,6 +46,6 @@ return array(
                )
        ),
        'types' => array(
-               '1' => array('showitem' => 'hidden;;;;1-1-1,groupName;;1;;3-3-3,description;;1;;3-3-3')
+               '1' => array('showitem' => 'hidden,groupName;;1,description;;1')
        )
 );
\ No newline at end of file
index c4b815e..14e1d76 100644 (file)
@@ -165,11 +165,11 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,'),
-               '1' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t1_userprefix;;;;5-5-5,t1_copy_of_user,t1_allowed_groups,t1_create_user_dir'),
-               '2' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,'),
-               '3' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t3_listPid;;;;5-5-5,t3_tables;'),
-               '4' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t4_recordsToEdit;;;;5-5-5'),
-               '5' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t3_listPid;Where to create records:;;;5-5-5,t3_tables;Create records in table:')
+               '0' => array('showitem' => 'hidden,type,title,description,assign_to_groups,'),
+               '1' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,t1_userprefix,t1_copy_of_user,t1_allowed_groups,t1_create_user_dir'),
+               '2' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,'),
+               '3' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,t3_listPid,t3_tables;'),
+               '4' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,t4_recordsToEdit'),
+               '5' => array('showitem' => 'hidden,type,title,description,assign_to_groups,--div--,t3_listPid;Where to create records,t3_tables;Create records in table:')
        )
 );
index 2c81bf0..8081e2a 100644 (file)
@@ -54,6 +54,6 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'category;;;;2-2-2, personal, subject;;;;3-3-3, message')
+               '0' => array('showitem' => 'category, personal, subject, message')
        )
 );
index 96b1cc3..e8260d2 100644 (file)
@@ -808,111 +808,17 @@ select option.c-divider {
 }
 
 /* Default. Always used on main-palettes in the bottom of the forms */
-.typo3-TCEforms .class-main1,
-.typo3-TCEforms .class-main11,
-.typo3-TCEforms .class-main21,
-.typo3-TCEforms .class-main31,
-.typo3-TCEforms .class-main41,
-.typo3-TCEforms .class-main51 {
-}
-
-.typo3-TCEforms .class-main2 td,
-.typo3-TCEforms .class-main12 td,
-.typo3-TCEforms .class-main22 td,
-.typo3-TCEforms .class-main32 td,
-.typo3-TCEforms .class-main42 td,
-.typo3-TCEforms .class-main52 td {
-       border-top: 1px solid #c0c0c0;
-}
 
-.typo3-TCEforms .class-main1 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main11 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main21 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main31 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main41 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main51 .typo3-TCEforms-checkboxArray td {
+.typo3-TCEforms .typo3-TCEforms-checkboxArray td {
        padding-right: 5px;
 }
 
-.typo3-TCEforms tr.class-main2:first-child td,
-.typo3-TCEforms tr.class-main12:first-child td,
-.typo3-TCEforms tr.class-main22:first-child td,
-.typo3-TCEforms tr.class-main32:first-child td,
-.typo3-TCEforms tr.class-main42:first-child td,
-.typo3-TCEforms tr.class-main52:first-child td {
-       border-top: 0;
-}
-
-.typo3-TCEforms .class-main2,
-.typo3-TCEforms .class-main12,
-.typo3-TCEforms .class-main22,
-.typo3-TCEforms .class-main32,
-.typo3-TCEforms .class-main42,
-.typo3-TCEforms .class-main52 {
-}
-
-
-
-
-.typo3-TCEforms table.wrapperAttention .class-main2,
-.typo3-TCEforms table.wrapperAttention .class-main12,
-.typo3-TCEforms table.wrapperAttention .class-main22,
-.typo3-TCEforms table.wrapperAttention .class-main32,
-.typo3-TCEforms table.wrapperAttention .class-main42,
-.typo3-TCEforms table.wrapperAttention .class-main52 {
-
-}
-
-
-.typo3-TCEforms .class-main4,
-.typo3-TCEforms .class-main14,
-.typo3-TCEforms .class-main24,
-.typo3-TCEforms .class-main34,
-.typo3-TCEforms .class-main44,
-.typo3-TCEforms .class-main54 {
-       color: #000000;
-}
 
-.typo3-TCEforms .class-main5,
-.typo3-TCEforms .class-main15,
-.typo3-TCEforms .class-main25,
-.typo3-TCEforms .class-main35,
-.typo3-TCEforms .class-main45,
-.typo3-TCEforms .class-main55 {
-       color: #3c3c44;
-}
-
-.typo3-TCEforms .wrapperTable,
-.typo3-TCEforms .wrapperTable1,
-.typo3-TCEforms .wrapperTable2,
-.typo3-TCEforms .wrapperTable3,
-.typo3-TCEforms .wrapperTable4,
-.typo3-TCEforms .wrapperTable5 {
-       border: 1px solid #c0c0c0;
-}
-
-.typo3-TCEforms .wrapperTable1 {
-       border-top: 1px solid #c0c0c0;
-}
-
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable1,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable2,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable3,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable4,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable5 {
+.typo3-TCEforms .typo3-dyntabmenu-divs table {
        border: none;
        border-bottom: 1px solid #c0c0c0;
 }
 
-.typo3-TCEforms table.wrapperAttention .wrapperTable,
-.typo3-TCEforms table.wrapperAttention .wrapperTable1,
-.typo3-TCEforms table.wrapperAttention .wrapperTable2,
-.typo3-TCEforms table.wrapperAttention .wrapperTable3,
-.typo3-TCEforms table.wrapperAttention .wrapperTable4,
-.typo3-TCEforms table.wrapperAttention .wrapperTable5 {
-}
-
 .t3-form-palette-fieldset {
        border:none;
 }
index 571f441..c596c6f 100644 (file)
@@ -8686,8 +8686,7 @@ img.t3-TCEforms-contentchangedPaletteImg {
   padding-top: 5px;
   padding-bottom: 20px;
 }
-table.wrapperTable tr.class-main2 td.palette-header,
-table.wrapperTable1 .class-main12 td.palette-header {
+td.palette-header {
   padding-left: 10px;
 }
 .typo3-TCEforms .palette-header h3 {
@@ -8752,30 +8751,6 @@ select option.c-divider {
   position: relative;
   z-index: 3500;
 }
-.typo3-TCEforms .class-main1 > td,
-.typo3-TCEforms .class-main11 > td,
-.typo3-TCEforms .class-main21 > td,
-.typo3-TCEforms .class-main31 > td,
-.typo3-TCEforms .class-main41 > td,
-.typo3-TCEforms .class-main51 > td {
-  padding: 2px 0px 2px 0px;
-}
-.typo3-TCEforms .class-main2 > td,
-.typo3-TCEforms .class-main12 > td,
-.typo3-TCEforms .class-main22 > td,
-.typo3-TCEforms .class-main32 > td,
-.typo3-TCEforms .class-main42 > td,
-.typo3-TCEforms .class-main52 > td {
-  padding: 6px 0px 2px 0px;
-}
-.typo3-TCEforms .class-main3,
-.typo3-TCEforms .class-main13,
-.typo3-TCEforms .class-main23,
-.typo3-TCEforms .class-main33,
-.typo3-TCEforms .class-main43,
-.typo3-TCEforms .class-main53 {
-  padding: 2px 0px 2px 0px;
-}
 .typo3-TCEforms td.formField-header,
 .typo3-TCEforms td.palette-header,
 .typo3-TCEforms td.formField-field {
@@ -8787,31 +8762,6 @@ div.typo3-TCEforms div.c-tablayer table > tbody > tr > td > table.wrapperTable >
   padding-left: 10px;
   padding-right: 10px;
 }
-.typo3-TCEforms .formField,
-.typo3-TCEforms .formField1,
-.typo3-TCEforms .formField2,
-.typo3-TCEforms .formField3,
-.typo3-TCEforms .formField4,
-.typo3-TCEforms .formField5 {
-  vertical-align: middle;
-  position: relative;
-}
-.typo3-TCEforms .formField:focus,
-.typo3-TCEforms .formField1:focus,
-.typo3-TCEforms .formField2:focus,
-.typo3-TCEforms .formField3:focus,
-.typo3-TCEforms .formField4:focus,
-.typo3-TCEforms .formField5:focus {
-  z-index: 3500;
-}
-.typo3-TCEforms .wrapperTable,
-.typo3-TCEforms .wrapperTable1,
-.typo3-TCEforms .wrapperTable2,
-.typo3-TCEforms .wrapperTable3,
-.typo3-TCEforms .wrapperTable4,
-.typo3-TCEforms .wrapperTable5 {
-  padding: 5px 0 5px 0;
-}
 .t3-form-field-group-file tr:last-child td {
   vertical-align: top;
 }
@@ -8955,12 +8905,7 @@ input.typo3-TCEforms-suggest-search {
 TCEforms Flexforms
 - - - - - - - - - - - - - - - - - - - - - */
 /** tabs inside the table => flexforms */
-.typo3-TCEforms .wrapperTable .typo3-dyntabmenu-divs,
-.typo3-TCEforms .wrapperTable1 .typo3-dyntabmenu-divs,
-.typo3-TCEforms .wrapperTable2 .typo3-dyntabmenu-divs,
-.typo3-TCEforms .wrapperTable3 .typo3-dyntabmenu-divs,
-.typo3-TCEforms .wrapperTable4 .typo3-dyntabmenu-divs,
-.typo3-TCEforms .wrapperTable5 .typo3-dyntabmenu-divs {
+.typo3-TCEforms .typo3-dyntabmenu-divs {
   margin-right: 20px;
   margin-bottom: 10px;
 }
@@ -9133,8 +9078,7 @@ img.t3-tceforms-sysfile-imagepreview {
 * html div#typo3-docbody .typo3-TCEforms {
   margin-top: 20px;
 }
-.typo3-TCEforms .formField-field img[src*="clear.gif"],
-.typo3-TCEforms .t3-form-palette-field img[src*="clear.gif"] {
+.t3-form-palette-field img[src*="clear.gif"] {
   z-index: 0;
 }
 /* - - - - - - - - - - - - - - - - - - - - -
@@ -9276,63 +9220,10 @@ select option.c-divider {
   font-weight: bold;
 }
 /* Default. Always used on main-palettes in the bottom of the forms */
-.typo3-TCEforms .class-main2 td,
-.typo3-TCEforms .class-main12 td,
-.typo3-TCEforms .class-main22 td,
-.typo3-TCEforms .class-main32 td,
-.typo3-TCEforms .class-main42 td,
-.typo3-TCEforms .class-main52 td {
-  border-top: 1px solid #c0c0c0;
-}
-.typo3-TCEforms .class-main1 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main11 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main21 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main31 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main41 .typo3-TCEforms-checkboxArray td,
-.typo3-TCEforms .class-main51 .typo3-TCEforms-checkboxArray td {
+.typo3-TCEforms .typo3-TCEforms-checkboxArray td {
   padding-right: 5px;
 }
-.typo3-TCEforms tr.class-main2:first-child td,
-.typo3-TCEforms tr.class-main12:first-child td,
-.typo3-TCEforms tr.class-main22:first-child td,
-.typo3-TCEforms tr.class-main32:first-child td,
-.typo3-TCEforms tr.class-main42:first-child td,
-.typo3-TCEforms tr.class-main52:first-child td {
-  border-top: 0;
-}
-.typo3-TCEforms .class-main4,
-.typo3-TCEforms .class-main14,
-.typo3-TCEforms .class-main24,
-.typo3-TCEforms .class-main34,
-.typo3-TCEforms .class-main44,
-.typo3-TCEforms .class-main54 {
-  color: #000000;
-}
-.typo3-TCEforms .class-main5,
-.typo3-TCEforms .class-main15,
-.typo3-TCEforms .class-main25,
-.typo3-TCEforms .class-main35,
-.typo3-TCEforms .class-main45,
-.typo3-TCEforms .class-main55 {
-  color: #3c3c44;
-}
-.typo3-TCEforms .wrapperTable,
-.typo3-TCEforms .wrapperTable1,
-.typo3-TCEforms .wrapperTable2,
-.typo3-TCEforms .wrapperTable3,
-.typo3-TCEforms .wrapperTable4,
-.typo3-TCEforms .wrapperTable5 {
-  border: 1px solid #c0c0c0;
-}
-.typo3-TCEforms .wrapperTable1 {
-  border-top: 1px solid #c0c0c0;
-}
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable1,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable2,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable3,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable4,
-.typo3-TCEforms .typo3-dyntabmenu-divs .wrapperTable5 {
+.typo3-TCEforms .typo3-dyntabmenu-divs table {
   border: none;
   border-bottom: 1px solid #c0c0c0;
 }
index d868d92..9b9017d 100644 (file)
@@ -13,44 +13,6 @@ if (TYPO3_MODE === 'BE' || TYPO3_MODE === 'FE' && isset($GLOBALS['BE_USER'])) {
        $presetSkinImgs = is_array($TBE_STYLES['skinImg']) ? $TBE_STYLES['skinImg'] : array();
        $TBE_STYLES['skins'][$_EXTKEY]['stylesheetDirectories']['sprites'] = 'EXT:t3skin/stylesheets/sprites/';
 
-       /** Setting up backend styles and colors */
-       $TBE_STYLES['colorschemes'][0] = '-|class-main1,-|class-main2,-|class-main3,-|class-main4,-|class-main5';
-       $TBE_STYLES['colorschemes'][1] = '-|class-main11,-|class-main12,-|class-main13,-|class-main14,-|class-main15';
-       $TBE_STYLES['colorschemes'][2] = '-|class-main21,-|class-main22,-|class-main23,-|class-main24,-|class-main25';
-       $TBE_STYLES['colorschemes'][3] = '-|class-main31,-|class-main32,-|class-main33,-|class-main34,-|class-main35';
-       $TBE_STYLES['colorschemes'][4] = '-|class-main41,-|class-main42,-|class-main43,-|class-main44,-|class-main45';
-       $TBE_STYLES['colorschemes'][5] = '-|class-main51,-|class-main52,-|class-main53,-|class-main54,-|class-main55';
-       $TBE_STYLES['styleschemes'][0]['all'] = 'CLASS: formField';
-       $TBE_STYLES['styleschemes'][1]['all'] = 'CLASS: formField1';
-       $TBE_STYLES['styleschemes'][2]['all'] = 'CLASS: formField2';
-       $TBE_STYLES['styleschemes'][3]['all'] = 'CLASS: formField3';
-       $TBE_STYLES['styleschemes'][4]['all'] = 'CLASS: formField4';
-       $TBE_STYLES['styleschemes'][5]['all'] = 'CLASS: formField5';
-       $TBE_STYLES['styleschemes'][0]['check'] = 'CLASS: checkbox';
-       $TBE_STYLES['styleschemes'][1]['check'] = 'CLASS: checkbox';
-       $TBE_STYLES['styleschemes'][2]['check'] = 'CLASS: checkbox';
-       $TBE_STYLES['styleschemes'][3]['check'] = 'CLASS: checkbox';
-       $TBE_STYLES['styleschemes'][4]['check'] = 'CLASS: checkbox';
-       $TBE_STYLES['styleschemes'][5]['check'] = 'CLASS: checkbox';
-       $TBE_STYLES['styleschemes'][0]['radio'] = 'CLASS: radio';
-       $TBE_STYLES['styleschemes'][1]['radio'] = 'CLASS: radio';
-       $TBE_STYLES['styleschemes'][2]['radio'] = 'CLASS: radio';
-       $TBE_STYLES['styleschemes'][3]['radio'] = 'CLASS: radio';
-       $TBE_STYLES['styleschemes'][4]['radio'] = 'CLASS: radio';
-       $TBE_STYLES['styleschemes'][5]['radio'] = 'CLASS: radio';
-       $TBE_STYLES['styleschemes'][0]['select'] = 'CLASS: select';
-       $TBE_STYLES['styleschemes'][1]['select'] = 'CLASS: select';
-       $TBE_STYLES['styleschemes'][2]['select'] = 'CLASS: select';
-       $TBE_STYLES['styleschemes'][3]['select'] = 'CLASS: select';
-       $TBE_STYLES['styleschemes'][4]['select'] = 'CLASS: select';
-       $TBE_STYLES['styleschemes'][5]['select'] = 'CLASS: select';
-       $TBE_STYLES['borderschemes'][0] = array('', '', '', 'wrapperTable');
-       $TBE_STYLES['borderschemes'][1] = array('', '', '', 'wrapperTable1');
-       $TBE_STYLES['borderschemes'][2] = array('', '', '', 'wrapperTable2');
-       $TBE_STYLES['borderschemes'][3] = array('', '', '', 'wrapperTable3');
-       $TBE_STYLES['borderschemes'][4] = array('', '', '', 'wrapperTable4');
-       $TBE_STYLES['borderschemes'][5] = array('', '', '', 'wrapperTable5');
-
        // Setting the relative path to the extension in temp. variable:
        $temp_eP = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY);