]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/wikilens/themeinfo.php
sample theme needed for RateIt
[SourceForge/phpwiki.git] / themes / wikilens / themeinfo.php
1 <?php
2 rcs_id('$Id: themeinfo.php,v 1.1 2004-03-30 02:40:07 rurban Exp $');
3 /**
4  */
5 require_once('lib/Theme.php');
6
7 $Theme = new Theme('wikilens');
8
9 // CSS file defines fonts, colors and background images for this
10 // style.  The companion '*-heavy.css' file isn't defined, it's just
11 // expected to be in the same directory that the base style is in.
12
13 // This should result in phpwiki-printer.css being used when
14 // printing or print-previewing with style "PhpWiki" or "MacOSX" selected.
15 $Theme->setDefaultCSS('PhpWiki',
16                        array(''      => 'phpwiki.css',
17                              'print' => 'phpwiki-printer.css'));
18
19 // This allows one to manually select "Printer" style (when browsing page)
20 // to see what the printer style looks like.
21 $Theme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css', 'print, screen');
22 $Theme->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
23 $Theme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
24
25 /**
26  * The logo image appears on every page and links to the HomePage.
27  */
28 $Theme->addImageAlias('logo', WIKI_NAME . 'Logo.png');
29
30 /**
31  * The Signature image is shown after saving an edited page. If this
32  * is set to false then the "Thank you for editing..." screen will
33  * be omitted.
34  */
35
36 $Theme->addImageAlias('signature', WIKI_NAME . "Signature.png");
37 // Uncomment this next line to disable the signature.
38 $Theme->addImageAlias('signature', false);
39
40 /*
41  * Link icons.
42  */
43 //$Theme->setLinkIcon('http');
44 $Theme->setLinkIcon('https');
45 $Theme->setLinkIcon('ftp');
46 $Theme->setLinkIcon('mailto');
47 //$Theme->setLinkIcon('interwiki');
48 //$Theme->setLinkIcon('wikiuser');
49 //$Theme->setLinkIcon('*', 'url');
50
51 //$Theme->setButtonSeparator("\n | ");
52
53 /**
54  * WikiWords can automatically be split by inserting spaces between
55  * the words. The default is to leave WordsSmashedTogetherLikeSo.
56  */
57 //$Theme->setAutosplitWikiWords(false);
58
59 /**
60  * Layout improvement with dangling links for mostly closed wiki's:
61  * If false, only users with edit permissions will be presented the 
62  * special wikiunknown class with "?" and Tooltip.
63  * If true (default), any user will see the ?, but will be presented 
64  * the PrintLoginForm on a click.
65  */
66 $Theme->setAnonEditUnknownLinks(false);
67
68 /*
69  * You may adjust the formats used for formatting dates and times
70  * below.  (These examples give the default formats.)
71  * Formats are given as format strings to PHP strftime() function See
72  * http://www.php.net/manual/en/function.strftime.php for details.
73  * Do not include the server's zone (%Z), times are converted to the
74  * user's time zone.
75  */
76 $Theme->setDateFormat("%B %d, %Y");
77 $Theme->setTimeFormat("%H:%M");
78
79 /*
80  * To suppress times in the "Last edited on" messages, give a
81  * give a second argument of false:
82  */
83 //$Theme->setDateFormat("%B %d, %Y", false); 
84
85
86 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
87 // (c-file-style: "gnu")
88 // Local Variables:
89 // mode: php
90 // tab-width: 8
91 // c-basic-offset: 4
92 // c-hanging-comment-ender-p: nil
93 // indent-tabs-mode: nil
94 // End:   
95 ?>