Project

General

Profile

Actions

Bug #21966

closed

_CSS_DEFAULT_STYLE

Added by Claus Harup over 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-01-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I was just wondering why the following is hardcoded in the source:

public function addCssFile($file, $rel = 'stylesheet', $media = 'screen', $title = '', $compress = TRUE, $forceOnTop = FALSE, $allWrap = '') {
if (!isset($this->cssFiles[$file])) {
$this->cssFiles[$file] = array (
'rel' => $rel,
'media' => $media,
'title' => $title,
'compress' => $compress,
'forceOnTop' => $forceOnTop,
'allWrap' => $allWrap
);
}
}

Everytime I write css through _CSS_DEFAULT_STYLE in my extensions the media is set to screen - I need to set the media to "screen,print" or "all" for my printviews to look nice.

Is the only solution to XCLASS??

(issue imported from #M13252)


Files

0013252_4.4.trunk-rev6808.patch (4.2 KB) 0013252_4.4.trunk-rev6808.patch Administrator Admin, 2010-01-21 22:00
Actions

Also available in: Atom PDF