[TASK] Remove specials for IE6 from t3skin
authorSteffen Ritter <info@rs-websystems.de>
Tue, 1 Mar 2011 10:05:35 +0000 (11:05 +0100)
committerJigal van Hemert <jigal@xs4all.nl>
Sat, 5 Mar 2011 22:30:09 +0000 (23:30 +0100)
IE6 Supports will be dropped in 4.6...
There are some special CSS files, 2 php classes and sprites as GIF Icons.
Remove the special IE6 handling in t3skin

Change-Id: I2151004f574fb2b3891ff28914814a94a3eb97e0
Resolves: #M17805
Reviewed-on: http://review.typo3.org/949
Reviewed-by: Tobias Liebig <mail_typo3.org@etobi.de>
Reviewed-by: Jigal van Hemert <jigal@xs4all.nl>
Tested-by: Jigal van Hemert <jigal@xs4all.nl>
13 files changed:
typo3/sysext/t3skin/ext_tables.php
typo3/sysext/t3skin/images/sprites/flags.gif [deleted file]
typo3/sysext/t3skin/images/sprites/t3skin.gif [deleted file]
typo3/sysext/t3skin/pngfix/class.tx_templatehook.php [deleted file]
typo3/sysext/t3skin/registerIe6Stylesheet.php [deleted file]
typo3/sysext/t3skin/stylesheets/ie6.css [deleted file]
typo3/sysext/t3skin/stylesheets/ie6/element_tree.css [deleted file]
typo3/sysext/t3skin/stylesheets/ie6/flags-ie6.css [deleted file]
typo3/sysext/t3skin/stylesheets/ie6/pagetree.css [deleted file]
typo3/sysext/t3skin/stylesheets/ie6/toolbar_workspace.css [deleted file]
typo3/sysext/t3skin/stylesheets/ie6/z_t3-icons-gifSprites.css [deleted file]
typo3/sysext/t3skin/stylesheets/structure/element_docheader.css
typo3/sysext/t3skin/stylesheets/structure/module_web_template.css

