2 rcs_id('$Id: themeinfo.php,v 1.23 2002-02-09 20:59:28 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(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
19 $Theme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
22 * The logo image appears on every page and links to the HomePage.
24 //$Theme->addImageAlias('logo', 'logo.png');
27 * The Signature image is shown after saving an edited page. If this
28 * is not set, any signature defined in index.php will be used. If it
29 * is not defined by index.php or in here then the "Thank you for
30 * editing..." screen will be omitted.
33 // Comment this next line out to enable signature.
34 $Theme->addImageAlias('signature', false);
39 $Theme->setLinkIcon('http');
40 $Theme->setLinkIcon('https');
41 $Theme->setLinkIcon('ftp');
42 $Theme->setLinkIcon('mailto');
43 $Theme->setLinkIcon('interwiki');
44 $Theme->setLinkIcon('*', 'url');
46 //$Theme->setButtonSeparator(' | ');
49 * WikiWords can automatically be split by inserting spaces between
50 * the words. The default is to leave WordsSmashedTogetherLikeSo.
52 //$Theme->setAutosplitWikiWords(false);
55 * You may adjust the formats used for formatting dates and times
56 * below. (These examples give the default formats.)
57 * Formats are given as format strings to PHP strftime() function See
58 * http://www.php.net/manual/en/function.strftime.php for details.
59 * Do not include the server's zone (%Z), times are converted to the
62 //$Theme->setDateFormat("%B %e, %Y");
63 //$Theme->setTimeFormat("%l:%M %p");
66 * To suppress times in the "Last edited on" messages, give a
67 * give a second argument of false:
69 //$Theme->setDateFormat("%B %e, %Y", false);
72 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
73 // (c-file-style: "gnu")
78 // c-hanging-comment-ender-p: nil
79 // indent-tabs-mode: nil