]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/wikilens/themeinfo.php
better desc
[SourceForge/phpwiki.git] / themes / wikilens / themeinfo.php
1 <?php
2 rcs_id('$Id: themeinfo.php,v 1.8 2004-06-18 15:17:19 rurban Exp $');
3 /**
4  * The wikilens theme is just a normal Theme (can be based on any, here based on default),
5  * which additionally loads some wikilens libraries.
6  * And of course it has it's own set of icons for the ratingwidget.
7  */
8 require_once('lib/Theme.php');
9
10 $WikiTheme = new Theme('wikilens');
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 $WikiTheme->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 $WikiTheme->addAlternateCSS(_("Printer"), 'phpwiki-printer.css', 'print, screen');
25 $WikiTheme->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
26 $WikiTheme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
27
28 /**
29  * The logo image appears on every page and links to the HomePage.
30  */
31 $WikiTheme->addImageAlias('logo', WIKI_NAME . 'Logo.png');
32
33 /**
34  * The Signature image is shown after saving an edited page. If this
35  * is set to false then the "Thank you for editing..." screen will
36  * be omitted.
37  */
38
39 $WikiTheme->addImageAlias('signature', WIKI_NAME . "Signature.png");
40 // Uncomment this next line to disable the signature.
41 $WikiTheme->addImageAlias('signature', false);
42
43 /*
44  * Link icons.
45  */
46 //$WikiTheme->setLinkIcon('http');
47 $WikiTheme->setLinkIcon('https');
48 $WikiTheme->setLinkIcon('ftp');
49 $WikiTheme->setLinkIcon('mailto');
50 //$WikiTheme->setLinkIcon('interwiki');
51 $WikiTheme->setLinkIcon('wikiuser');
52 //$WikiTheme->setLinkIcon('*', 'url');
53
54 //$WikiTheme->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 //$WikiTheme->setAutosplitWikiWords(false);
61
62 /**
63  * Layout improvement with dangling links for mostly closed wiki's:
64  * If false, only users with edit permissions will be presented the 
65  * special wikiunknown class with "?" and Tooltip.
66  * If true (default), any user will see the ?, but will be presented 
67  * the PrintLoginForm on a click.
68  */
69 $WikiTheme->setAnonEditUnknownLinks(false);
70
71 /*
72  * You may adjust the formats used for formatting dates and times
73  * below.  (These examples give the default formats.)
74  * Formats are given as format strings to PHP strftime() function See
75  * http://www.php.net/manual/en/function.strftime.php for details.
76  * Do not include the server's zone (%Z), times are converted to the
77  * user's time zone.
78  */
79 $WikiTheme->setDateFormat("%B %d, %Y");
80 $WikiTheme->setTimeFormat("%H:%M");
81
82 /*
83  * To suppress times in the "Last edited on" messages, give a
84  * give a second argument of false:
85  */
86 //$WikiTheme->setDateFormat("%B %d, %Y", false); 
87
88 require_once("lib/wikilens/CustomPrefs.php");
89 require_once("lib/wikilens/PageListColumns.php");
90
91 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
92 // (c-file-style: "gnu")
93 // Local Variables:
94 // mode: php
95 // tab-width: 8
96 // c-basic-offset: 4
97 // c-hanging-comment-ender-p: nil
98 // indent-tabs-mode: nil
99 // End:   
100 ?>