[TASK] Remove unnecessary t3skin icon override settings 65/45665/2
authorBenni Mack <benni@typo3.org>
Thu, 7 Jan 2016 21:27:33 +0000 (22:27 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 8 Jan 2016 07:55:30 +0000 (08:55 +0100)
EXT:t3skin overrides some TCA icons which
can now be set directly, so the hacks for the old icon
API are not necessary anymore.

Resolves: #72577
Releases: master
Change-Id: Id21076d07f059b8203284bafecabce738c0f0a4f
Reviewed-on: https://review.typo3.org/45665
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>
typo3/sysext/core/Configuration/TCA/pages.php
typo3/sysext/core/Configuration/TCA/sys_filemounts.php
typo3/sysext/t3skin/ext_tables.php

index 71c4771..7fc81ed 100644 (file)
@@ -727,7 +727,7 @@ return array(
                     array(
                         'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.module.I.4',
                         'fe_users',
-                        'apps-pagetree-folder-contains-fe_users'
+                        'status-user-frontend'
                     )
                 ),
                 'default' => '',
index c3a63da..b4f6c6f 100644 (file)
@@ -10,6 +10,7 @@ return array(
         'adminOnly' => 1,
         'rootLevel' => 1,
         'delete' => 'deleted',
+        'iconfile' => 'apps-filetree-mount',
         'enablecolumns' => array(
             'disabled' => 'hidden'
         ),
index 11aa49c..fef2ce5 100644 (file)
@@ -12,11 +12,6 @@ if (TYPO3_MODE === 'BE' || TYPO3_MODE === 'FE' && isset($GLOBALS['BE_USER'])) {
         )
     );
 
-    // Changing icon for filemounts, needs to be done here as overwriting the original icon would also change the filelist tree's root icon
-    $GLOBALS['TCA']['sys_filemounts']['ctrl']['iconfile'] = 'apps-filetree-mount';
-
-    $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][1][2] = 'status-user-frontend';
-
     // extJS theme
     $GLOBALS['TBE_STYLES']['extJS']['theme'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('t3skin') . 'extjs/xtheme-t3skin.css';
 }