X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=skins%2FChick.php;h=c8eb81527c8237bc9f833eef20241d81e6c033cb;hb=41dbba42fb598b4ae3a0e92dede04163c6577f66;hp=1ac36dc201e63574d903c45918086f7a614d1b7e;hpb=7dbd56950b7eea282b35bc697b0208e799b0453e;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/Chick.php b/skins/Chick.php index 1ac36dc201..c8eb81527c 100644 --- a/skins/Chick.php +++ b/skins/Chick.php @@ -1,16 +1,32 @@ skinname = 'chick'; - $this->template = 'Chick'; - } - function suppressUrlExpansion() { return true; } - function printSource() { return ''; } -} +if( !defined( 'MEDIAWIKI' ) ) + die( -1 ); + +/** */ +require_once( dirname(__FILE__) . '/MonoBook.php' ); +/** + * Inherit main code from SkinTemplate, set the CSS and template filter. + * @ingroup Skins + */ +class SkinChick extends SkinTemplate { + var $skinname = 'chick', $stylename = 'chick', + $template = 'MonoBookTemplate', $useHeadElement = true; + + 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' ); + } } -?>