[Fusionforge-commits] r13829 - branches/Branch_5_0/gforge/plugins/mediawiki/mediawiki-skin

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


Author: jheyman
Date: 2011-07-27 10:03:17 +0200 (Wed, 27 Jul 2011)
New Revision: 13829

Modified:
   branches/Branch_5_0/gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php
Log:
Fix printable mediawiki theme

Modified: branches/Branch_5_0/gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php
===================================================================
--- branches/Branch_5_0/gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php	2011-07-24 22:34:43 UTC (rev 13828)
+++ branches/Branch_5_0/gforge/plugins/mediawiki/mediawiki-skin/FusionForge.php	2011-07-27 08:03:17 UTC (rev 13829)
@@ -81,8 +81,8 @@
 		<?php $this->html('headlinks') ?>
 		<title><?php $this->text('pagetitle') ?></title>
         	<!-- FUSIONFORGE Stylesheet BEGIN -->
-		<?php if (!$GLOBALS['sys_use_mwframe']){ $GLOBALS['HTML']->headerLink(); } ?>
-		<?php if (!$GLOBALS['sys_use_mwframe']){ $GLOBALS['HTML']->headerCSS(); } ?>
+		<?php if (!$GLOBALS['sys_use_mwframe'] && !$this->data['printable']){ $GLOBALS['HTML']->headerLink(); } ?>
+		<?php if (!$GLOBALS['sys_use_mwframe'] && !$this->data['printable']){ $GLOBALS['HTML']->headerCSS(); } ?>
         	<!-- FUSIONFORGE Stylesheet END -->
 		<?php $this->html('csslinks') ?>
 
@@ -116,7 +116,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();
@@ -260,7 +260,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