index a13581c..14203b6 100644 (file)
@@ -184,10 +184,6 @@ if (TYPO3_MODE == 'BE' || (TYPO3_MODE == 'FE' && isset($GLOBALS['BE_USER']))) {
        // Adding HTML template for login screen
        $TBE_STYLES['htmlTemplates']['templates/login.html'] = 'sysext/t3skin/templates/login.html';
 
-       $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = t3lib_extMgm::extPath('t3skin').'registerIe6Stylesheet.php';
-
-       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/template.php']['preHeaderRenderHook'][] = t3lib_extMgm::extPath('t3skin').'pngfix/class.tx_templatehook.php:tx_templatehook->registerPngFix';
-
        $GLOBALS['TBE_STYLES']['stylesheets']['admPanel'] = t3lib_extMgm::siteRelPath('t3skin') . 'stylesheets/standalone/admin_panel.css';
 
        foreach ($flagNames as $flagName) {
diff --git a/typo3/sysext/t3skin/images/sprites/flags.gif b/typo3/sysext/t3skin/images/sprites/flags.gif
deleted file mode 100644 (file)
index 8eeee80..0000000
Binary files a/typo3/sysext/t3skin/images/sprites/flags.gif and /dev/null differ
diff --git a/typo3/sysext/t3skin/images/sprites/t3skin.gif b/typo3/sysext/t3skin/images/sprites/t3skin.gif
deleted file mode 100644 (file)
index 76a4fc5..0000000
Binary files a/typo3/sysext/t3skin/images/sprites/t3skin.gif and /dev/null differ
diff --git a/typo3/sysext/t3skin/pngfix/class.tx_templatehook.php b/typo3/sysext/t3skin/pngfix/class.tx_templatehook.php
deleted file mode 100644 (file)
index 61c0eb1..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-
-class tx_templatehook {
-       function registerPngFix($params,$parent) {
-                       // handle stupid IE6
-               $userAgent = t3lib_div::getIndpEnv('HTTP_USER_AGENT');
-
-               if(!(strpos($userAgent, 'MSIE 6') === false)
-               && strpos($userAgent, 'Opera') === false
-               && strpos($userAgent, 'MSIE 7') === false) {
-                               //make sure we match IE6 but not Opera or IE7
-                       $files = t3lib_div::getFilesInDir(PATH_typo3 . 'sysext/t3skin/stylesheets/ie6', 'css', 0, 1);
-                       foreach($files as $fileName) {
-                               $params['pageRenderer']->addCssFile($parent->backPath . 'sysext/t3skin/stylesheets/ie6/' . $fileName);
-                       }
-
-                               // load files of spriteGenerator for ie6
-                       $files = t3lib_div::getFilesInDir(PATH_site . t3lib_SpriteManager::$tempPath . 'ie6/', 'css', 0, 1);
-                       foreach($files as $fileName) {
-                               $params['pageRenderer']->addCssFile($parent->backPath . '../' . t3lib_SpriteManager::$tempPath . 'ie6/' . $fileName);
-                       }
-
-               }
-       }
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/t3skin/registerIe6Stylesheet.php b/typo3/sysext/t3skin/registerIe6Stylesheet.php
deleted file mode 100644 (file)
index dc4823e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-if(TYPO3_MODE == 'BE') {
-
-               // handle stupid IE6
-       $userAgent = t3lib_div::getIndpEnv('HTTP_USER_AGENT');
-
-       if(!(strpos($userAgent, 'MSIE 6') === false)
-       && strpos($userAgent, 'Opera') === false
-       && strpos($userAgent, 'MSIE 7') === false) {
-                       //make sure we match IE6 but not Opera or IE7
-               $GLOBALS['TYPO3backend']->addCssFile('ie6fix', 'sysext/t3skin/stylesheets/ie6.css');
-       }
-
-}
-
-?>
\ No newline at end of file
diff --git a/typo3/sysext/t3skin/stylesheets/ie6.css b/typo3/sysext/t3skin/stylesheets/ie6.css
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/typo3/sysext/t3skin/stylesheets/ie6/element_tree.css b/typo3/sysext/t3skin/stylesheets/ie6/element_tree.css
deleted file mode 100644 (file)
index bdd7811..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* workaround for transparent border-color */
-ul.tree div.treeLinkItem {
-       border-bottom: 1px solid #ebebeb;
-       border-left: 1px solid #ebebeb;
-       border-top: 1px solid #ebebeb;
-}
\ No newline at end of file
diff --git a/typo3/sysext/t3skin/stylesheets/ie6/flags-ie6.css b/typo3/sysext/t3skin/stylesheets/ie6/flags-ie6.css
deleted file mode 100644 (file)
index bb0f2e0..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-.t3-icon-flags {
-       background-image: url('../../images/sprites/flags.gif?1283937761');
-       height: 11px;
-       width: 16px;
-}
-
-.t3-icon-flags {
-       background-image: url('../../images/sprites/flags.gif?1283937761');
-       height: 11px;
-       width: 16px;
-}
diff --git a/typo3/sysext/t3skin/stylesheets/ie6/pagetree.css b/typo3/sysext/t3skin/stylesheets/ie6/pagetree.css
deleted file mode 100644 (file)
index 87357c4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/* - - - - - - - - - - - - - - - - - - - - -
-Pagetree
-
-$Id: $
-- - - - - - - - - - - - - - - - - - - - - */
-#typo3-pagetree .typo3-pagetree-topPanel-button {
-       margin: 0;
-       padding: 0 2px;
-}
-
-#typo3-pagetree .typo3-pagetree-topPanel-button button {
-       margin: 0;
-       padding: 0;
-       width: 16px;
-       height: 16px;
-       overflow: hidden;
-}
-
-#typo3-pagetree #typo3-pagetree-indicatorBar {
-       padding: 0;
-       line-height: normal;
-}
-
-#typo3-pagetree #typo3-pagetree-topPanel {
-       height: 53px;
-}
-
-#typo3-pagetree .x-tree-node .x-tree-node-el {
-       border-top: 1px solid #EBEBEB;
-       border-bottom: 1px solid #EBEBEB;
-       border-left: 1px solid #EBEBEB;
-}
-
-#typo3-pagetree-topPanel-filterWrap .x-form-field-trigger-wrap {
-       display: inline-block;
-}
-
-.x-dd-drag-proxy {
-       width: 1em;
-}
diff --git a/typo3/sysext/t3skin/stylesheets/ie6/toolbar_workspace.css b/typo3/sysext/t3skin/stylesheets/ie6/toolbar_workspace.css
deleted file mode 100644 (file)
index c9897c3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-body.typo3-in-workspace #typo3-topbar .x-panel-bwrap {
-       background: none;
-}
-
-body.typo3-in-workspace #typo3-topbar .x-panel-body {
-       background: none;
-}
\ No newline at end of file
diff --git a/typo3/sysext/t3skin/stylesheets/ie6/z_t3-icons-gifSprites.css b/typo3/sysext/t3skin/stylesheets/ie6/z_t3-icons-gifSprites.css
deleted file mode 100644 (file)
index c1dcb8e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-
-.t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.gif?1296946241') !important;
-       height: 16px;
-       width: 16px;
-}
-
-.t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.gif?1296946241') !important;
-       height: 16px;
-       width: 16px;
-}
-
-.t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.gif?1296946241') !important;
-       height: 16px;
-       width: 16px;
-}
-
-.t3-icon-status {
-       background-image: url('../../images/sprites/t3skin.gif?1296946241') !important;
-       height: 16px;
-       width: 16px;
-}
index a77a8cb..c9d5d8b 100644 (file)
@@ -95,11 +95,6 @@ div#typo3-inner-docbody {
        padding: 10px;
 }
 
-/* Fix for IE 6 */
-* html div#typo3-inner-docbody {
-       width: 95%;
-}
-
 /* Fix for IE 7 */
 * + html div#typo3-inner-docbody {
        width: 95%;
index ad58afe..bc351f1 100644 (file)
@@ -25,11 +25,6 @@ div.typo3-tstemplate-ceditor-colorblock {
        display: inline;
 }
 
-/* IE 6 Fix */
-* + html div.typo3-tstemplate-ceditor-colorblock {
-       display: inline;
-}
-
 /* IE 7 Fix */
 dl.typo3-tstemplate-ceditor-constant {
        margin: 0px 0px 20px 10px;