From e1ef1bcf28ab7a512037c5391249ac7d92ed48d6 Mon Sep 17 00:00:00 2001 From: quix0r Date: Wed, 12 Jun 2013 03:20:59 +0000 Subject: [PATCH] Removed @deprecated from CSS inline/PHP output --- inc/stylesheet.php | 4 ++-- inc/template-functions.php | 22 ++++++++++++++++++++++ templates/de/html/css_inline.tpl | 2 -- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/inc/stylesheet.php b/inc/stylesheet.php index baaee6da2c..3c16a13359 100644 --- a/inc/stylesheet.php +++ b/inc/stylesheet.php @@ -86,7 +86,7 @@ if ((isCssOutputMode()) || (getCssPhp() == 'DIRECT')) { break; case 'FILE': // Output contents - $GLOBALS['__page_header'] .= readFromFile($FQFN); + $GLOBALS['__page_header'] .= removeDeprecatedComment(readFromFile($FQFN)); break; default: // Invalid mode! @@ -116,7 +116,7 @@ if ((isCssOutputMode()) || (getCssPhp() == 'DIRECT')) { } // END - foreach // Load template - $GLOBALS['__page_header'] .= loadTemplate('css_inline', TRUE, $OUT); + $GLOBALS['__page_header'] .= loadTemplate('css_inline', TRUE, removeDeprecatedComment($OUT)); } else { // Now we load all CSS files from css.php! $OUT = ' - -- 2.39.5