Bug #20720 ยป 11480.diff
typo3/template.php (working copy) | ||
---|---|---|
$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');
|
||
}
|