Even more fixes
[mailer.git] / inc / stylesheet.php
index 47c6b65abd6efa1a0778f416c8ecc505fdcefac0..b2d81171024f82b37b0d251b0fcc49594c01cccd 100644 (file)
@@ -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('<link rel="stylesheet" type="text/css" href="{%url=css.php', false);
+       $OUT = '<link rel="stylesheet" type="text/css" href="{%url=css.php';
        if ((isInstallationPhase())) {
                // Default theme first
                $newTheme = 'default';
                if (isGetRequestElementSet('theme'))  $newTheme = getRequestElement('theme');
                if (isPostRequestElementSet('theme')) $newTheme = secureString(postRequestElement('theme'));
-               outputHtml('?theme=' . $newTheme . '&amp;installing=1', false);
+               $OUT .= '?theme=' . $newTheme . '&amp;installing=1';
        } else {
                // Add SVN revision to bypass caching problems
-               outputHtml('?rev=' . getConfig('CURR_SVN_REVISION'));
+               $OUT .= '?rev=' . getConfig('CURR_SVN_REVISION');
        }
 
        // Close tag
-       outputHtml('%}" />');
+       outputHtml($OUT . '%}" />');
 }
 
 // [EOF]