2 rcs_id('$Id: themeinfo.php,v 1.18 2002-01-19 20:38:09 carstenklapp Exp $');
5 * This file defines the default appearance ("theme") of PhpWiki.
8 require_once('lib/Theme.php');
10 $Theme = new Theme('default');
12 // CSS file defines fonts, colors and background images for this
13 // style. The companion '*-heavy.css' file isn't defined, it's just
14 // expected to be in the same directory that the base style is in.
16 $Theme->setDefaultCSS('PhpWiki', 'phpwiki.css');
17 $Theme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css', 'print, screen');
18 $Theme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
21 * The logo image appears on every page and links to the HomePage.
23 //$Theme->addImageAlias('logo', 'logo.png');
26 * The Signature image is shown after saving an edited page. If this
27 * is not set, any signature defined in index.php will be used. If it
28 * is not defined by index.php or in here then the "Thank you for
29 * editing..." screen will be omitted.
31 //$Theme->addImageAlias('signature', 'signature.png');
36 $Theme->setLinkIcon('http');
37 $Theme->setLinkIcon('https');
38 $Theme->setLinkIcon('ftp');
39 $Theme->setLinkIcon('mailto');
40 $Theme->setLinkIcon('interwiki');
41 $Theme->setLinkIcon('*', 'url');
43 //$Theme->setButtonSeparator(' | ');
46 * WikiWords can automatically be split by inserting spaces between
47 * the words. The default is to leave WordsSmashedTogetherLikeSo.
49 //$Theme->setAutosplitWikiWords(false);
52 * You may adjust the formats used for formatting dates and times
53 * below. (These examples give the default formats.)
54 * Formats are given as format strings to PHP strftime() function See
55 * http://www.php.net/manual/en/function.strftime.php for details.
57 //$Theme->setDateTimeFormat("%B %e, %Y"); // may contain time of day
58 //$Theme->setDateFormat("%B %e, %Y"); // must not contain time
61 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
62 // (c-file-style: "gnu")
67 // c-hanging-comment-ender-p: nil
68 // indent-tabs-mode: nil