[TASK] Move RecordHistory icons from typo3/gfx to ext:backend 83/40983/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 8 Jul 2015 07:32:30 +0000 (09:32 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 8 Jul 2015 08:43:22 +0000 (10:43 +0200)
Resolves: #67973
Releases: master
Change-Id: I2e5f0443c2a7afe1ffaac6e146f015afb1fae360
Reviewed-on: http://review.typo3.org/40983
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/gfx/revert_0.gif [deleted file]
typo3/gfx/revert_1.gif [deleted file]
typo3/gfx/revert_2.gif [deleted file]
typo3/sysext/backend/Classes/History/RecordHistory.php
typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_0.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_1.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/RecordHistory/revert_2.gif [new file with mode: 0644]

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