User:Nickroberts1/monobook.css

<?php

/** IMPORTANT * Change the below variable to the path to your wiki installation (without the trailing slash) */

$bluwiki_skin_path = 'http://www.bluwiki.org';

/** * bluwiki_skin nouveau * * Translated from gwicke's previous TAL template version to remove * dependency on PHPTAL. * * @todo document * @package MediaWiki * @subpackage Skins */

if( !defined( 'MEDIAWIKI' ) ) die;

/** */ require_once('includes/SkinTemplate.php');

/** * Inherit main code from SkinTemplate, set the CSS and template filter. * @todo document * @package MediaWiki * @subpackage Skins */ class Skinbluwiki_skin extends SkinTemplate { /** Using bluwiki_skin. */	function initPage( &$out ) { SkinTemplate::initPage( $out ); $this->skinname = 'bluwiki_skin'; $this->stylename = 'bluwiki_skin'; $this->template = 'bluwiki_skinTemplate'; } }

/** * @todo document * @package MediaWiki * @subpackage Skins */ class bluwiki_skinTemplate extends QuickTemplate { /**	 * Template filter callback for bluwiki_skin skin. * Takes an associative array of data set from a SkinTemplate-based * class, and a wrapper for MediaWiki's localization database, and * outputs a formatted page. *	 * @access private */	function execute { // Suppress warnings to prevent notices about missing indexes in $this->data wfSuppressWarnings;

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> text('lang') ?>" lang="text('lang') ?>" dir="text('dir') ?>"> text('mimetype') ?>; charset=text('charset') ?>" /> html('headlinks') ?> text('pagetitle') ?> /*<![CDATA[*/ @import "text('stylepath') ?>/text('stylename') ?>/main.css"; /*]]>*/ data['printable']) ) { ?>media="print" href="text('stylepath') ?>/bluwiki_skin/clean.css" />

data['jsvarurl' ]) { ?>text('jsmimetype') ?>" src="text('jsvarurl'  ) ?>"> <?php } ?> <script type="<?php $this->text('jsmimetype') ?>" src="<?php                                  $this->text('stylepath' ) ?>/common/wikibits.js"> <?php if($this->data['usercss'  ]) { ?><style type="text/css"><?php              $this->html('usercss'   ) ?> <?php    } ?> <?php if($this->data['userjs'   ]) { ?><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('userjs'    ) ?>"> <?php } ?> <?php if($this->data['userjsprev']) { ?><script type="<?php $this->text('jsmimetype') ?>"><?php     $this->html('userjsprev') ?> <?php   } ?> <?php if($this->data['trackbackhtml']) print $this->data['trackbackhtml']; ?> <body <?php if($this->data['body_ondblclick']) { ?>ondblclick="<?php $this->text('body_ondblclick') ?>"<?php } ?> <?php if($this->data['body_onload'   ]) { ?>onload="<?php     $this->text('body_onload')     ?>"<?php } ?> <?php if($this->data['nsclass'       ]) { ?>class="<?php      $this->text('nsclass')         ?>"<?php } ?>>

<?php foreach($this->data['personal_urls'] as $key => $item) { if ($key == 'userpage' || $key =='anonlogin' || $key == 'login'){ ?> <a href="<?php echo htmlspecialchars($item['href']) ?>"<?php if(!empty($item['class'])) { ?> class="<?php			   echo htmlspecialchars($item['class']) ?>"<?php } ?> title="<?php echo htmlspecialchars($item['text']) ?>"><?php echo htmlspecialchars($item['text']) ?></a> <?php } if ($key == 'logout'){ ?> <a href="<?php echo htmlspecialchars($item['href']) ?>"<?php if(!empty($item['class'])) { ?> class="<?php			   echo htmlspecialchars($item['class']) ?>"<?php } ?> title="<?php echo htmlspecialchars($item['text']) ?>"><img src="<?php $this->text('stylepath') ?>/bluwiki_skin/<?php echo htmlspecialchars($item['text']) ?>-small.png" alt="<?php echo htmlspecialchars($item['text']) ?>"/></a> <?php } } ?>		<?php foreach($this->data['content_actions'] as $key => $action) { if ($key == 'edit' || $key == 'history' || $key == 'watch' || $key == 'unwatch' || $key == 'talk'){ ?> <a href="<?php echo htmlspecialchars($action['href']);?>" title="<?php echo htmlspecialchars($action['text']) ?>"><img src="<?php $this->text('stylepath') ?>/bluwiki_skin/<?php echo htmlspecialchars($action['text']) ?>-small.png" class="<?php echo htmlspecialchars($action['class']) ?>" alt="<?php echo htmlspecialchars($action['text']) ?>"/></a> <?php } ?> <?php if ($key == 'nstab-main' || $key == 'nstab-user' || $key == 'nstab-wp' || $key == 'nstab-help'){ ?> <a href="<?php echo htmlspecialchars($action['href']);?>" title="<?php echo htmlspecialchars($action['text']) ?>"><img src="<?php $this->text('stylepath') ?>/bluwiki_skin/Article-small.png" class="<?php echo htmlspecialchars($action['class']) ?>" alt="<?php echo htmlspecialchars($action['text']) ?>"/></a> <?php } ?> <?php } ?> <a href="#toolbox" title="Go to the site toolbox"><img src="<?php $this->text('stylepath') ?>/bluwiki_skin/Gobottom-small.png" alt="Go to the site toolbox" /></a>

