[TASK] Move overlay icons from typo3/gfx to ext:backend 75/40975/2
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 7 Jul 2015 18:02:15 +0000 (20:02 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Wed, 8 Jul 2015 06:50:53 +0000 (08:50 +0200)
Some unused overlay icons are removed.

icon_fatalerror.gif icon is removed too, the same icon
exists in ext:t3skin

Resolves: #67968
Releases: master
Change-Id: I27a882ff918e96268b910ffd90fd1d96f24ccd52
Reviewed-on: http://review.typo3.org/40975
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
22 files changed:
typo3/gfx/default.gif [deleted file]
typo3/gfx/icon_fatalerror.gif [deleted file]
typo3/gfx/overlay_accesssection.gif [deleted file]
typo3/gfx/overlay_deleted.gif [deleted file]
typo3/gfx/overlay_group.gif [deleted file]
typo3/gfx/overlay_hidden.gif [deleted file]
typo3/gfx/overlay_hidden_timing.gif [deleted file]
typo3/gfx/overlay_no_icon_found.gif [deleted file]
typo3/gfx/overlay_sub.gif [deleted file]
typo3/gfx/overlay_sub5.gif [deleted file]
typo3/gfx/overlay_timing.gif [deleted file]
typo3/sysext/backend/Classes/Utility/IconUtility.php
typo3/sysext/backend/Resources/Public/Images/Overlay/default.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_deleted.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_group.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden_timing.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_no_icon_found.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_sub5.gif [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_timing.gif [new file with mode: 0644]
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_icons.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3skin.css

diff --git a/typo3/gfx/default.gif b/typo3/gfx/default.gif
deleted file mode 100644 (file)
index 929d43e..0000000
Binary files a/typo3/gfx/default.gif and /dev/null differ
diff --git a/typo3/gfx/icon_fatalerror.gif b/typo3/gfx/icon_fatalerror.gif
deleted file mode 100644 (file)
index 78a5a63..0000000
Binary files a/typo3/gfx/icon_fatalerror.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_accesssection.gif b/typo3/gfx/overlay_accesssection.gif
deleted file mode 100644 (file)
index 838fead..0000000
Binary files a/typo3/gfx/overlay_accesssection.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_deleted.gif b/typo3/gfx/overlay_deleted.gif
deleted file mode 100644 (file)
index 51e7054..0000000
Binary files a/typo3/gfx/overlay_deleted.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_group.gif b/typo3/gfx/overlay_group.gif
deleted file mode 100644 (file)
index a012fd8..0000000
Binary files a/typo3/gfx/overlay_group.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_hidden.gif b/typo3/gfx/overlay_hidden.gif
deleted file mode 100644 (file)
index de82eec..0000000
Binary files a/typo3/gfx/overlay_hidden.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_hidden_timing.gif b/typo3/gfx/overlay_hidden_timing.gif
deleted file mode 100644 (file)
index bb099ba..0000000
Binary files a/typo3/gfx/overlay_hidden_timing.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_no_icon_found.gif b/typo3/gfx/overlay_no_icon_found.gif
deleted file mode 100644 (file)
index 9d9c9ef..0000000
Binary files a/typo3/gfx/overlay_no_icon_found.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_sub.gif b/typo3/gfx/overlay_sub.gif
deleted file mode 100644 (file)
index ba27e9b..0000000
Binary files a/typo3/gfx/overlay_sub.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_sub5.gif b/typo3/gfx/overlay_sub5.gif
deleted file mode 100644 (file)
index e8ed1d1..0000000
Binary files a/typo3/gfx/overlay_sub5.gif and /dev/null differ
diff --git a/typo3/gfx/overlay_timing.gif b/typo3/gfx/overlay_timing.gif
deleted file mode 100644 (file)
index d778b53..0000000
Binary files a/typo3/gfx/overlay_timing.gif and /dev/null differ
index 1251b6f..b9c2ef2 100644 (file)
@@ -398,7 +398,7 @@ class IconUtility {
                                                        $white = ImageColorAllocate($im, 255, 255, 255);
                                                        imagestring($im, 1, 1, 1, $user, $white);
                                                }
-                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'gfx/overlay_group.gif');
+                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_group.gif');
                                                if ($ol_im < 0) {
                                                        return $iconfile;
                                                }
@@ -409,19 +409,19 @@ class IconUtility {
                                                unset($ol_im);
                                                switch ($mode) {
                                                        case 'deleted':
-                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'gfx/overlay_deleted.gif');
+                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_deleted.gif');
                                                                break;
                                                        case 'futuretiming':
-                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'gfx/overlay_timing.gif');
+                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_timing.gif');
                                                                break;
                                                        case 'timing':
-                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'gfx/overlay_timing.gif');
+                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_timing.gif');
                                                                break;
                                                        case 'hiddentiming':
