2 rcs_id('$Id: themeinfo.php,v 1.2 2004-06-14 11:26:45 rurban Exp $');
5 * This file defines the default appearance ("theme") of PhpWiki.
8 require_once('lib/Theme.php');
10 $WikiTheme = new Theme('Crao');
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 $WikiTheme->setDefaultCSS('Crao',
19 array('' => 'crao.css',
22 // This allows one to manually select "Printer" style (when browsing page)
23 // to see what the printer style looks like.
24 //$WikiTheme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css');
25 //$WikiTheme->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
26 //$WikiTheme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
30 * The logo image appears on every page and links to the HomePage.
32 //$WikiTheme->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 $WikiTheme->addImageAlias('signature', false);
47 $WikiTheme->setLinkIcon('http');
48 $WikiTheme->setLinkIcon('https');
49 $WikiTheme->setLinkIcon('ftp');
50 $WikiTheme->setLinkIcon('mailto');
51 $WikiTheme->setLinkIcon('interwiki');
52 $WikiTheme->setLinkIcon('*', 'url');
54 $WikiTheme->setButtonSeparator(HTML::raw(" | "));
57 * WikiWords can automatically be split by inserting spaces between
58 * the words. The default is to leave WordsSmashedTogetherLikeSo.
60 $WikiTheme->setAutosplitWikiWords(true);
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 //$WikiTheme->setDateFormat("%B %d, %Y");
71 //$WikiTheme->setTimeFormat("%I:%M %p");
74 * To suppress times in the "Last edited on" messages, give a
75 * give a second argument of false:
77 //$WikiTheme->setDateFormat("%B %d, %Y", false);
78 $WikiTheme->setDateFormat("%A %e %B %Y"); // must not contain time
79 //$WikiTheme->setDateFormat("%x"); // must not contain time
80 $WikiTheme->setTimeFormat("%H:%M:%S");
81 //$WikiTheme->setTimeFormat("%X");
85 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
86 // (c-file-style: "gnu")
91 // c-hanging-comment-ender-p: nil
92 // indent-tabs-mode: nil