<a name="top" id="contentTop"></a> <?php if($this->data['sitenotice']) { ?> <?php $this->html('sitenotice') ?> <?php } ?> <h1 class="firstHeading"><?php $this->text('title') ?> <h3 id="siteSub"><?php $this->msg('tagline') ?> <?php $this->html('subtitle') ?> <?php if($this->data['undelete']) { ?> <?php    $this->html('undelete') ?> <?php } ?> <?php if($this->data['newtalk'] ) { ?> <?php $this->html('newtalk') ?> <?php } ?> <?php $this->html('bodytext') ?> <?php if($this->data['catlinks']) { ?> <?php      $this->html('catlinks') ?> <?php } ?>

</a> Site Toolbox: <label for="searchInput"><?php $this->msg('search') ?> <form name="searchform" action="<?php $this->text('searchaction') ?>" id="searchform"> <input id="searchInput" name="search" type="text" <?php if($this->haveMsg('accesskey-search')) { ?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php } if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> /> <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('go') ?>" /><input type='submit' name="fulltext" class="searchButton" value="<?php $this->msg('search') ?>" /> <?php $this->msg('views') ?> <ul> <?php foreach($this->data['content_actions'] as $key => $action) { ?><li id="ca-<?php echo htmlspecialchars($key) ?>" <?php if($action['class']) { ?>class="<?php echo htmlspecialchars($action['class']) ?>"<?php } ?> ><a href="<?php echo htmlspecialchars($action['href']) ?>"><?php echo htmlspecialchars($action['text']) ?></a></li><?php } ?>		</ul>

<?php $this->msg('toolbox') ?> <ul> <?php if($this->data['notspecialpage']) { foreach( array( 'whatlinkshere', 'recentchangeslinked' ) as $special ) { ?> <li id="t-<?php echo $special?>"><a href="<?php		   echo htmlspecialchars($this->data['nav_urls'][$special]['href'])		    ?>"><?php echo $this->msg($special) ?></a></li> <?php } } ?> <?php if(isset($this->data['nav_urls']['trackbacklink'])) { ?> <li id="t-trackbacklink"><a href="<?php		   echo htmlspecialchars($this->data['nav_urls']['trackbacklink']['href'])		    ?>"><?php echo $this->msg('trackbacklink') ?></a></li> <?php } ?> <?php if($this->data['feeds']) { ?> <?php foreach($this->data['feeds'] as $key => $feed) { ?><span id="feed-<?php echo htmlspecialchars($key) ?>"><a href="<?php	       echo htmlspecialchars($feed['href']) ?>"><?php echo htmlspecialchars($feed['text'])?></a> <?php } ?></li><?php } ?> <?php foreach( array('contributions', 'emailuser', 'upload', 'specialpages') as $special ) { ?> <?php if($this->data['nav_urls'][$special]) {?><li id="t-<?php echo $special ?>"><a href="<?php	       echo htmlspecialchars($this->data['nav_urls'][$special]['href'])	        ?>"><?php $this->msg($special) ?></a></li><?php } ?> <?php } ?> <?php if(!empty($this->data['nav_urls']['print']['href'])) { ?> <li id="t-print"><a href="<?php		   echo htmlspecialchars($this->data['nav_urls']['print']['href'])		    ?>"><?php echo $this->msg('printableversion') ?></a></li> <?php } ?> </ul>

<?php $this->msg('personaltools') ?> <ul> <?php foreach($this->data['personal_urls'] as $key => $item) { ?><li id="pt-<?php echo htmlspecialchars($key) ?>"><a href="<?php	      echo htmlspecialchars($item['href']) ?>"<?php if(!empty($item['class'])) { ?> class="<?php	      echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php echo htmlspecialchars($item['text']) ?></a></li><?php } ?>	   </ul>

<a style="background-image: url(<?php $this->text('logopath') ?>);" href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>" title="<?php $this->msg('mainpage') ?>"></a> <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha; <?php foreach ($this->data['sidebar'] as $bar => $cont) { ?> <div class='portlet' id='p-<?php echo htmlspecialchars($bar) ?>'> <?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?> <ul> <?php foreach($cont as $key => $val) { ?> <li id="<?php echo htmlspecialchars($val['id']) ?>"><a href="<?php echo htmlspecialchars($val['href']) ?>"><?php echo htmlspecialchars($val['text'])?></a></li> <?php } ?> </ul> <?php } ?>

<?php if( $this->data['language_urls'] ) { ?> <?php $this->msg('otherlanguages') ?> <ul> <?php foreach($this->data['language_urls'] as $langlink) { ?> <li class="<?php echo htmlspecialchars($langlink['class'])?>"> <a href="<?php echo htmlspecialchars($langlink['href'])	       ?>"><?php echo $langlink['text'] ?></a> </li> <?php } ?> </ul> <?php } ?>

<?php $this->html('reporttime') ?>

<?php if (file_exists("google_stats.php")) { include ("google_stats.php"); }	if (file_exists("honeypot.php")) { include ("honeypot.php"); }	?>

<?php wfRestoreWarnings; } } ?>