use link to stylesheet instead of inline to save bandwidth
authorchriskl <chriskl>
Wed, 10 Dec 2003 14:23:39 +0000 (14:23 +0000)
committerchriskl <chriskl>
Wed, 10 Dec 2003 14:23:39 +0000 (14:23 +0000)
classes/Misc.php

index e2e4dd901bc9e7cb2814a24a98f1c0f7d0673477..c4d666cdb0969df90ec52d55dc118c37f4146b12 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.48 2003/11/15 10:08:14 chriskl Exp $
+        * $Id: Misc.php,v 1.49 2003/12/10 14:23:39 chriskl Exp $
         */
         
        class Misc {
                                echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset={$lang['appcharset']}\" />\n";
                                
                                // Theme
-                               echo "<style type=\"text/css\">\n<!--\n";
-                               include("themes/{$conf['theme']}/global.css");
-                               echo "\n-->\n</style>\n";
+                               echo "<link rel=\"stylesheet\" href=\"themes/{$conf['theme']}/global.css\" type=\"text/css\" />\n";
                                if ($script) echo "\n {$script} \n";
                                echo "</head>\n";
                        }