(bug 5378) General logs link in Special:Contributions
[lhc/web/wiklou.git] / skins / SkinPHPTal.sample
1 <?php
2 require_once('includes/SkinPHPTal.php');
3
4 # Test if PHPTal is enabled. If not MediaWiki will load the 'standard' skin
5 # which doesnt use PHPTal
6 if( class_exists( 'SkinPHPTal' ) ) {
7
8 # Your class extension is defined there.
9 #
10 # The class name MUST begin with 'Skin' and the rest is the name of the file
11 # excluding '.php'
12 # This file is named SkinPHPTal.sample (but it should end with php). So the
13 # class name will be 'Skin' . 'SkinPHPTal'
14
15 class SkinSkinPHPTal extends SkinPHPTal {
16 function initPage( &$out ) {
17 SkinPHPTal::initPage( $out );
18 $this->skinname = 'name of your skin all lower case';
19 $this->template = 'phptal template used do not put the .pt';
20 }
21
22 # Override method below
23 #
24
25 }
26
27 }
28 ?>