From: Carsten K. <car...@us...> - 2001-11-26 06:23:40
|
Update of /cvsroot/phpwiki/phpwiki In directory usw-pr-cvs1:/tmp/cvs-serv14235/phpwiki Modified Files: index.php Log Message: Signature, logo & css settings moved to /templates/theme, to allow for themes and and a step towards simplifying various paths (VIRTUAL_PATH, DATA_PATH) & http server directives. Index: index.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/index.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -r1.28 -r1.29 *** index.php 2001/11/14 17:07:07 1.28 --- index.php 2001/11/26 06:23:38 1.29 *************** *** 247,268 **** //putenv('LC_TIME=de_DE'); ! // If you specify a relative URL for the CSS and images, ! // the are interpreted relative to DATA_PATH (see below). ! // (The default value of DATA_PATH is the directory in which ! // index.php (this file) resides.) ! // CSS location ! // ! // Note that if you use the stock phpwiki style sheet, 'phpwiki.css', ! // you should make sure that it's companion 'phpwiki-heavy.css' ! // is installed in the same directory that the base style file is. ! define("CSS_URL", "phpwiki.css"); ! ! // logo image (path relative to index.php) ! $logo = "images/wikibase.png"; ! ! // Signature image which is shown after saving an edited page ! // If this is left blank (or unset), the signature will be omitted. ! //$SignatureImg = "images/signature.png"; // Date & time formats used to display modification times, etc. --- 247,258 ---- //putenv('LC_TIME=de_DE'); ! // Default PhpWiki theme is vanilla ! // Page logo and signature images are in the theme folder. ! // The appearance can be customized by creating additional folders inside templates. ! // See the file templates/vanilla/theme.php for additional info. ! // Eventually this could be set in user preferences, for now it's just a global. ! $theme = "vanilla"; ! include "templates/$theme/$theme.php"; // Date & time formats used to display modification times, etc. |