]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Hawaiian/themeinfo.php
New autosplitWikiWords property of Theme. Comments cleanup.
[SourceForge/phpwiki.git] / themes / Hawaiian / themeinfo.php
1 <?php
2
3 rcs_id('$Id: themeinfo.php,v 1.16 2002-01-19 20:38:09 carstenklapp Exp $');
4
5 /**
6  * WikiWiki Hawaiian theme for PhpWiki.
7  */
8
9 require_once('lib/Theme.php');
10
11 $Theme = new Theme('Hawaiian');
12
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.
16
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');
21
22 /**
23  * The logo image appears on every page and links to the HomePage.
24  */
25 $Theme->addImageAlias('logo', 'PalmBeach.jpg');
26
27 /**
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.
32  */
33 //$Theme->addImageAlias('signature', 'SubmersiblePiscesV.jpg');
34 $Theme->addImageAlias('signature', 'WaterFall.jpg');
35
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);
42
43 //To test out the randomization just use logo instead of signature
44 //$Theme->addImageAlias('logo', $imgFile);
45
46 /*
47  * Link Icons
48  */
49 $Theme->setLinkIcon('interwiki');
50 $Theme->setLinkIcon('*', 'flower.png');
51
52 //$Theme->setButtonSeparator(' | ');
53
54 /**
55  * WikiWords can automatically be split by inserting spaces between
56  * the words. The default is to leave WordsSmashedTogetherLikeSo.
57  */
58 //$Theme->setAutosplitWikiWords(false);
59
60 /*
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.
65  */
66 //$Theme->setDateTimeFormat("%B %e, %Y");   // may contain time of day
67 //$Theme->setDateFormat("%B %e, %Y");       // must not contain time
68
69
70 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
71 // (c-file-style: "gnu")
72 // Local Variables:
73 // mode: php
74 // tab-width: 8
75 // c-basic-offset: 4
76 // c-hanging-comment-ender-p: nil
77 // indent-tabs-mode: nil
78 // End:   
79 ?>