Login procedure rewritten to filters (internal TODO)
[mailer.git] / inc / stylesheet.php
index c5e0d7a80ad02ea7e1ffb17e27243eaff97ffe00..d8e1514d01cc9f8f6bfe938f2f0f3c3724e7a5d9 100644 (file)
@@ -42,12 +42,12 @@ if (!defined('__SECURITY')) {
 }
 
 // Default styles
-$STYLES = array(
+$stylesList = array(
                'general.css',
 );
 
 // Add stylesheet for installation
-if ((isInstallationPhase())) $STYLES[] = 'install.css';
+if ((isInstallationPhase())) $stylesList[] = 'install.css';
 
 // When no CSS output-mode is set, set it to file-output
 if (!isConfigEntrySet('css_php')) setConfigEntry('css_php', 'FILE');
@@ -55,13 +55,13 @@ if (!isConfigEntrySet('css_php')) setConfigEntry('css_php', 'FILE');
 // Output CSS files or content or link to css.php ?
 if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) {
        // 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
-       foreach ($STYLES as $value) {
+       foreach ($stylesList as $value) {
                // Only include found CSS files (to reduce 404 requests)
                $FQFN = $basePath . $value;
 
@@ -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;