mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-09 17:26:09 +01:00
[TASK] Replace icon by IconFactory: actions-page-new
Resolves: #69569 Releases: master Change-Id: I11e6434c9bb4007924dd309af5c6c1739222685e Reviewed-on: http://review.typo3.org/43076 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>
This commit is contained in:
parent
d1e548c91c
commit
d16e47e1f0
1 changed files with 3 additions and 1 deletions
|
@ -133,7 +133,9 @@ class FrontendEditPanel {
|
||||||
}
|
}
|
||||||
if (isset($allow['new'])) {
|
if (isset($allow['new'])) {
|
||||||
if ($table === 'pages') {
|
if ($table === 'pages') {
|
||||||
$icon = IconUtility::getSpriteIcon('actions-page-new', array('title' => $this->backendUser->extGetLL('p_newSubpage')));
|
$icon = '<span title="' . htmlspecialchars($this->backendUser->extGetLL('p_newSubpage')) . '">'
|
||||||
|
. $this->iconFactory->getIcon('actions-page-new', Icon::SIZE_SMALL)
|
||||||
|
. '</span>';
|
||||||
$panel .= $this->editPanelLinkWrap($icon, $formName, 'new', $currentRecord, '');
|
$panel .= $this->editPanelLinkWrap($icon, $formName, 'new', $currentRecord, '');
|
||||||
} else {
|
} else {
|
||||||
$icon = IconUtility::getSpriteIcon('actions-document-new', array('title' => $this->backendUser->extGetLL('p_newRecordAfter')));
|
$icon = IconUtility::getSpriteIcon('actions-document-new', array('title' => $this->backendUser->extGetLL('p_newRecordAfter')));
|
||||||
|
|
Loading…
Reference in a new issue