X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fstylesheet.php;h=d77e9c93318db48f5d54adb9bd93d9bb55541c01;hb=ccf34a2a92d80d01debd84b4b6e1f294d8f90cce;hp=47c6b65abd6efa1a0778f416c8ecc505fdcefac0;hpb=b8a6f8012aa3509d8e0f8fd078e044f20e80707a;p=mailer.git diff --git a/inc/stylesheet.php b/inc/stylesheet.php index 47c6b65abd..d77e9c9331 100644 --- a/inc/stylesheet.php +++ b/inc/stylesheet.php @@ -69,11 +69,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,23 +103,23 @@ 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! - outputHtml(''); + $GLOBALS['page_header'] .= $OUT . '%}" />'; } // [EOF]