From: <var...@us...> - 2010-09-17 08:46:26
|
Revision: 7690 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7690&view=rev Author: vargenau Date: 2010-09-17 08:46:20 +0000 (Fri, 17 Sep 2010) Log Message: ----------- Update themes documentation Modified Paths: -------------- trunk/doc/THEMES trunk/themes/Crao/themeinfo.php trunk/themes/MonoBook/themeinfo.php trunk/themes/README trunk/themes/blog/themeinfo.php Modified: trunk/doc/THEMES =================================================================== --- trunk/doc/THEMES 2010-09-17 08:41:10 UTC (rev 7689) +++ trunk/doc/THEMES 2010-09-17 08:46:20 UTC (rev 7690) @@ -1,4 +1,4 @@ -! Brief Example of Creating Your Own WikiTheme +== Brief Example of Creating Your Own WikiTheme == To create or modify one of the existing themes: * Make a copy of one of the themes. @@ -23,7 +23,7 @@ of your theme to index.php. define('THEME','NewName'); -! Template Structure +== Template Structure == Templates currently must use the .tmpl extension (simple PHP parsed files). Other file extensions are reserved for future use (i.e. .tpl for Smarty or @@ -58,4 +58,4 @@ to produce validating XHTML, by using custom templates not. ---- -PhpWikiDocumentation +[[PhpWikiDocumentation]] Modified: trunk/themes/Crao/themeinfo.php =================================================================== --- trunk/themes/Crao/themeinfo.php 2010-09-17 08:41:10 UTC (rev 7689) +++ trunk/themes/Crao/themeinfo.php 2010-09-17 08:46:20 UTC (rev 7690) @@ -9,7 +9,7 @@ // rcs_id('$Id$'); /* - * This file defines the default appearance ("theme") of PhpWiki. + * This file defines the Crao theme of PhpWiki. */ require_once('lib/WikiTheme.php'); Modified: trunk/themes/MonoBook/themeinfo.php =================================================================== --- trunk/themes/MonoBook/themeinfo.php 2010-09-17 08:41:10 UTC (rev 7689) +++ trunk/themes/MonoBook/themeinfo.php 2010-09-17 08:46:20 UTC (rev 7690) @@ -49,9 +49,7 @@ $WikiTheme->makeActionButton($action, $label, $page_or_rev, $options)); } -class WikiTheme_MonoBook -/* extends WikiTheme */ -extends WikiTheme_Wikilens +class WikiTheme_MonoBook extends WikiTheme_Wikilens { /* this adds selected to the class */ Modified: trunk/themes/README =================================================================== --- trunk/themes/README 2010-09-17 08:41:10 UTC (rev 7689) +++ trunk/themes/README 2010-09-17 08:46:20 UTC (rev 7690) @@ -1,24 +1,30 @@ Some files may be removed from this directory to save space, if -needed: - -17k Portland -16k smaller -175k Hawaiian -235k MacOSX -151 Sidebar -115k SpaceWiki -21k wikilens -27k Wordpress - +needed. *The default theme must always be present,* even when using another theme! Wherever a theme has no specific variant (override) of a template or button or image, PhpWiki will look for one in the default theme. Same with the language: Language and theme specific specific buttons will be search in sub-directories like <theme>/buttons/en, and if none will be found, -the default buttons, which might be language-indepedent, in default/buttons +the default buttons, which might be language-independent, in default/buttons will be used. +List of current themes: +* default +* blog +* Crao +* fusionforge (extends wikilens, can be used only with Fusionforge) +* Hawaiian +* MacOSX +* MonoBook (extends wikilens) +* Portland +* shamino_com +* Sidebar (extends MonoBook) +* smaller +* SpaceWiki +* wikilens +* Wordpress + See doc/THEMES for more info on PhpWiki themes. TODO: Modified: trunk/themes/blog/themeinfo.php =================================================================== --- trunk/themes/blog/themeinfo.php 2010-09-17 08:41:10 UTC (rev 7689) +++ trunk/themes/blog/themeinfo.php 2010-09-17 08:46:20 UTC (rev 7690) @@ -44,7 +44,6 @@ */ require_once('lib/WikiTheme.php'); -//require_once('themes/Sidebar/themeinfo.php'); class WikiTheme_blog extends WikiTheme { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |