2010-06-26 Stanislas Rolland <typo3@sjbr.ca>
* Fixed bug #14876: htmlArea RTE: SelectFont plugin may cause js error
+ * Follow-up to bug #14793: htmlArea RTE: Problematic icons in IE6
2010-06-25 Steffen Kamper <info@sk-typo3.de>
2010-06-26 Stanislas Rolland <typo3@sjbr.ca>
* Fixed bug #14876: htmlArea RTE: SelectFont plugin may cause js error
+ * Follow-up to bug #14793: htmlArea RTE: Problematic icons in IE6
2010-06-21 Stanislas Rolland <typo3@sjbr.ca>
padding: 0;
margin: 1px 0 1px 2px;
}
+body.ext-ie6 .htmlarea .toolbar .x-btn-text {
+ background-image: url("images/sprites/actions.gif");
+}
/* fixing button background-color and border-color in IE6 */
body.ext-ie6 .htmlarea .toolbar .buttonHover,
.htmlarea .toolbar .buttonHover {
margin: 0;
padding: 0 3px;
line-height: 20px;
+ font-family: Verdana, Helvetica, Geneva, Arial, sans-serif;
}
.htmlarea .statusBar .statusBarTree a {
color:ButtonText;
margin-top: 2px;
height: 22px;
}
+body.ext-ie6 .htmlarea-window .x-panel-icon {
+ background-image: url("images/sprites/actions.gif");
+}
.htmlarea-window ul.x-tab-strip {
list-style: none;
}
width: 18px;
height: 18px;
}
-/* Remove the icons in IE6 as they are not iepngfixed */
-body.ext-ie6 .htmlarea-context-menu a.x-menu-item {
- padding-left: 3px;
-}
body.ext-ie6 .htmlarea-context-menu .x-menu-item-icon {
- background-image: none;
+ background-image: url("images/sprites/actions.gif");
}
/* Window status bar selectors */
.htmlarea-window .status-ready {
// Preloading the pageStyle and including RTE skin stylesheets
$this->addPageStyle();
$this->addSkin();
- $this->addPngFix();
$pageRenderer->addCssFile($this->siteURL . 't3lib/js/extjs/ux/resize.css');
// Loading JavaScript files and code
$pageRenderer->loadExtJs();
$pageRenderer = $GLOBALS['TSFE']->getPageRenderer();
$pageRenderer->addCssFile($href, $relation, 'screen', $title);
}
- /**
- * Add iepngfix js and inline css for IE6, if available (t3skin must be loaded)
- *
- * @return void
- */
- protected function addPngFix() {
- if ($this->client['browser'] == 'msie' && $this->client['version'] < 7 && t3lib_extMgm::isLoaded('t3skin')) {
- $pageRenderer = $GLOBALS['TSFE']->getPageRenderer();
- $pageRenderer->addJsFile($this->siteURL . t3lib_extMgm::siteRelPath('t3skin') . 'pngfix/iepngfix.js');
- $pageRenderer->addCssInlineBlock('htmlarea-iepngfix', ".htmlarea .toolbar .x-btn-text, .htmlarea-window .x-panel-icon { behavior: url('" . $this->siteURL . t3lib_extMgm::siteRelPath('t3skin') . 'pngfix/iepngfix.php' . "\');");
- }
- }
/**
* Return true if we are in the FE, but not in the FE editing feature of BE.
*
padding: 0;
margin: 1px 0 1px 2px;
}
+body.ext-ie6 .htmlarea .toolbar .x-btn-text {
+ background-image: url("images/sprites/actions.gif");
+}
/* fixing button background-color and border-color in IE6 */
body.ext-ie6 .htmlarea .toolbar .buttonHover,
.htmlarea .toolbar .buttonHover {
margin: 0;
padding: 0 3px;
line-height: 20px;
+ font-family: Verdana, Helvetica, Geneva, Arial, sans-serif;
}
.htmlarea .statusBar .statusBarTree a {
color:#FFFFFF;
margin-top: 2px;
height: 22px;
}
+body.ext-ie6 .htmlarea-window .x-panel-icon {
+ background-image: url("images/sprites/actions.gif");
+}
.htmlarea-window ul.x-tab-strip {
list-style: none;
}
width: 18px;
height: 18px;
}
-/* Remove the icons in IE6 as they are not iepngfixed */
-body.ext-ie6 .htmlarea-context-menu a.x-menu-item {
- padding-left: 3px;
-}
body.ext-ie6 .htmlarea-context-menu .x-menu-item-icon {
- background-image: none;
+ background-image: url("images/sprites/actions.gif");
}
/* Window status bar selectors */
.htmlarea-window .status-ready {