From: Antoine Musso Date: Thu, 12 Aug 2004 14:37:15 +0000 (+0000) Subject: Very simple documentation. X-Git-Tag: 1.5.0alpha1~2394 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=4ca518aa5a275eab9e0d316094e1938efc47fdcc;p=lhc%2Fweb%2Fwiklou.git Very simple documentation. --- 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/ .