[Fusionforge-commits] r13830 - branches/Branch_5_1/src/plugins/mediawiki/mediawiki-skin

Julien HEYMAN jheyman at fusionforge.org
Wed Jul 27 10:10:56 CEST 2011


Author: jheyman
Date: 2011-07-27 10:10:55 +0200 (Wed, 27 Jul 2011)
New Revision: 13830

Modified:
   branches/Branch_5_1/src/plugins/mediawiki/mediawiki-skin/FusionForge.php
Log:
Fix printable mediawiki theme

Modified: branches/Branch_5_1/src/plugins/mediawiki/mediawiki-skin/FusionForge.php
===================================================================
--- branches/Branch_5_1/src/plugins/mediawiki/mediawiki-skin/FusionForge.php	2011-07-27 08:03:17 UTC (rev 13829)
+++ branches/Branch_5_1/src/plugins/mediawiki/mediawiki-skin/FusionForge.php	2011-07-27 08:10:55 UTC (rev 13830)
@@ -87,7 +87,7 @@
 		$GLOBALS['HTML']->headerRSS();
 		$GLOBALS['HTML']->headerSearch();
 	} ?>
-		<?php if (!$GLOBALS['sys_use_mwframe']){ $GLOBALS['HTML']->headerCSS(); } ?>
+		<?php if (!$GLOBALS['sys_use_mwframe'] && !$this->data['printable']){ $GLOBALS['HTML']->headerCSS(); } ?>
         	<!-- FUSIONFORGE Stylesheet END -->
 		<?php $this->html('csslinks') ?>
 
@@ -121,7 +121,7 @@
  class="mediawiki <?php $this->text('dir') ?> <?php $this->text('pageclass') ?> <?php $this->text('skinnameclass') ?>">
         <!-- FUSIONFORGE BodyHeader BEGIN -->
         <?php
-	if (!$GLOBALS['sys_use_mwframe']){
+	if (!$GLOBALS['sys_use_mwframe'] && !$this->data['printable']){
         	$project=group_get_object_by_name($GLOBALS['fusionforgeproject']);
         	if ($project) {
 			$GLOBALS['group_id']=$project->getID();
@@ -265,7 +265,7 @@
 -->
 <?php endif; ?>
         <!-- FUSIONFORGE Footer BEGIN -->
-<?php	if (!$GLOBALS['sys_use_mwframe']){
+<?php	if (!$GLOBALS['sys_use_mwframe'] && !$this->data['printable']){
 		$GLOBALS['HTML']->footer($params);
 	} else { ?>
 </body></html>




More information about the Fusionforge-commits mailing list