]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/themeinfo.php
Moved much theme configuration out of index.php into themeinfo.php.
[SourceForge/phpwiki.git] / themes / default / themeinfo.php
1 <?php
2 rcs_id('$Id: themeinfo.php,v 1.13 2002-01-17 20:34:01 dairiki 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(_("Modern"), 'phpwiki-modern.css');
19
20
21 /*
22  * You may adjust the formats used for formatting dates and times
23  * below.  (These examples give the default formats.)
24  * Formats are given as format strings to PHP strftime() function See
25  * http://www.php.net/manual/en/function.strftime.php for details.
26  */
27 //$Theme->setDateTimeFormat("%B %e, %Y");   // may contain time of day
28 //$Theme->setDateFormat("%B %e, %Y");       // must not contain time
29
30 /*
31  * Link icons.
32  */
33 $Theme->setLinkIcon('http');
34 $Theme->setLinkIcon('https');
35 $Theme->setLinkIcon('ftp');
36 $Theme->setLinkIcon('mailto');
37 $Theme->setLinkIcon('interwiki');
38 $Theme->setLinkIcon('*', 'url');
39
40 // This defines separators used in RecentChanges and RecentEdits lists.
41 // If undefined, defaults to '' (nothing) and '...' (three periods).
42 //define("RC_SEPARATOR_A", '. . . ');
43 //define("RC_SEPARATOR_B", '. . . . . ');
44
45 // Controls whether the '?' appears before or after UnknownWikiWords.
46 // The PhpWiki default is for the '?' to appear before.
47 //define('WIKIMARK_AFTER', true);
48
49 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
50 // (c-file-style: "gnu")
51 // Local Variables:
52 // mode: php
53 // tab-width: 8
54 // c-basic-offset: 4
55 // c-hanging-comment-ender-p: nil
56 // indent-tabs-mode: nil
57 // End:   
58 ?>