From 4ca518aa5a275eab9e0d316094e1938efc47fdcc Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 12 Aug 2004 14:37:15 +0000 Subject: [PATCH] Very simple documentation. --- docs/skin.doc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/skin.doc b/docs/skin.doc index 8fdc58e3a0..e77d3a0513 100644 --- a/docs/skin.doc +++ b/docs/skin.doc @@ -9,3 +9,23 @@ in the code itself to help reduce the code size. Unfortunately there isn't any documentation, and the code's in a bit of a mess right now during the transition from the old skin code to the new template-based skin code in 1.3. + +The following might help a bit though. + +The first file called is Skin.php, it will check various settings and create +a standard class. + +Before version 1.3, each skin had its own php file to generate the output. The +files are: + * SkinCologneBlue.php + * SkinNostalgia.php + * SkinStandard.php + * SkinWikimediaWiki.php +If you want to changes thoses skin you have to edit the php files + +Since 1.3 a new special skin file is available : SkinPHPTal.php. It makes use +of the PHPTal template engine and allow to easily split code and layout of the +pages. The default 1.3 skin is MonoBook and using the SkinPHPTAL class. + +To change the layout just edit the phptal template : ./templates/xhtml_slim.pt +as well as the stylesheets in ./stylesheets/monobook/ . -- 2.20.1