X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fstylesheet.php;h=47c6b65abd6efa1a0778f416c8ecc505fdcefac0;hb=6d2261c68297de5411ebade6548b6f9c3d3164a0;hp=6e4ac65e7f71d626c6f6bfc0dccce85615b1d8bc;hpb=aaf81b8f35512782d34f78c1a0dac8b42d745393;p=mailer.git
diff --git a/inc/stylesheet.php b/inc/stylesheet.php
index 6e4ac65e7f..47c6b65abd 100644
--- a/inc/stylesheet.php
+++ b/inc/stylesheet.php
@@ -1,7 +1,7 @@
0)) {
switch (getConfig('css_php')) {
case 'DIRECT': // Just link them (unsupported)
- outputHtml('');
+ outputHtml('');
break;
case 'FILE': // Output contents
@@ -84,14 +84,14 @@ if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) {
} // END - foreach
} elseif ((getOutputMode() == '0') || (getConfig('css_php') == 'INLINE')) {
// Load CSS files
- $STYLES = merge_array($STYLES, getExtensionCssFiles());
+ $stylesList = merge_array($stylesList, getExtensionCssFiles());
// Generate base path
$basePath = sprintf("%stheme/%s/css/", getConfig('PATH'), getCurrentTheme());
// Output inclusion lines
$OUT = '';
- foreach ($STYLES as $value) {
+ foreach ($stylesList as $value) {
// Only include found CSS files (to reduce 404 requests)
$FQFN = $basePath . $value;
@@ -106,7 +106,7 @@ if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) {
loadTemplate('css_inline', false, $OUT);
} else {
// Now we load all CSS files from css.php!
- outputHtml('');
+ outputHtml('%}" />');
}
// [EOF]