[TASK] Replace icon by IconFactory: status-status-locked 18/43218/2
authorWouter Wolters <typo3@wouterwolters.nl>
Fri, 11 Sep 2015 18:20:32 +0000 (20:20 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sat, 12 Sep 2015 10:26:04 +0000 (12:26 +0200)
Resolves: #69691
Releases: master
Change-Id: I7fb6aaf1211b94aec9628b68f0e40e42ce9204bd
Reviewed-on: http://review.typo3.org/43218
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index 9a6bd6a..12a2ad0 100644 (file)
@@ -1291,7 +1291,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList {
                                $href = BackendUtility::getModuleUrl('system_BeuserTxPermission') . '&id=' . $row['uid'] . '&return_id=' . $row['uid'] . '&edit=1';
                                $permsAction = '<a class="btn btn-default" href="' . htmlspecialchars($href) . '" title="'
                                        . $this->getLanguageService()->getLL('permissions', TRUE) . '">'
-                                       . IconUtility::getSpriteIcon('status-status-locked') . '</a>';
+                                       . $this->iconFactory->getIcon('status-status-locked', Icon::SIZE_SMALL)->render() . '</a>';
                                $this->addActionToCellGroup($cells, $permsAction, 'perms');
                        }
                        // "New record after" link (ONLY if the records in the table are sorted by a "sortby"-row