[TASK] Replace EXT:t3skin references for icons where possible 09/43609/4
authorFrank Nägler <frank.naegler@typo3.org>
Mon, 28 Sep 2015 09:32:58 +0000 (11:32 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 28 Sep 2015 10:12:08 +0000 (12:12 +0200)
Resolves: #70148
Releases: master
Change-Id: Ia7e48bd185d691a0dd5e02c2aa178567d1e5ff0b
Reviewed-on: http://review.typo3.org/43609
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
14 files changed:
typo3/sysext/compatibility6/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/core/Classes/Imaging/IconRegistry.php
typo3/sysext/core/Configuration/TCA/pages.php
typo3/sysext/css_styled_content/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/felogin/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/fluid_styled_content/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/frontend/Configuration/TCA/sys_domain.php
typo3/sysext/frontend/Configuration/TCA/sys_template.php
typo3/sysext/frontend/Configuration/TCA/tt_content.php
typo3/sysext/mediace/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/t3skin/ext_tables.php
typo3/sysext/workspaces/Configuration/TCA/sys_workspace.php
typo3/sysext/workspaces/Configuration/TCA/sys_workspace_stage.php

index e1ce513..bbc8022 100644 (file)
@@ -312,7 +312,7 @@ $GLOBALS['TCA']['tt_content']['palettes']['searchform'] = array(
 $additionalCTypeItem = array(
        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.9',
        'search',
-       'EXT:t3skin/icons/gfx/i/tt_content_search.gif'
+       'content-special-indexed_search'
 );
 
 $existingCTypeItems = $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'];
@@ -366,7 +366,7 @@ if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) {
                array(
                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.8',
                        'mailform',
-                       'EXT:t3skin/icons/gfx/i/tt_content_form.gif'
+                       'content-elements-mailform'
                ),
                'search',
                'before'
@@ -402,4 +402,4 @@ if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('form')) {
        $GLOBALS['TCA']['tt_content']['palettes']['mailform'] = array(
                'showitem' => 'pages;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:pages.ALT.mailform, --linebreak--, subheader;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:subheader.ALT.mailform_formlabel',
        );
-}
\ No newline at end of file
+}
index b668b5b..cb5f0de 100644 (file)
@@ -228,9 +228,9 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
                        )
                ),
                'apps-pagetree-page-mountpoint' => array(
-                       'provider' => BitmapIconProvider::class,
+                       'provider' => SvgIconProvider::class,
                        'options' => array(
-                               'source' => 'EXT:t3skin/images/icons/apps/pagetree-page-mountpoint.png',
+                               'source' => 'EXT:backend/Resources/Public/Icons/App/apps-filetree-mount.svg',
                        )
                ),
                'apps-pagetree-page-mountpoint-hideinmenu' => array(
index 56a95bc..107f654 100644 (file)
@@ -77,12 +77,12 @@ return array(
                                        array(
                                                'LLL:EXT:lang/locallang_tca.xlf:doktype.I.0',
                                                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT,
-                                               'EXT:t3skin/icons/gfx/i/pages.gif'
+                                               'apps-pagetree-page-default'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.doktype.I.4',
                                                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_BE_USER_SECTION,
-                                               'EXT:t3skin/icons/gfx/i/be_users_section.gif'
+                                               'apps-pagetree-page-backend-users'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.doktype.div.link',
@@ -91,17 +91,17 @@ return array(
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.doktype.I.2',
                                                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT,
-                                               'EXT:t3skin/icons/gfx/i/pages_shortcut.gif'
+                                               'apps-pagetree-page-shortcut'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.doktype.I.5',
                                                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT,
-                                               'EXT:t3skin/icons/gfx/i/pages_mountpoint.gif'
+                                               'apps-pagetree-page-mountpoint'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.doktype.I.8',
                                                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK,
-                                               'EXT:t3skin/icons/gfx/i/pages_link.gif'
+                                               'apps-pagetree-page-shortcut-external'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.doktype.div.special',
@@ -110,17 +110,17 @@ return array(
                                        array(
                                                'LLL:EXT:lang/locallang_tca.xlf:doktype.I.folder',
                                                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER,
-                                               'EXT:t3skin/icons/gfx/i/sysf.gif'
+                                               'apps-pagetree-folder-default'
                                        ),
                                        array(
                                                'LLL:EXT:lang/locallang_tca.xlf:doktype.I.2',
                                                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER,
-                                               'EXT:t3skin/icons/gfx/i/recycler.gif'
+                                               'apps-filetree-folder-recycler'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.doktype.I.7',
                                                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER,
-                                               'EXT:t3skin/icons/gfx/i/spacer_icon.gif'
+                                               'apps-pagetree-spacer'
                                        )
                                ),
                                'default' => (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT,
@@ -719,7 +719,7 @@ return array(
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:pages.module.I.4',
                                                'fe_users',
-                                               'EXT:t3skin/icons/gfx/i/fe_users.gif'
+                                               'apps-pagetree-folder-contains-fe_users'
                                        )
                                ),
                                'default' => '',
index 235dc1d..f19aba1 100644 (file)
@@ -373,17 +373,17 @@ array_splice(
                array(
                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.1',
                        'text',
-                       'EXT:t3skin/icons/gfx/i/tt_content.gif'
+                       'content-text'
                ),
                array(
                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.2',
                        'textpic',
-                       'EXT:t3skin/icons/gfx/i/tt_content_textpic.gif'
+                       'content-textpic'
                ),
                array(
                        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.3',
                        'image',
-                       'EXT:t3skin/icons/gfx/i/tt_content_image.gif'
+                       'content-image'
                )
        )
 );
index 3f229d3..188ca92 100644 (file)
@@ -14,7 +14,7 @@ call_user_func(function() {
        $additionalCTypeItem = array(
                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.10',
                'login',
-               'EXT:t3skin/icons/gfx/i/tt_content_login.gif'
+               'content-elements-login'
        );
 
        $existingCTypeItems = $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'];
index e31638e..ef39b34 100644 (file)
@@ -13,7 +13,7 @@ call_user_func(function() {
                [
                        $languageFilePrefix . 'tt_content.CType.textmedia',
                        'textmedia',
-                       'EXT:t3skin/icons/gfx/i/tt_content_textpic.gif'
+                       'content-textpic'
                ],
                'header',
                'after'
index ba10277..2aca065 100644 (file)
@@ -3,14 +3,13 @@ defined('TYPO3_MODE') or die();
 
 // add an CType element "mailform"
 $GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['mailform'] = 'mimetypes-x-content-form';
-$GLOBALS['TCA']['tt_content']['ctrl']['typeicons']['mailform'] = 'EXT:t3skin/icons/gfx/i/tt_content_form.gif';
 
 // check if there is already a forms tab and add the item after that, otherwise
 // add the tab item as well
 $additionalCTypeItem = array(
        'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.8',
        'mailform',
-       'EXT:t3skin/icons/gfx/i/tt_content_form.gif'
+       'content-elements-mailform'
 );
 
 $existingCTypeItems = $GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'];
index b83c504..d8ab862 100644 (file)
@@ -7,7 +7,7 @@ return array(
                'cruser_id' => 'cruser_id',
                'sortby' => 'sorting',
                'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain',
-               'iconfile' => 'EXT:t3skin/icons/gfx/i/domain.gif',
+               'iconfile' => 'tcarecords-sys_domain-default',
                'enablecolumns' => array(
                        'disabled' => 'hidden'
                ),
index 76f50a5..9c547c6 100644 (file)
@@ -14,7 +14,7 @@ return array(
                'delete' => 'deleted',
                'adminOnly' => 1,
                // Only admin, if any
-               'iconfile' => 'EXT:t3skin/icons/gfx/i/template.gif',
+               'iconfile' => 'tcarecords-sys_template-default',
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                        'starttime' => 'starttime',
index 9b2e509..1eb6ef1 100644 (file)
@@ -65,7 +65,7 @@ return array(
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.0',
                                                'header',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_header.gif'
+                                               'content-header'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.lists',
@@ -74,17 +74,17 @@ return array(
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.4',
                                                'bullets',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_bullets.gif'
+                                               'content-bullets'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.5',
                                                'table',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_table.gif'
+                                               'content-table'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.6',
                                                'uploads',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_uploads.gif'
+                                               'content-special-uploads'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.div.special',
@@ -93,27 +93,27 @@ return array(
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.12',
                                                'menu',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_menu.gif'
+                                               'content-special-menu'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.13',
                                                'shortcut',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_shortcut.gif'
+                                               'content-special-shortcut'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.14',
                                                'list',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_list.gif'
+                                               'content-plugin'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.16',
                                                'div',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_div.gif'
+                                               'content-special-div'
                                        ),
                                        array(
                                                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.17',
                                                'html',
-                                               'EXT:t3skin/icons/gfx/i/tt_content_html.gif'
+                                               'content-special-html'
                                        )
                                ),
                                'default' => 'header',
index 40fe7a8..d29d81b 100644 (file)
@@ -13,7 +13,7 @@ $GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['media'] = 'mimetypes-
        array(
                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.7',
                'multimedia',
-               'EXT:t3skin/icons/gfx/i/tt_content_mm.gif'
+               'content-special-media'
        ),
        'menu', 'before'
 );
@@ -21,7 +21,7 @@ $GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['media'] = 'mimetypes-
        array(
                'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:CType.I.18',
                'media',
-               'EXT:t3skin/icons/gfx/i/tt_content_mm.gif'
+               'content-special-media'
        ),
        'menu', 'before'
 );
index e8bd16e..9ab4899 100644 (file)
@@ -30,9 +30,9 @@ 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'] = 'EXT:t3skin/icons/gfx/i/_icon_ftp_2.gif';
+       $GLOBALS['TCA']['sys_filemounts']['ctrl']['iconfile'] = 'apps-filetree-mount';
 
-       $GLOBALS['TCA']['pages']['columns']['module']['config']['items'][1][2] = 'EXT:t3skin/images/icons/status/user-frontend.png';
+       $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';
index 0b6da47..947ca47 100644 (file)
@@ -7,7 +7,7 @@ return array(
                'adminOnly' => 1,
                'rootLevel' => 1,
                'delete' => 'deleted',
-               'iconfile' => 'EXT:t3skin/icons/gfx/i/sys_workspace.png',
+               'iconfile' => 'mimetypes-x-sys_workspace',
                'typeicon_classes' => array(
                        'default' => 'mimetypes-x-sys_workspace'
                ),
index 9f36cb9..fd4813c 100644 (file)
@@ -9,7 +9,7 @@ return array(
                'rootLevel' => 1,
                'hideTable' => TRUE,
                'delete' => 'deleted',
-               'iconfile' => 'EXT:t3skin/icons/gfx/i/sys_workspace.png',
+               'iconfile' => 'mimetypes-x-sys_workspace',
                'typeicon_classes' => array(
                        'default' => 'mimetypes-x-sys_workspace'
                ),