X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fstylesheet.php;h=392ea5a4a5d5ac275cee46c60ca6b87efd5e9926;hb=0fe94791af05018868398d3c6c87d2b16f9557a2;hp=6e4ac65e7f71d626c6f6bfc0dccce85615b1d8bc;hpb=af57cc214f46f69247698f50d2eec74a8449b79c;p=mailer.git
diff --git a/inc/stylesheet.php b/inc/stylesheet.php
index 6e4ac65e7f..392ea5a4a5 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,20 +106,20 @@ if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) {
loadTemplate('css_inline', false, $OUT);
} else {
// Now we load all CSS files from css.php!
- outputHtml('');
+ outputHtml($OUT . '%}" />');
}
// [EOF]