3 rcs_id('$Id: themeinfo.php,v 1.16 2002-01-19 20:38:09 carstenklapp Exp $');
6 * WikiWiki Hawaiian theme for PhpWiki.
9 require_once('lib/Theme.php');
11 $Theme = new Theme('Hawaiian');
13 // CSS file defines fonts, colors and background images for this
14 // style. The companion '*-heavy.css' file isn't defined, it's just
15 // expected to be in the same directory that the base style is in.
17 $Theme->setDefaultCSS('Hawaiian', 'Hawaiian.css');
18 $Theme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css', 'print, screen');
19 $Theme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
20 $Theme->addAlternateCSS('PhpWiki', 'phpwiki.css');
23 * The logo image appears on every page and links to the HomePage.
25 $Theme->addImageAlias('logo', 'PalmBeach.jpg');
28 * The Signature image is shown after saving an edited page. If this
29 * is not set, any signature defined in index.php will be used. If it
30 * is not defined by index.php or in here then the "Thank you for
31 * editing..." screen will be omitted.
33 //$Theme->addImageAlias('signature', 'SubmersiblePiscesV.jpg');
34 $Theme->addImageAlias('signature', 'WaterFall.jpg');
36 // If you want to see more than just the waterfall let a random
37 // picture be chosen for the signature image:
38 require_once('lib/random.php');
39 $imgSet = new ImageSet("themes/Hawaiian/images/pictures");
40 $imgFile = "pictures/" . $imgSet->pickRandomImage();
41 $Theme->addImageAlias('signature', $imgFile);
43 //To test out the randomization just use logo instead of signature
44 //$Theme->addImageAlias('logo', $imgFile);
49 $Theme->setLinkIcon('interwiki');
50 $Theme->setLinkIcon('*', 'flower.png');
52 //$Theme->setButtonSeparator(' | ');
55 * WikiWords can automatically be split by inserting spaces between
56 * the words. The default is to leave WordsSmashedTogetherLikeSo.
58 //$Theme->setAutosplitWikiWords(false);
61 * You may adjust the formats used for formatting dates and times
62 * below. (These examples give the default formats.)
63 * Formats are given as format strings to PHP strftime() function See
64 * http://www.php.net/manual/en/function.strftime.php for details.
66 //$Theme->setDateTimeFormat("%B %e, %Y"); // may contain time of day
67 //$Theme->setDateFormat("%B %e, %Y"); // must not contain time
70 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
71 // (c-file-style: "gnu")
76 // c-hanging-comment-ender-p: nil
77 // indent-tabs-mode: nil