fix timestamp for expiry too
[mediawiki.git] / skins / SkinPHPTal.sample
bloba85702bc81b9b59e2610455d73a132e1df4625ac
1 <?php
2 # Test if PHPTal is enabled. If not MediaWiki will load the 'standard' skin
3 # which doesnt use PHPTal
4 if ($wgUsePHPTal) {
5 require_once('includes/SkinPHPTal.php');
7 # Your class extension is defined there.
9 # The class name MUST begin with 'Skin' and the rest is the name of the file
10 # excluding '.php'
11 # This file is named SkinPHPTal.sample (but it should end with php). So the
12 # class name will be 'Skin' . 'SkinPHPTal'
14 class SkinSkinPHPTal extends SkinPHPTal {
15         function initPage( &$out ) {
16                 SkinPHPTal::initPage( $out );
17                 $this->skinname = 'name of your skin all lower case';
18                 $this->template = 'phptal template used do not put the .pt';
19         }
21 # Override method below