From d1e548c91cc3e8677a4612fd929a8d51c5d3ab8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Na=CC=88gler?= Date: Mon, 7 Sep 2015 13:21:38 +0200 Subject: [PATCH] [TASK] Replaced icon with IconFactory: actions-move-* Resolves: #69587 Releases: master Change-Id: Ife2606f2c663a0b3df4bd7e140d5344043d5357d Reviewed-on: http://review.typo3.org/43090 Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn Reviewed-by: Anja Leichsenring Tested-by: Anja Leichsenring --- Classes/FrontendEditPanel.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index 3f6b022..5f13171 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -18,6 +18,7 @@ use TYPO3\CMS\Backend\Utility\BackendUtility; use TYPO3\CMS\Backend\Utility\IconUtility; use TYPO3\CMS\Backend\FrontendBackendUserAuthentication; use TYPO3\CMS\Core\Database\DatabaseConnection; +use TYPO3\CMS\Core\Imaging\Icon; use TYPO3\CMS\Core\Imaging\IconFactory; use TYPO3\CMS\Core\Type\Bitmask\JsConfirmation; use TYPO3\CMS\Core\Utility\GeneralUtility; @@ -114,9 +115,9 @@ class FrontendEditPanel { } // Hiding in workspaces because implementation is incomplete if (isset($allow['move']) && $sortField && $this->backendUser->workspace === 0) { - $icon = IconUtility::getSpriteIcon('actions-move-up', array('title' => $this->backendUser->extGetLL('p_moveUp'))); + $icon = '' . $this->iconFactory->getIcon('actions-move-up', Icon::SIZE_SMALL) . ''; $panel .= $this->editPanelLinkWrap($icon, $formName, 'up'); - $icon = IconUtility::getSpriteIcon('actions-move-down', array('title' => $this->backendUser->extGetLL('p_moveDown'))); + $icon = '' . $this->iconFactory->getIcon('actions-move-down', Icon::SIZE_SMALL) . ''; $panel .= $this->editPanelLinkWrap($icon, $formName, 'down'); } // Hiding in workspaces because implementation is incomplete