Fix bug #3085: broken option frame (palettes) in IE
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Thu, 6 Jul 2006 10:26:12 +0000 (10:26 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Thu, 6 Jul 2006 10:26:12 +0000 (10:26 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1604 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php
typo3/sysext/t3skin/icons/gfx/topmenu_background_palette.jpg [new file with mode: 0644]
typo3/sysext/t3skin/stylesheets/typo3-alt-palette-php.css

index 10f2ede..f80a450 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -44,6 +44,7 @@
 2006-06-29  Ernesto Baschny <ernst@cron-it.de>
 
        * Fix bug #3522 also in "content (default)": Linking images to hidden pages results in click-enlarge
+       * Fix bug #3085: broken option frame (palettes) in IE
 
 2006-06-29  Dmitry Dulepov  <typo3@accio.lv>
 
index 0afdb96..5237b34 100755 (executable)
@@ -4305,7 +4305,7 @@ class t3lib_TCEforms      {
                } else {
                                // Detects fields with no CSH and outputs dummy line to insert into CSH locallang file:
                        #debug(array("'".$field.".description' => '[FILL IN] ".$table."->".$field."',"),$table);
-                       return '&nbsp;';
+                       return '<span class="nbsp">&nbsp;</span>';
                }
        }
 
diff --git a/typo3/sysext/t3skin/icons/gfx/topmenu_background_palette.jpg b/typo3/sysext/t3skin/icons/gfx/topmenu_background_palette.jpg
new file mode 100644 (file)
index 0000000..7b49628
Binary files /dev/null and b/typo3/sysext/t3skin/icons/gfx/topmenu_background_palette.jpg differ
index 8a53f12..b861625 100644 (file)
@@ -3,10 +3,10 @@
  */
 
 body#typo3-alt-palette-php {
-       background-image: url('../icons/gfx/topmenu_background.jpg');
+       background-image: url('../icons/gfx/topmenu_background_palette.jpg');
 }
 
-body#typo3-alt-palette-php table {
+body#typo3-alt-palette-php table#typo3-TCEforms-palette {
        height: 20px;
        position: absolute;
        bottom: 1px;
@@ -27,3 +27,13 @@ body#typo3-alt-palette-php table img {
 table#typo3-TCEforms-palette td.c-label {
        color: #FFFFFF;
 }
+
+body#typo3-alt-palette-php table td.c-csh input.checkbox {
+       margin: 0px 3px 0 0;
+       background-color: transparent;
+}
+
+body#typo3-alt-palette-php span.nbsp {
+       display: none;
+}
+