[TASK] Replace revert_* Icons in RecordHistory.php with Buttons 12/41512/2
authorJan Helke <typo3@helke.de>
Thu, 16 Jul 2015 20:19:48 +0000 (22:19 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 16 Jul 2015 21:49:36 +0000 (23:49 +0200)
As the icons are not longer used, they could also be removed.

Resolves: #68259
Releated: #68026
Releases: master
Change-Id: If1326b64a89b6649cc867e17a3c4121961701e40
Reviewed-on: http://review.typo3.org/41512
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/History/RecordHistory.php
typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_0.gif [deleted file]
typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_1.gif [deleted file]
typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_2.gif [deleted file]

index ddc06dd..c18740e 100644 (file)
@@ -746,7 +746,7 @@ class RecordHistory {
         * @return string HTML output
         */
        public function createRollbackLink($key, $alt = '', $type = 0) {
-               return $this->linkPage('<img ' . IconUtility::skinImg('', ('sysext/backend/Resources/Public/Images/RecordHistory/revert_' . $type . '.gif'), 'width="33" height="33"') . ' alt="' . $alt . '" title="' . $alt . '" align="middle" />', array('rollbackFields' => $key));
+               return $this->linkPage('<span class="btn btn-default">' . $alt . '</span>', array('rollbackFields' => $key));
        }
 
        /**
diff --git a/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_0.gif b/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_0.gif
deleted file mode 100644 (file)
index d263ad6..0000000
Binary files a/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_0.gif and /dev/null differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_1.gif b/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_1.gif
deleted file mode 100644 (file)
index d3ec09d..0000000
Binary files a/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_1.gif and /dev/null differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_2.gif b/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_2.gif
deleted file mode 100644 (file)
index 41b7cdc..0000000
Binary files a/typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_2.gif and /dev/null differ