]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/themeinfo.php
LANG still broken, working on better locale handling.
[SourceForge/phpwiki.git] / themes / default / themeinfo.php
1 <?php
2 rcs_id('$Id: themeinfo.php,v 1.24 2002-08-27 21:51:31 rurban Exp $');
3
4 /*
5  * This file defines the default appearance ("theme") of PhpWiki.
6  */
7
8 require_once('lib/Theme.php');
9
10 $Theme = new Theme('default');
11
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.
15
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');
20
21 /**
22  * The logo image appears on every page and links to the HomePage.
23  */
24 //$Theme->addImageAlias('logo', 'logo.png');
25
26 /**
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.
31  */
32
33 // Comment this next line out to enable signature.
34 $Theme->addImageAlias('signature', false);
35
36 /*
37  * Link icons.
38  */
39 $Theme->setLinkIcon('http');
40 $Theme->setLinkIcon('https');
41 $Theme->setLinkIcon('ftp');
42 $Theme->setLinkIcon('mailto');
43 $Theme->setLinkIcon('interwiki');
44 $Theme->setLinkIcon('*', 'url');
45
46 $Theme->setButtonSeparator("\n | ");
47
48 /**
49  * WikiWords can automatically be split by inserting spaces between
50  * the words. The default is to leave WordsSmashedTogetherLikeSo.
51  */
52 //$Theme->setAutosplitWikiWords(false);
53
54 /*
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
60  * user's time zone.
61  */
62 //$Theme->setDateFormat("%B %e, %Y");
63 //$Theme->setTimeFormat("%l:%M %p");
64
65 /*
66  * To suppress times in the "Last edited on" messages, give a
67  * give a second argument of false:
68  */
69 //$Theme->setDateFormat("%B %e, %Y", false); 
70
71
72 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
73 // (c-file-style: "gnu")
74 // Local Variables:
75 // mode: php
76 // tab-width: 8
77 // c-basic-offset: 4
78 // c-hanging-comment-ender-p: nil
79 // indent-tabs-mode: nil
80 // End:   
81 ?>