From d16e47e1f02c4899c701258acf8c89c7baedf1f0 Mon Sep 17 00:00:00 2001 From: Benjamin Kott Date: Sun, 6 Sep 2015 23:16:57 +0200 Subject: [PATCH] [TASK] Replace icon by IconFactory: actions-page-new MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: #69569 Releases: master Change-Id: I11e6434c9bb4007924dd309af5c6c1739222685e Reviewed-on: http://review.typo3.org/43076 Reviewed-by: Frank Nägler Tested-by: Frank Nägler Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn --- Classes/FrontendEditPanel.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classes/FrontendEditPanel.php b/Classes/FrontendEditPanel.php index 5f13171..9ed362c 100644 --- a/Classes/FrontendEditPanel.php +++ b/Classes/FrontendEditPanel.php @@ -133,7 +133,9 @@ class FrontendEditPanel { } if (isset($allow['new'])) { if ($table === 'pages') { - $icon = IconUtility::getSpriteIcon('actions-page-new', array('title' => $this->backendUser->extGetLL('p_newSubpage'))); + $icon = '' + . $this->iconFactory->getIcon('actions-page-new', Icon::SIZE_SMALL) + . ''; $panel .= $this->editPanelLinkWrap($icon, $formName, 'new', $currentRecord, ''); } else { $icon = IconUtility::getSpriteIcon('actions-document-new', array('title' => $this->backendUser->extGetLL('p_newRecordAfter')));