2 rcs_id('$Id: themeinfo.php,v 1.10 2007-07-01 09:36:10 rurban Exp $');
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.
8 require_once('lib/Theme.php');
10 class Theme_Wikilens extends Theme {
13 // CSS file defines fonts, colors and background images for this
14 // style. The companion '*-heavy.css' file isn't defined, it's just
15 // expected to be in the same directory that the base style is in.
17 // This should result in phpwiki-printer.css being used when
18 // printing or print-previewing with style "PhpWiki" or "MacOSX" selected.
19 $this->setDefaultCSS('PhpWiki',
20 array('' => 'wikilens.css',
21 'print' => 'phpwiki-printer.css'));
23 // This allows one to manually select "Printer" style (when browsing page)
24 // to see what the printer style looks like.
25 $this->addAlternateCSS(_("Printer"), 'phpwiki-printer.css', 'print, screen');
26 $this->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
27 $this->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
30 * The logo image appears on every page and links to the HomePage.
32 $this->addImageAlias('logo', WIKI_NAME . 'Logo.png');
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
40 $this->addImageAlias('signature', WIKI_NAME . "Signature.png");
41 // Uncomment this next line to disable the signature.
42 $this->addImageAlias('signature', false);
47 //$this->setLinkIcon('http');
48 $this->setLinkIcon('https');
49 $this->setLinkIcon('ftp');
50 $this->setLinkIcon('mailto');
51 //$this->setLinkIcon('interwiki');
52 $this->setLinkIcon('wikiuser');
53 //$this->setLinkIcon('*', 'url');
55 //$this->setButtonSeparator(HTML::br());
58 * WikiWords can automatically be split by inserting spaces between
59 * the words. The default is to leave WordsSmashedTogetherLikeSo.
61 //$this->setAutosplitWikiWords(false);
64 * Layout improvement with dangling links for mostly closed wiki's:
65 * If false, only users with edit permissions will be presented the
66 * special wikiunknown class with "?" and Tooltip.
67 * If true (default), any user will see the ?, but will be presented
68 * the PrintLoginForm on a click.
70 $this->setAnonEditUnknownLinks(false);
73 * You may adjust the formats used for formatting dates and times
74 * below. (These examples give the default formats.)
75 * Formats are given as format strings to PHP strftime() function See
76 * http://www.php.net/manual/en/function.strftime.php for details.
77 * Do not include the server's zone (%Z), times are converted to the
80 $this->setDateFormat("%B %d, %Y");
81 $this->setTimeFormat("%H:%M");
84 * To suppress times in the "Last edited on" messages, give a
85 * give a second argument of false:
87 //$this->setDateFormat("%B %d, %Y", false);
92 $WikiTheme = new Theme_Wikilens('wikilens');
93 require_once("lib/wikilens/CustomPrefs.php");
94 require_once("lib/wikilens/PageListColumns.php");
96 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
97 // (c-file-style: "gnu")
102 // c-hanging-comment-ender-p: nil
103 // indent-tabs-mode: nil