print stylesheet
authorRiver Tarnell <river@users.mediawiki.org>
Wed, 16 Jan 2008 02:59:30 +0000 (02:59 +0000)
committerRiver Tarnell <river@users.mediawiki.org>
Wed, 16 Jan 2008 02:59:30 +0000 (02:59 +0000)
skins/Modern.php
skins/modern/print.css [new file with mode: 0644]

index dae4438..0db294a 100644 (file)
@@ -56,7 +56,7 @@ class ModernTemplate extends QuickTemplate {
                        @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>
-               <link rel="stylesheet" type="text/css" <?php if(empty($this->data['printable']) ) { ?>media="print"<?php } ?> href="<?php $this->text('stylepath') ?>/common/commonPrint.css?<?php echo $GLOBALS['wgStyleVersion'] ?>" />
+               <link rel="stylesheet" type="text/css" <?php if(empty($this->data['printable']) ) { ?>media="print"<?php } ?> href="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/print.css?<?php echo $GLOBALS['wgStyleVersion'] ?>" />
                <!--[if lt IE 7]><meta http-equiv="imagetoolbar" content="no" /><![endif]-->
                
                <?php print Skin::makeGlobalVariablesScript( $this->data ); ?>
diff --git a/skins/modern/print.css b/skins/modern/print.css
new file mode 100644 (file)
index 0000000..2d5b265
--- /dev/null
@@ -0,0 +1,9 @@
+#mw_portlets,
+#p-cactions,
+#p-personal,
+#jump-to-nav,
+#footer,
+span.editsection
+{
+       display: none;
+}