]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/themeinfo.php
CSS adjustments: Added Printer stylesheet back in as an alternate
[SourceForge/phpwiki.git] / themes / default / themeinfo.php
1 <?php
2 rcs_id('$Id: themeinfo.php,v 1.28 2003-12-01 18:45:47 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', 'logo.png');
33
34 /**
35  * The Signature image is shown after saving an edited page. If this
36  * is not set, any signature defined in index.php will be used. If it
37  * is not defined by index.php or in here then the "Thank you for
38  * editing..." screen will be omitted.
39  */
40
41 // Comment this next line out to enable 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('*', 'url');
53
54 $Theme->setButtonSeparator("\n | ");
55
56 /**
57  * WikiWords can automatically be split by inserting spaces between
58  * the words. The default is to leave WordsSmashedTogetherLikeSo.
59  */
60 //$Theme->setAutosplitWikiWords(false);
61
62 /*
63  * You may adjust the formats used for formatting dates and times
64  * below.  (These examples give the default formats.)
65  * Formats are given as format strings to PHP strftime() function See
66  * http://www.php.net/manual/en/function.strftime.php for details.
67  * Do not include the server's zone (%Z), times are converted to the
68  * user's time zone.
69  */
70 //$Theme->setDateFormat("%B %d, %Y");
71 //$Theme->setTimeFormat("%I:%M %p");
72
73 /*
74  * To suppress times in the "Last edited on" messages, give a
75  * give a second argument of false:
76  */
77 //$Theme->setDateFormat("%B %d, %Y", false); 
78
79
80 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
81 // (c-file-style: "gnu")
82 // Local Variables:
83 // mode: php
84 // tab-width: 8
85 // c-basic-offset: 4
86 // c-hanging-comment-ender-p: nil
87 // indent-tabs-mode: nil
88 // End:   
89 ?>