mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-12-22 17:46:08 +01:00
[FOLLOWUP][TASK] Replace sprite icon "actions-document-new" with the new IconFactory
Replaces all IconUtility::getSpriteIcon calls for the icon actions-document-new with the new IconFactory. Resolves: #68806 Releases: master Change-Id: Idf7ea308b316101a77c099cdba0fe7d4e8a3ee2a Reviewed-on: http://review.typo3.org/43193 Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Frank Nägler <frank.naegler@typo3.org> Tested-by: Frank Nägler <frank.naegler@typo3.org>
This commit is contained in:
parent
03e3d4dd8e
commit
7ee2b77c46
1 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,9 @@ class FrontendEditPanel {
|
|||
. '</span>';
|
||||
$panel .= $this->editPanelLinkWrap($icon, $formName, 'new', $currentRecord, '');
|
||||
} else {
|
||||
$icon = IconUtility::getSpriteIcon('actions-document-new', array('title' => $this->backendUser->extGetLL('p_newRecordAfter')));
|
||||
$icon = '<span title="' . htmlspecialchars($this->backendUser->extGetLL('p_newRecordAfter')) . '">'
|
||||
. $this->iconFactory->getIcon('actions-document-new', Icon::SIZE_SMALL)
|
||||
. '</span>';
|
||||
$panel .= $this->editPanelLinkWrap($icon, $formName, 'new', $currentRecord, '', $newUID);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue