Fixed Bug #11480: missing BACK_PATH in css inclusion of Ext Js Stylesheets
authorSteffen Kamper <info@sk-typo3.de>
Mon, 6 Jul 2009 18:06:16 +0000 (18:06 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 6 Jul 2009 18:06:16 +0000 (18:06 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5695 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/template.php

index 2c425bd..9ba679f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-06  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed Bug #11480: missing BACK_PATH in css inclusion of Ext Js Stylesheets
+
 2009-07-06  Michael Stucki  <michael@typo3.org>
 
        * Revert old change from 2006-09-01: Remove key length for sys_refindex table (was needed by $TYPO3_CONF_VARS[SYS][multiplyDBfieldSize] which is considered deprecated nowadays) (thanks to Xavier Perseguers)
index 9c3efe3..daa2143 100644 (file)
@@ -2058,7 +2058,7 @@ $str.=$this->docBodyTagBegin().
                                // set clear.gif
                        $this->extJScode .= 'Ext.BLANK_IMAGE_URL = "' . htmlspecialchars(t3lib_div::locationHeaderUrl('gfx/clear.gif')) . '";';
                                // remove extjs from JScodeLibArray
-                       $this->removeJavascriptLib('extjs');
+                       $this->removeJavascriptLib('contrib/extjs');
                }
 
                foreach ($libs as &$lib) {
@@ -2126,14 +2126,14 @@ $str.=$this->docBodyTagBegin().
                        $this->addExtJS = true;
                        if ($css) {
                                if (isset($GLOBALS['TBE_STYLES']['extJS']['all'])) {
-                                       $this->addStyleSheet('ext-all', $GLOBALS['TBE_STYLES']['extJS']['all']);
+                                       $this->addStyleSheet('ext-all', $this->backPath . $GLOBALS['TBE_STYLES']['extJS']['all']);
                                } else {
                                        $this->addStyleSheet('ext-all', $this->backPath . 'contrib/extjs/resources/css/ext-all-notheme.css');
                                }
                        }
                        if ($theme) {
                                if (isset($GLOBALS['TBE_STYLES']['extJS']['theme'])) {
-                                       $this->addStyleSheet('ext-theme', $GLOBALS['TBE_STYLES']['extJS']['theme']);
+                                       $this->addStyleSheet('ext-theme', $this->backPath . $GLOBALS['TBE_STYLES']['extJS']['theme']);
                                } else {
                                        $this->addStyleSheet('ext-theme', $this->backPath . 'contrib/extjs/resources/css/xtheme-blue.css');
                                }