5 * This file defines the default appearance ("theme") of PhpWiki.
8 require_once('lib/Theme.php');
10 class Theme_Crao 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" selected.
19 $this->setDefaultCSS('Crao',
20 array('' => 'crao.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');
26 //$this->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
27 //$this->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
31 * The logo image appears on every page and links to the HomePage.
33 //$this->addImageAlias('logo', 'logo.png');
36 * The Signature image is shown after saving an edited page. If this
37 * is not set, any signature defined in index.php will be used. If it
38 * is not defined by index.php or in here then the "Thank you for
39 * editing..." screen will be omitted.
42 // Comment this next line out to enable signature.
43 $this->addImageAlias('signature', false);
48 $this->setLinkIcon('http');
49 $this->setLinkIcon('https');
50 $this->setLinkIcon('ftp');
51 $this->setLinkIcon('mailto');
52 $this->setLinkIcon('interwiki');
53 $this->setLinkIcon('*', 'url');
55 $this->setButtonSeparator(HTML::raw(" | "));
58 * WikiWords can automatically be split by inserting spaces between
59 * the words. The default is to leave WordsSmashedTogetherLikeSo.
61 $this->setAutosplitWikiWords(false);
64 * You may adjust the formats used for formatting dates and times
65 * below. (These examples give the default formats.)
66 * Formats are given as format strings to PHP strftime() function See
67 * http://www.php.net/manual/en/function.strftime.php for details.
68 * Do not include the server's zone (%Z), times are converted to the
71 //$this->setDateFormat("%B %d, %Y");
72 //$this->setTimeFormat("%I:%M %p");
75 * To suppress times in the "Last edited on" messages, give a
76 * give a second argument of false:
78 //$this->setDateFormat("%B %d, %Y", false);
79 $this->setDateFormat("%A %e %B %Y"); // must not contain time
80 //$this->setDateFormat("%x"); // must not contain time
81 $this->setTimeFormat("%H:%M:%S");
82 //$this->setTimeFormat("%X");
87 $WikiTheme = new Theme_Crao('Crao');
89 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
90 // (c-file-style: "gnu")
95 // c-hanging-comment-ender-p: nil
96 // indent-tabs-mode: nil