From 462212ac90a0d65f742371cd0c8611dce8092a6c Mon Sep 17 00:00:00 2001 From: Markus Guenther <mail@markus-guenther.de> Date: Fri, 7 Aug 2015 13:34:10 +0200 Subject: [PATCH] [TASK] Replace sprite icon "actions-document-export-t3d" with the new IconFactory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | 2 +- .../sysext/recordlist/Classes/RecordList/DatabaseRecordList.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/typo3/sysext/impexp/Classes/Clickmenu.php b/typo3/sysext/impexp/Classes/Clickmenu.php index 7d77627a4966..29e532bd957b 100644 --- a/typo3/sysext/impexp/Classes/Clickmenu.php +++ b/typo3/sysext/impexp/Classes/Clickmenu.php @@ -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, diff --git a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php index 9f94d8ee0ac3..85ac4215fec0 100644 --- a/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php +++ b/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php @@ -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 -- GitLab