]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/themeinfo.php
New feature: Easier to run multiple wiks off of one set of code. Name
[SourceForge/phpwiki.git] / themes / default / themeinfo.php
1 <?php
2 rcs_id('$Id: themeinfo.php,v 1.29 2003-12-05 01:31:51 carstenklapp 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 // This should result in phpwiki-printer.css being used when
17 // printing or print-previewing with style "PhpWiki" or "MacOSX" selected.
18 $Theme->setDefaultCSS('PhpWiki',
19                        array(''      => 'phpwiki.css',
20                              'print' => 'phpwiki-printer.css'));
21
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', 'print, screen');
25 $Theme->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
26 $Theme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
27
28
29 /**
30  * The logo image appears on every page and links to the HomePage.
31  */
32 $Theme->addImageAlias('logo', WIKI_NAME . 'Logo.png');
33
34 /**
35  * The Signature image is shown after saving an edited page. If this
36  * is set to false then the "Thank you for editing..." screen will
37  * be omitted.
38  */
39
40 $Theme->addImageAlias('signature', WIKI_NAME . "Signature.png");
41 // Uncomment this next line to disable the signature.
42 //$Theme->addImageAlias('signature', false);
43
44 /*
45  * Link icons.
46  */
47 $Theme->setLinkIcon('http');
48 $Theme->setLinkIcon('https');
49 $Theme->setLinkIcon('ftp');
50 $Theme->setLinkIcon('mailto');
51 $Theme->setLinkIcon('interwiki');
52 $Theme->setLinkIcon('wikiuser');
53 $Theme->setLinkIcon('*', 'url');
54
55 $Theme->setButtonSeparator("\n | ");
56
57 /**
58  * WikiWords can automatically be split by inserting spaces between
59  * the words. The default is to leave WordsSmashedTogetherLikeSo.
60  */
61 //$Theme->setAutosplitWikiWords(false);
62
63 /*
64  * You may adjust the formats used for formatting dates and times
65  * below.  (These examples give the default formats.)
66  * Formats are given as format strings to PHP strftime() function See
67  * http://www.php.net/manual/en/function.strftime.php for details.
68  * Do not include the server's zone (%Z), times are converted to the
69  * user's time zone.
70  */
71 //$Theme->setDateFormat("%B %d, %Y");
72 //$Theme->setTimeFormat("%I:%M %p");
73
74 /*
75  * To suppress times in the "Last edited on" messages, give a
76  * give a second argument of false:
77  */
78 //$Theme->setDateFormat("%B %d, %Y", false); 
79
80
81 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
82 // (c-file-style: "gnu")
83 // Local Variables:
84 // mode: php
85 // tab-width: 8
86 // c-basic-offset: 4
87 // c-hanging-comment-ender-p: nil
88 // indent-tabs-mode: nil
89 // End:   
90 ?>