Commit 5ffab73f authored by Kasper Skårhøj's avatar Kasper Skårhøj
Browse files

* Added prefix to relative file reference in @import style sheet


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@240 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 804b1818
2004-04-26 Kasper Skårhøj,,, <kasper@typo3.com>
* Added prefix to relative file reference in @import style sheet
2004-04-26 Kasper Skårhøj,,, <kasper@typo3.com>
* Fixed bug where DB mounts for a user which has been deleted would still show up in the page tree.
......
......@@ -462,9 +462,12 @@ function linkTo_UnCryptMailto(s) { //
reset($GLOBALS['TSFE']->pSetup['includeCSS.']);
while(list($k2,$iCSSfile)=each($GLOBALS['TSFE']->pSetup['includeCSS.'])) {
if (!is_array($iCSSfile)) {
$ss=$GLOBALS['TSFE']->tmpl->getFileName($iCSSfile);
$ss = $GLOBALS['TSFE']->tmpl->getFileName($iCSSfile);
if ($ss) {
if ($GLOBALS['TSFE']->pSetup['includeCSS.'][$k2.'.']['import']) {
if (substr($ss,0,1)!='/') { // To fix MSIE 6 that cannot handle these as relative paths (according to Ben v Ende)
$ss = t3lib_div::dirname(t3lib_div::getIndpEnv('SCRIPT_NAME')).'/'.$ss;
}
$GLOBALS['TSFE']->content.='
<style type="text/css">
<!--
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment