Project

General

Profile

Bug #22283 ยป 13823_printable_backend.patch

Administrator Admin, 2010-03-16 11:54

View differences:

typo3/stylesheet_print.css (Revision 0)
div#typo3-docbody {
overflow: visible;
}
typo3/template.php (Arbeitskopie)
var $styleSheetFile = 'stylesheet.css'; // Filename of stylesheet (relative to PATH_typo3)
var $styleSheetFile2 = ''; // Filename of stylesheet #2 - linked to right after the $this->styleSheetFile script (relative to PATH_typo3)
var $styleSheetFile_post = ''; // Filename of a post-stylesheet - included right after all inline styles.
var $styleSheetFile_print = 'stylesheet_print.css'; // Filename of a print-stylesheet - included after all styles.
var $backGroundImage = ''; // Background image of page (relative to PATH_typo3)
var $inDocStyles_TBEstyle = ''; // Inline css styling set from TBE_STYLES array
......
if ($TBE_STYLES['stylesheet']) $this->styleSheetFile = $TBE_STYLES['stylesheet'];
if ($TBE_STYLES['stylesheet2']) $this->styleSheetFile2 = $TBE_STYLES['stylesheet2'];
if ($TBE_STYLES['styleSheetFile_post']) $this->styleSheetFile_post = $TBE_STYLES['styleSheetFile_post'];
if ($TBE_STYLES['styleSheetFile_print']) $this->styleSheetFile_print = $TBE_STYLES['styleSheetFile_print'];
if ($TBE_STYLES['inDocStyles_TBEstyle']) $this->inDocStyles_TBEstyle = $TBE_STYLES['inDocStyles_TBEstyle'];
// Background image
......
$this->pageRenderer->addCssInlineBlock('inDocStyles', $inDocStyles . chr(10) . '/*###POSTCSSMARKER###*/');
if ($this->styleSheetFile_post) {
$this->pageRenderer->addCssFile($this->backPath . $this->styleSheetFile_post);
}
}
if ($this->styleSheetFile_print) {
$this->pageRenderer->addCssFile($this->backPath . $this->styleSheetFile_print,'stylesheet', 'print');
}
}
    (1-1/1)