X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fstylesheet.php;h=12838b3b3392d8bab258b01df89c1a38bad66e1f;hp=b2d81171024f82b37b0d251b0fcc49594c01cccd;hb=25b4a580b4c7e0d429eb8e436785d3c2ef304f8e;hpb=ef1aea52af98b373687fb9bf46df4ca77d56ff4f;ds=sidebyside diff --git a/inc/stylesheet.php b/inc/stylesheet.php index b2d8117102..12838b3b33 100644 --- a/inc/stylesheet.php +++ b/inc/stylesheet.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -69,11 +70,11 @@ if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) { if ((isFileReadable($FQFN)) && (filesize($FQFN) > 0)) { switch (getConfig('css_php')) { case 'DIRECT': // Just link them (unsupported) - outputHtml(''); + $GLOBALS['page_header'] .= ''; break; case 'FILE': // Output contents - outputHtml(readFromFile($FQFN)); + $GLOBALS['page_header'] .= readFromFile($FQFN); break; default: // Invalid mode! @@ -103,15 +104,15 @@ if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) { } // END - foreach // Load template - loadTemplate('css_inline', false, $OUT); + $GLOBALS['page_header'] .= loadTemplate('css_inline', true, $OUT); } else { // Now we load all CSS files from css.php! $OUT = ''); + $GLOBALS['page_header'] .= $OUT . '%}{%ext,version=sql_patches%}" />'; } // [EOF]