and another modern tweak -- don't @import the common styles now that we've got <link>s
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 28 Jul 2008 19:14:42 +0000 (19:14 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 28 Jul 2008 19:14:42 +0000 (19:14 +0000)
skins/Modern.php

index a5fba0b..bdbfb7f 100644 (file)
@@ -67,13 +67,7 @@ class ModernTemplate extends QuickTemplate {
                <meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
                <?php $this->html('headlinks') ?>
                <title><?php $this->text('pagetitle') ?></title>
-<?php  if(empty($this->data['printable']) ) { ?>
-               <style type="text/css" media="screen, projection">/*<![CDATA[*/
-                       @import "<?php $this->text('stylepath') ?>/common/shared.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
-                       @import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/main.css?<?php echo $GLOBALS['wgStyleVersion'] ?>";
-               /*]]>*/</style>
-               <?php }
-               $this->html('csslinks') ?>
+               <?php $this->html('csslinks') ?>
                <!--[if lt IE 7]><meta http-equiv="imagetoolbar" content="no" /><![endif]-->
                
                <?php print Skin::makeGlobalVariablesScript( $this->data ); ?>