2 rcs_id('$Id: themeinfo.php,v 1.8 2004-06-18 15:17:19 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 $WikiTheme = new Theme('wikilens');
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.
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'));
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');
29 * The logo image appears on every page and links to the HomePage.
31 $WikiTheme->addImageAlias('logo', WIKI_NAME . 'Logo.png');
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
39 $WikiTheme->addImageAlias('signature', WIKI_NAME . "Signature.png");
40 // Uncomment this next line to disable the signature.
41 $WikiTheme->addImageAlias('signature', false);
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');
54 //$WikiTheme->setButtonSeparator("\n | ");
57 * WikiWords can automatically be split by inserting spaces between
58 * the words. The default is to leave WordsSmashedTogetherLikeSo.
60 //$WikiTheme->setAutosplitWikiWords(false);
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.
69 $WikiTheme->setAnonEditUnknownLinks(false);
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
79 $WikiTheme->setDateFormat("%B %d, %Y");
80 $WikiTheme->setTimeFormat("%H:%M");
83 * To suppress times in the "Last edited on" messages, give a
84 * give a second argument of false:
86 //$WikiTheme->setDateFormat("%B %d, %Y", false);
88 require_once("lib/wikilens/CustomPrefs.php");
89 require_once("lib/wikilens/PageListColumns.php");
91 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
92 // (c-file-style: "gnu")
97 // c-hanging-comment-ender-p: nil
98 // indent-tabs-mode: nil