2 rcs_id('$Id: themeinfo.php,v 1.26 2003-02-24 22:06:18 dairiki 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 // This should result in phpwiki-printer.css being used when
17 // printing or print-previewing with style "PhpWiki" selected.
18 $Theme->setDefaultCSS('PhpWiki',
19 array('' => 'phpwiki.css',
20 'print' => 'phpwiki-printer.css'));
22 // This allows one to manually select "Printer" style (when browsing page)
23 // to see what the printer style looks like.
24 //$Theme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css');
25 $Theme->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
26 $Theme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
30 * The logo image appears on every page and links to the HomePage.
32 //$Theme->addImageAlias('logo', 'logo.png');
35 * The Signature image is shown after saving an edited page. If this
36 * is not set, any signature defined in index.php will be used. If it
37 * is not defined by index.php or in here then the "Thank you for
38 * editing..." screen will be omitted.
41 // Comment this next line out to enable signature.
42 $Theme->addImageAlias('signature', false);
47 $Theme->setLinkIcon('http');
48 $Theme->setLinkIcon('https');
49 $Theme->setLinkIcon('ftp');
50 $Theme->setLinkIcon('mailto');
51 $Theme->setLinkIcon('interwiki');
52 $Theme->setLinkIcon('*', 'url');
54 $Theme->setButtonSeparator("\n | ");
57 * WikiWords can automatically be split by inserting spaces between
58 * the words. The default is to leave WordsSmashedTogetherLikeSo.
60 //$Theme->setAutosplitWikiWords(false);
63 * You may adjust the formats used for formatting dates and times
64 * below. (These examples give the default formats.)
65 * Formats are given as format strings to PHP strftime() function See
66 * http://www.php.net/manual/en/function.strftime.php for details.
67 * Do not include the server's zone (%Z), times are converted to the
70 //$Theme->setDateFormat("%B %e, %Y");
71 //$Theme->setTimeFormat("%l:%M %p");
74 * To suppress times in the "Last edited on" messages, give a
75 * give a second argument of false:
77 //$Theme->setDateFormat("%B %e, %Y", false);
80 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
81 // (c-file-style: "gnu")
86 // c-hanging-comment-ender-p: nil
87 // indent-tabs-mode: nil