[TASK] Replace getSpriteIcon in PageLayoutController 43/43243/3
authorJan Helke <typo3@helke.de>
Sat, 12 Sep 2015 14:19:55 +0000 (16:19 +0200)
committerNicole Cordes <typo3@cordes.co>
Sat, 12 Sep 2015 15:45:32 +0000 (17:45 +0200)
One last occurance in this file.

Releases: master
Resolves: #69735
Change-Id: I9bd2e25bafd0091d0052c59ce4099553013aa724
Reviewed-on: http://review.typo3.org/43243
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/backend/Classes/Controller/PageLayoutController.php

index 0bb4cd9..4af8bee 100755 (executable)
@@ -1190,7 +1190,7 @@ class PageLayoutController {
                                        'uid' => $this->eRParts[1],
                                        'returnUrl' => GeneralUtility::getIndpEnv('REQUEST_URI')
                                ];
-                               $buttons['move_record'] = '<a href="' . htmlspecialchars(BackendUtility::getModuleUrl('move_element', $urlParameters)) . '">' . IconUtility::getSpriteIcon(('actions-' . ($this->eRParts[0] == 'tt_content' ? 'document' : 'page') . '-move'), array('class' => 'c-inputButton', 'title' => $lang->getLL(('move_' . ($this->eRParts[0] == 'tt_content' ? 'record' : 'page')), TRUE))) . '</a>';
+                               $buttons['move_record'] = '<a href="' . htmlspecialchars(BackendUtility::getModuleUrl('move_element', $urlParameters)) . '" title="' . $lang->getLL('move_' . ($this->eRParts[0] == 'tt_content' ? 'record' : 'page'), TRUE) . '">' . $this->iconFactory->getIcon('actions-' . ($this->eRParts[0] == 'tt_content' ? 'document' : 'page') . '-move', Icon::SIZE_SMALL)->render() . '</a>';
                        }
 
                        // Edit page properties and page language overlay icons