]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/Crao/themeinfo.php
renamed global $Theme to $WikiTheme (gforge nameclash)
[SourceForge/phpwiki.git] / themes / Crao / themeinfo.php
1 <?php
2 rcs_id('$Id: themeinfo.php,v 1.2 2004-06-14 11:26:45 rurban Exp $');
3
4 /*
5  * This file defines the default appearance ("theme") of PhpWiki.
6  */
7
8 require_once('lib/Theme.php');
9
10 $WikiTheme = new Theme('Crao');
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" selected.
18 $WikiTheme->setDefaultCSS('Crao',
19                       array(''          => 'crao.css',
20                             'print'     => ''));
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');
25 //$WikiTheme->addAlternateCSS(_("Top & bottom toolbars"), 'phpwiki-topbottombars.css');
26 //$WikiTheme->addAlternateCSS(_("Modern"), 'phpwiki-modern.css');
27
28
29 /**
30  * The logo image appears on every page and links to the HomePage.
31  */
32 //$WikiTheme->addImageAlias('logo', 'logo.png');
33
34 /**
35  * The Signature image is shown after saving an edited page. If this
36  * is not set, any signature defined in index.php will be used. If it
37  * is not defined by index.php or in here then the "Thank you for
38  * editing..." screen will be omitted.
39  */
40
41 // Comment this next line out to enable signature.
42 $WikiTheme->addImageAlias('signature', false);
43
44 /*
45  * Link icons.
46  */
47 $WikiTheme->setLinkIcon('http');
48 $WikiTheme->setLinkIcon('https');
49 $WikiTheme->setLinkIcon('ftp');
50 $WikiTheme->setLinkIcon('mailto');
51 $WikiTheme->setLinkIcon('interwiki');
52 $WikiTheme->setLinkIcon('*', 'url');
53
54 $WikiTheme->setButtonSeparator(HTML::raw("&nbsp;|&nbsp;"));
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(true);
61
62 /*
63  * You may adjust the formats used for formatting dates and times
64  * below.  (These examples give the default formats.)
65  * Formats are given as format strings to PHP strftime() function See
66  * http://www.php.net/manual/en/function.strftime.php for details.
67  * Do not include the server's zone (%Z), times are converted to the
68  * user's time zone.
69  */
70 //$WikiTheme->setDateFormat("%B %d, %Y");
71 //$WikiTheme->setTimeFormat("%I:%M %p");
72
73 /*
74  * To suppress times in the "Last edited on" messages, give a
75  * give a second argument of false:
76  */
77 //$WikiTheme->setDateFormat("%B %d, %Y", false); 
78 $WikiTheme->setDateFormat("%A %e %B %Y"); // must not contain time
79 //$WikiTheme->setDateFormat("%x"); // must not contain time
80 $WikiTheme->setTimeFormat("%H:%M:%S");
81 //$WikiTheme->setTimeFormat("%X");
82
83
84
85 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
86 // (c-file-style: "gnu")
87 // Local Variables:
88 // mode: php
89 // tab-width: 8
90 // c-basic-offset: 4
91 // c-hanging-comment-ender-p: nil
92 // indent-tabs-mode: nil
93 // End:   
94 ?>