-                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'gfx/overlay_hidden_timing.gif');
+                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden_timing.gif');
                                                                break;
                                                        case 'no_icon_found':
-                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'gfx/overlay_no_icon_found.gif');
+                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_no_icon_found.gif');
                                                                break;
                                                        case 'disabled':
                                                                // is already greyed - nothing more
@@ -430,7 +430,7 @@ class IconUtility {
                                                        case 'hidden':
 
                                                        default:
-                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'gfx/overlay_hidden.gif');
+                                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden.gif');
                                                }
                                                if ($ol_im < 0) {
                                                        return $iconfile;
@@ -441,7 +441,7 @@ class IconUtility {
                                        }
                                        // Protect-section icon:
                                        if ($protectSection) {
-                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'gfx/overlay_sub5.gif');
+                                               $ol_im = self::imagecreatefrom($GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_sub5.gif');
                                                if ($ol_im < 0) {
                                                        return $iconfile;
                                                }
@@ -456,7 +456,7 @@ class IconUtility {
                                        return $iconfile;
                                }
                        } else {
-                               return $GLOBALS['BACK_PATH'] . 'gfx/default.gif';
+                               return $GLOBALS['BACK_PATH'] . 'typo3/sysext/backend/Resources/Public/Images/Overlay/default.gif';
                        }
                }
        }
diff --git a/typo3/sysext/backend/Resources/Public/Images/Overlay/default.gif b/typo3/sysext/backend/Resources/Public/Images/Overlay/default.gif
new file mode 100644 (file)
index 0000000..929d43e
Binary files /dev/null and b/typo3/sysext/backend/Resources/Public/Images/Overlay/default.gif differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_deleted.gif b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_deleted.gif
new file mode 100644 (file)
index 0000000..51e7054
Binary files /dev/null and b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_deleted.gif differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_group.gif b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_group.gif
new file mode 100644 (file)
index 0000000..a012fd8
Binary files /dev/null and b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_group.gif differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden.gif b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden.gif
new file mode 100644 (file)
index 0000000..de82eec
Binary files /dev/null and b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden.gif differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden_timing.gif b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden_timing.gif
new file mode 100644 (file)
index 0000000..bb099ba
Binary files /dev/null and b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_hidden_timing.gif differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_no_icon_found.gif b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_no_icon_found.gif
new file mode 100644 (file)
index 0000000..9d9c9ef
Binary files /dev/null and b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_no_icon_found.gif differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_sub5.gif b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_sub5.gif
new file mode 100644 (file)
index 0000000..e8ed1d1
Binary files /dev/null and b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_sub5.gif differ
diff --git a/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_timing.gif b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_timing.gif
new file mode 100644 (file)
index 0000000..d778b53
Binary files /dev/null and b/typo3/sysext/backend/Resources/Public/Images/Overlay/overlay_timing.gif differ
index 92dc963..dada49e 100644 (file)
@@ -5,7 +5,7 @@
        display: inline-block;
        position: relative;
        vertical-align: middle;
-       background-image: url('../../../../../../gfx/icon_fatalerror.gif');
+       background-image: url('../../../icons/gfx/icon_fatalerror.gif');
        background-repeat: no-repeat;
        margin-right: 2px;
        width: 16px;
index a6e62ec..f9b83fe 100644 (file)
@@ -11281,7 +11281,7 @@ a.badge-danger:focus {
   display: inline-block;
   position: relative;
   vertical-align: middle;
-  background-image: url('../../../../../../gfx/icon_fatalerror.gif');
+  background-image: url('../../../icons/gfx/icon_fatalerror.gif');
   background-repeat: no-repeat;
   margin-right: 2px;
   width: 16px;