[BUGFIX] Rename calls for action-version-open to ...page-open 36/44336/2
authorJan Helke <typo3@helke.de>
Wed, 28 Oct 2015 17:16:01 +0000 (18:16 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 28 Oct 2015 17:31:03 +0000 (18:31 +0100)
Resolves: #71060
Releases: master
Change-Id: Ia1d1354c90440078f306b95fb73fb07b1d13bccf
Reviewed-on: https://review.typo3.org/44336
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/version/Classes/ClickMenu/VersionClickMenu.php
typo3/sysext/version/Classes/View/VersionView.php

index eff18a9..f9ae326 100644 (file)
@@ -1445,7 +1445,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
                     ));
                     $versionAction = '<a class="btn btn-default" href="' . htmlspecialchars($href) . '" title="'
                         . $this->getLanguageService()->getLL('displayVersions', true) . '">'
-                        . $this->iconFactory->getIcon('actions-version-open', Icon::SIZE_SMALL)->render() . '</a>';
+                        . $this->iconFactory->getIcon('actions-version-page-open', Icon::SIZE_SMALL)->render() . '</a>';
                     $this->addActionToCellGroup($cells, $versionAction, 'version');
                 }
             }
index 713dd00..2263c6f 100644 (file)
@@ -60,7 +60,7 @@ class VersionClickMenu
             $url = \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('web_txversionM1', array('table' => $table, 'uid' => $uid));
             $localItems[] = $backRef->linkItem(
                 $GLOBALS['LANG']->getLLL('title', $LL),
-                $backRef->excludeIcon($this->iconFactory->getIcon('actions-version-open', Icon::SIZE_SMALL)->render()),
+                $backRef->excludeIcon($this->iconFactory->getIcon('actions-version-page-open', Icon::SIZE_SMALL)->render()),
                 $backRef->urlRefForCM($url),
                 true
             );
index 1881ace..5fe2493 100644 (file)
@@ -64,7 +64,7 @@ class VersionView
                 // Add management link:
                 $management = '
                                        <a class="btn btn-default" href="' . htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('web_txversionM1', array('table' => 'pages', 'uid' => $onlineId))) . '">
-                                               ' . $iconFactory->getIcon('actions-version-open', Icon::SIZE_SMALL)->render() . '
+                                               ' . $iconFactory->getIcon('actions-version-page-open', Icon::SIZE_SMALL)->render() . '
                                                ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:ver.mgm', true) . '
                                        </a>';
                 // Create onchange handler: