[BUGFIX] Fix removed TCA icon options 26/48726/2
authorStanislas Rolland <typo3@sjbr.ca>
Thu, 30 Jun 2016 00:57:18 +0000 (20:57 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Thu, 30 Jun 2016 01:06:18 +0000 (03:06 +0200)
static_countries.php, static_territories.php, sys_language.php and
tx_rtehtmlarea_acronym.php with noIconsBelowSelect

Resolves: #76640
Change-Id: I856fd0ce3034082017dfa2f3c70a4f444dcf672b
Reviewed-on: https://review.typo3.org/48726
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
ChangeLog
Configuration/TCA/Overrides/static_countries.php
Configuration/TCA/Overrides/static_territories.php
Configuration/TCA/Overrides/sys_language.php
Configuration/TCA/Overrides/tx_rtehtmlarea_acronym.php
Configuration/TCA/static_countries.php
Configuration/TCA/static_territories.php

index 8cbc012..1c1ff8f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-29  Stanislas Rolland  <typo3(arobas)sjbr.ca>
+
+       * Resolves #76640: Fix removed TCA icon options
+
 2016-02-19  Stanislas Rolland  <typo3(arobas)sjbr.ca>
 
        * Update version to 6.3.9
index 7dd0b91..b6b9f28 100644 (file)
@@ -5,6 +5,8 @@ if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(
        $GLOBALS['TCA']['static_countries']['ctrl']['label_userFunc'] = 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\ElementRenderingHelper->addIsoCodeToLabel';
        $GLOBALS['TCA']['static_countries']['ctrl']['iconfile'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('static_info_tables') . 'Resources/Public/Images/Icons/static_countries.svg';
        $GLOBALS['TCA']['static_countries']['columns']['cn_parent_territory_uid']['config']['itemsProcFunc'] = 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\ElementRenderingHelper->translateTerritoriesSelector';
+       $GLOBALS['TCA']['static_countries']['columns']['cn_parent_territory_uid']['config']['noIconsBelowSelect'] = 1;
        $GLOBALS['TCA']['static_countries']['columns']['cn_currency_uid']['config']['itemsProcFunc'] = 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\ElementRenderingHelper->translateCurrenciesSelector';
        $GLOBALS['TCA']['static_countries']['columns']['cn_currency_uid']['config']['wizards']['suggest']['default'] = array('receiverClass' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\SuggestReceiver');
+       $GLOBALS['TCA']['static_countries']['columns']['cn_currency_uid']['config']['noIconsBelowSelect'] = 1;
 }
\ No newline at end of file
index 5ca0845..c2f4126 100644 (file)
@@ -5,4 +5,5 @@ if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(
        $GLOBALS['TCA']['static_territories']['ctrl']['label_userFunc'] = 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\ElementRenderingHelper->addIsoCodeToLabel';
        $GLOBALS['TCA']['static_territories']['ctrl']['iconfile'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('static_info_tables') . 'Resources/Public/Images/Icons/static_territories.svg';
        $GLOBALS['TCA']['static_territories']['columns']['tr_parent_territory_uid']['config']['itemsProcFunc'] = 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\ElementRenderingHelper->translateTerritoriesSelector';
+       $GLOBALS['TCA']['static_territories']['columns']['tr_parent_territory_uid']['config']['noIconsBelowSelect'] = 1;
 }
\ No newline at end of file
index 18f8b5e..41fb947 100644 (file)
@@ -8,7 +8,6 @@ $GLOBALS['TCA']['sys_language']['columns']['static_lang_isocode'] = array(
        'config' => array(
                'type' => 'select',
                'renderType' => 'selectSingle',
-               'noIconsBelowSelect' => 1,
                'items' => array(
                        array('', 0)
                ),
@@ -35,4 +34,5 @@ if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(
 } else {
        $GLOBALS['TCA']['sys_language']['columns']['static_lang_isocode']['config']['itemsProcFunc'] = 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\ElementRenderingHelper->translateLanguagesSelector';
        $GLOBALS['TCA']['sys_language']['columns']['static_lang_isocode']['config']['wizards']['suggest']['default'] = array('receiverClass' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\SuggestReceiver');
+       $GLOBALS['TCA']['sys_language']['columns']['static_lang_isocode']['config']['noIconsBelowSelect'] = 1;
 }
\ No newline at end of file
index 14018a3..7244618 100644 (file)
@@ -20,7 +20,6 @@ if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(
                                'size' => 1,
                                'minitems' => 0,
                                'maxitems' => 1,
-                               'noIconsBelowSelect' => 1,
                                'wizards' => array(
                                        'suggest' => array(
                                                'type' => 'suggest',
index f4864db..97cba85 100644 (file)
@@ -66,7 +66,6 @@ return array(
                        'config' => array(
                                'type' => 'select',
                                'renderType' => 'selectSingle',
-                               'noIconsBelowSelect' => 1,
                                'items' => array(
                                        array('', 0),
                                ),
@@ -136,7 +135,6 @@ return array(
                        'config' => array(
                                'type' => 'select',
                                'renderType' => 'selectSingle',
-                               'noIconsBelowSelect' => 1,
                                'items' => array(
                                        array('', 0),
                                ),
index 5b400e6..d07389a 100644 (file)
@@ -44,7 +44,6 @@ return array(
                        'config' => array(
                                'type' => 'select',
                                'renderType' => 'selectSingle',
-                               'noIconsBelowSelect' => 1,
                                'items' => array(
                                        array('', 0),
                                ),