mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-21 22:16:10 +01:00
[FOLLOWUP][TASK] Replace sprite icon "actions-edit-delete" with the new IconFactory
Replaces all IconUtility::getSpriteIcon calls for the icon actions-edit-delete with the new IconFactory. Resolves: #69670 Releases: master Change-Id: I719f8d78c0c9c5623f793e9d469f5595cc54127d Reviewed-on: http://review.typo3.org/43195 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
7fbb9d73e0
commit
03e3d4dd8e
1 changed files with 3 additions and 1 deletions
|
@ -145,7 +145,9 @@ class FrontendEditPanel {
|
|||
// Hiding in workspaces because implementation is incomplete
|
||||
// Hiding for localizations because it is unknown what should be the function in that case
|
||||
if (isset($allow['delete']) && $this->backendUser->workspace === 0 && !$dataArr['_LOCALIZED_UID']) {
|
||||
$icon = IconUtility::getSpriteIcon('actions-edit-delete', array('title' => $this->backendUser->extGetLL('p_delete')));
|
||||
$icon = '<span title="' . htmlspecialchars($this->backendUser->extGetLL('p_delete')) . '">'
|
||||
. $this->iconFactory->getIcon('actions-edit-delete', Icon::SIZE_SMALL)
|
||||
. '</span>';
|
||||
$panel .= $this->editPanelLinkWrap($icon, $formName, 'delete', '', $this->backendUser->extGetLL('p_deleteConfirm'));
|
||||
}
|
||||
// Final
|
||||
|
|
Loading…
Reference in a new issue