Fixed bug #3716: includeCSS changed behavior, must default to media="all"
authorFrancois Suter <francois.suter@typo3.org>
Fri, 26 Mar 2010 10:07:33 +0000 (10:07 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Fri, 26 Mar 2010 10:07:33 +0000 (10:07 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7169 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_pagegen.php

index 455bddf..49fcfc5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-26  Francois Suter  <francois@typo3.org>
+
+       * Fixed bug #3716: includeCSS changed behavior, must default to media="all" (thanks to internezzo ag)
+
 2010-03-25  Ernesto Baschny  <ernst@cron-it.de>
 
        * Fixed bug #13901: GIFBULDER generates same picture twice (in typo3temp/GB) (thanks to Vladimir Podkovanov)
index 006aa7d..6e54b9c 100644 (file)
@@ -545,7 +545,7 @@ See <a href="http://wiki.typo3.org/index.php/TYPO3_3.8.1" target="_blank">wiki.t
                                                        $pageRenderer->addCssFile(
                                                                htmlspecialchars($ss),
                                                                $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['alternate'] ? 'alternate stylesheet' : 'stylesheet',
-                                                               $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['media'] ? $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['media'] : 'screen',
+                                                               $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['media'] ? $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['media'] : 'all',
                                                                $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['title'] ? $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['title'] : '',
                                                                $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['compress'] ? TRUE : FALSE,
                                                                $GLOBALS['TSFE']->pSetup['includeCSS.'][$key . '.']['forceOnTop'] ? TRUE : FALSE,