[BUGFIX] gif-Sprite does not work in IE6 due to error in spriteGenerator
authorSteffen Ritter <info@rs-websystems.de>
Thu, 3 Mar 2011 17:29:59 +0000 (18:29 +0100)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Tue, 8 Mar 2011 15:54:46 +0000 (16:54 +0100)
there is a line of code missing in the spritegenerator...
therefore sprites in ie6 fail.

Also regenerated sprites, to fix the problem.

Change-Id: I0a3a19377f4871f80557f32d61019ecc90d85baa
Reviewed-on: http://review.typo3.org/1027
Reviewed-by: Andreas Wolf <andreas.wolf@ikt-werk.de>
Tested-by: Andreas Wolf <andreas.wolf@ikt-werk.de>
t3lib/spritemanager/class.t3lib_spritemanager_spritegenerator.php
t3lib/stddb/tables.php
typo3/sysext/t3skin/images/sprites/t3skin.gif
typo3/sysext/t3skin/images/sprites/t3skin.png
typo3/sysext/t3skin/stylesheets/ie6/z_t3-icons-gifSprites.css
typo3/sysext/t3skin/stylesheets/sprites/t3skin.css

index e309797..eee615c 100644 (file)
@@ -358,6 +358,7 @@ class t3lib_spritemanager_SpriteGenerator {
                if ($this->generateGIFCopy) {
                        $markerArray['###SPRITEURL###'] = str_replace('.png', '.gif', $markerArray['###SPRITEURL###']);
                        foreach ($this->spriteBases as $base) {
+                               $markerArray['###SPRITENAME###'] = $base;
                                $cssIe6 .= t3lib_parsehtml::substituteMarkerArray($this->templateSprite, $markerArray);
                        }
                }
index d261b36..74ae2ba 100644 (file)
@@ -652,6 +652,7 @@ $GLOBALS['TBE_STYLES']['spriteIconApi']['coreSpriteImageNames'] = array(
        'mimetypes-text-js',
        'mimetypes-text-php',
        'mimetypes-text-text',
+       'mimetypes-word',
        'mimetypes-x-content-divider',
        'mimetypes-x-content-domain',
        'mimetypes-x-content-form',
index 9277b72..76a4fc5 100644 (file)
Binary files a/typo3/sysext/t3skin/images/sprites/t3skin.gif and b/typo3/sysext/t3skin/images/sprites/t3skin.gif differ
index 0cca585..c7faa11 100644 (file)
Binary files a/typo3/sysext/t3skin/images/sprites/t3skin.png and b/typo3/sysext/t3skin/images/sprites/t3skin.png differ
index 9396ad3..308a118 100644 (file)
@@ -1,24 +1,24 @@
 
-.t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.gif?1296948279') !important;
+.t3-icon-actions {
+       background-image: url('../../images/sprites/t3skin.gif?1299173272') !important;
        height: 16px;
        width: 16px;
 }
 
-.t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.gif?1296948279') !important;
+.t3-icon-apps {
+       background-image: url('../../images/sprites/t3skin.gif?1299173272') !important;
        height: 16px;
        width: 16px;
 }
 
-.t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.gif?1296948279') !important;
+.t3-icon-mimetypes {
+       background-image: url('../../images/sprites/t3skin.gif?1299173272') !important;
        height: 16px;
        width: 16px;
 }
 
 .t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.gif?1296948279') !important;
+       background-image: url('../../images/sprites/t3skin.gif?1299173272') !important;
        height: 16px;
        width: 16px;
 }
index 995517c..79f2c68 100644 (file)
@@ -1,24 +1,24 @@
 
 .t3-icon-actions {
-       background-image: url('../../images/sprites/t3skin.png?1296948279') !important;
+       background-image: url('../../images/sprites/t3skin.png?1299173272') !important;
        height: 16px;
        width: 16px;
 }
 
 .t3-icon-apps {
-       background-image: url('../../images/sprites/t3skin.png?1296948279') !important;
+       background-image: url('../../images/sprites/t3skin.png?1299173272') !important;
        height: 16px;
        width: 16px;
 }
 
 .t3-icon-mimetypes {
-       background-image: url('../../images/sprites/t3skin.png?1296948279') !important;
+       background-image: url('../../images/sprites/t3skin.png?1299173272') !important;
        height: 16px;
        width: 16px;
 }
 
 .t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.png?1296948279') !important;
+       background-image: url('../../images/sprites/t3skin.png?1299173272') !important;
        height: 16px;
        width: 16px;
 }