Typo
[lhc/web/wiklou.git] / skins / Chick.php
index e56a17b..a95a72c 100644 (file)
@@ -1,30 +1,38 @@
 <?php
 /**
- * See skin.txt
+ * See docs/skin.txt
  *
  * @todo document
- * @package MediaWiki
- * @subpackage Skins
+ * @file
+ * @ingroup Skins
  */
 
 if( !defined( 'MEDIAWIKI' ) )
-       die();
+       die( -1 );
 
 /** */
-require_once('MonoBook.php');
+require_once( dirname(__FILE__) . '/MonoBook.php' );
 
 /**
  * @todo document
- * @package MediaWiki
- * @subpackage Skins
+ * @ingroup Skins
  */
 class SkinChick extends SkinTemplate {
-       function initPage( &$out ) {
+       function initPage( OutputPage $out ) {
                SkinTemplate::initPage( $out );
                $this->skinname  = 'chick';
                $this->stylename = 'chick';
                $this->template  = 'MonoBookTemplate';
        }
+
+       function setupSkinUserCss( OutputPage $out ){
+               parent::setupSkinUserCss( $out );
+               // Append to the default screen common & print styles...
+               $out->addStyle( 'chick/main.css', 'screen,handheld' );
+               $out->addStyle( 'chick/IE50Fixes.css', 'screen,handheld', 'lt IE 5.5000' );
+               $out->addStyle( 'chick/IE55Fixes.css', 'screen,handheld', 'IE 5.5000' );
+               $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' );
+       }
 }
 
-?>
+