[TASK] Replace sprite icon "actions-document-export-t3d" with the new IconFactory 66/42366/2
authorMarkus Guenther <mail@markus-guenther.de>
Fri, 7 Aug 2015 11:34:10 +0000 (13:34 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 7 Aug 2015 11:49:40 +0000 (13:49 +0200)
Replaces all IconUtility::getSpriteIcon calls for the icon
actions-document-export-t3d with the new IconFactory.

Change-Id: Id91c37ae9ba94fb98623995e1c071f4290e279fc
Resolves: #68834
Releases: master
Reviewed-on: http://review.typo3.org/42366
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/impexp/Classes/Clickmenu.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index 7d77627..29e532b 100644 (file)
@@ -64,7 +64,7 @@ class Clickmenu {
                                $urlParameters['tx_impexp']['external_ref']['tables'][] = '_ALL';
                        }
                        $url = \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('xMOD_tximpexp', $urlParameters);
-                       $localItems[] = $backRef->linkItem($GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->getLLL('export', $LL)), $backRef->excludeIcon(\TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-export-t3d')), $backRef->urlRefForCM($url), 1);
+                       $localItems[] = $backRef->linkItem($GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->getLLL('export', $LL)), $backRef->excludeIcon($this->iconFactory->getIcon('actions-document-export-t3d', Icon::SIZE_SMALL)), $backRef->urlRefForCM($url), 1);
                        if ($table == 'pages') {
                                $urlParameters = array(
                                        'id' => $uid,
index 9f94d8e..85ac421 100644 (file)
@@ -305,7 +305,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList {
                                        $buttons['export'] = '<a href="' . htmlspecialchars($url . '&tx_impexp[list][]='
                                                        . rawurlencode($this->table . ':' . $this->id)) . '" title="'
                                                . $lang->sL('LLL:EXT:lang/locallang_core.xlf:rm.export', TRUE) . '">'
-                                               . IconUtility::getSpriteIcon('actions-document-export-t3d') . '</a>';
+                                               . $this->iconFactory->getIcon('actions-document-export-t3d', Icon::SIZE_SMALL) . '</a>';
                                }
                        }
                        // Reload