]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/MacOSX/themeinfo.php
fixed 2 typos in RecentChanges toolbar filenames
[SourceForge/phpwiki.git] / themes / MacOSX / themeinfo.php
1 <?php
2
3 rcs_id('$Id: themeinfo.php,v 1.15 2002-01-14 05:54:42 carstenklapp Exp $');
4
5 /**
6  * A PhpWiki theme inspired by the Aqua appearance of Mac OS X.
7  * 
8  * The images used with this theme depend on the PNG alpha channel to
9  * blend in with whatever background color or texture is on the page.
10  * When viewed with an older browser, the images may be incorrectly
11  * rendered with a thick solid black border. When viewed with a modern
12  * browser, the images will display with nice edges and blended
13  * shadows.
14  *
15  * Known Problems:
16  *
17  * Most of the images you will see a white area around the outside.
18  * Once the icons for the buttons have been finalized, the alpha
19  * channel will be added to eliminate the white parts.
20  *
21  * The button toolbars use tables for positioning. Yuck. (It will do
22  * for now).
23  *
24  * Only English buttons are available. Full localization is still a
25  * ways off. Work is in progress to modularize & tokenize the normal
26  * templates and (somehow) some cool toolbar functions are going to
27  * result from it.  This should make editing the MacOSX theme template
28  * files much easier as well as providing a generic localization
29  * method for any other toolbars (whether image or text).
30  *
31  * There is an image for a BackLinks button but it's not used yet
32  * either.  For now BackLinks are still accessed by clicking in the
33  * title.
34  *
35  * The CSS is still mostly the same as phpwiki.css. I'd like to change
36  * it a bit but have no specific plans yet. Just a general feeling
37  * that it should look and feel like a Mac interface: with subtle
38  * effects and a fine color scheme. Since I'm sick of the stripes
39  * Mr. Jobs thoughtfully plastered all over my screen, I've chosen a
40  * brushed paper (or stucco?) texture effect very close to white. If
41  * your monitor isn't calibrated well you might not even see it.
42  *
43  * I probably won't be submitting anything else for this theme for a
44  * bit.  Not until the default toolbar stuff and templates are further
45  * along anyway.
46  * 
47  * Send me some feedback, do you like the icons used in the buttons?
48  * Got any ideas for code to pick out the localized buttons from the
49  * right directory? Automatic button generation for localized buttons
50  * isn't going to happen for this theme--there is a gradient across
51  * the glass surface of the button that only Mac OS X Aqua can
52  * generate. Chopping a button up and stamping it with localized words
53  * means a lot of tweaking to the blank button pieces to get the seams
54  * invisible. So it will be a nicer effect to produce them by hand.
55  *
56  * The current link icons I want to move into this theme, and come up
57  * with some new linkicons for the default look. (Comments, feedback?)
58  *
59  * */
60
61 // To activate this theme, specify this setting in index.php:
62 //$theme="MacOSX";
63 // To deactivate themes, comment out all the $theme=lines in index.php.
64
65 // CSS file defines fonts, colors and background images for this
66 // style.  The companion '*-heavy.css' file isn't defined, it's just
67 // expected to be in the same directory that the base style is in.
68 $CSS_DEFAULT = "MacOSX";
69
70 $CSS_URLS = array_merge($CSS_URLS,
71                         array("$CSS_DEFAULT" => "themes/$theme/${CSS_DEFAULT}.css"));
72
73 // Logo image appears on every page and links to the HomePage.
74 $logo = "themes/$theme/PhpWiki.png";
75
76 // RSS logo icon (path relative to index.php)
77 // If this is left blank (or unset), the default "images/rss.png"
78 // will be used.
79 //$rssicon = "images/rss.png";
80 $rssicon = "themes/$theme/RSS.png";
81
82 // Signature image which is shown after saving an edited page.  If
83 // this is left blank, any signature defined in index.php will be
84 // used. If it is not defined by index.php or in here then the "Thank
85 // you for editing..." screen will be omitted.
86 $SignatureImg = "themes/$theme/Signature.png"; // Papyrus 19pt
87
88 // If this theme defines any templates, they will completely override
89 // whatever templates have been defined in index.php.
90
91 $templates = array(
92                    'BROWSE'   => "themes/$theme/templates/browse.html",
93                    'EDITPAGE' => "themes/$theme/templates/editpage.html",
94                    'MESSAGE'  => "themes/$theme/templates/message.html"
95                    );
96
97 // If this theme defines any custom link icons, they will completely
98 // override any link icon settings defined in index.php.
99
100 $URL_LINK_ICONS = array(
101                         'http'      => "images/http.png",
102                         'https'     => "images/https.png",
103                         'ftp'       => "images/ftp.png",
104                         'mailto'    => "themes/$theme/mailto.png",
105                         'interwiki' => "images/interwiki.png",
106                         '*'         => "images/url.png"
107                         );
108
109 $ToolbarImages = array(
110 'RecentChanges' => array(
111 '1 day'         => "themes/$theme/locale/en/toolbars/RecentChanges/1day.png",
112 '2 days'        => "themes/$theme/locale/en/toolbars/RecentChanges/2days.png",
113 '3 days'        => "themes/$theme/locale/en/toolbars/RecentChanges/3days.png",
114 '4 days'        => "themes/$theme/locale/en/toolbars/RecentChanges/4days.png",
115 '7 days'        => "themes/$theme/locale/en/toolbars/RecentChanges/7days.png",
116 '30 days'       => "themes/$theme/locale/en/toolbars/RecentChanges/30days.png",
117 '90 days'       => "themes/$theme/locale/en/toolbars/RecentChanges/90days.png",
118 '...'           => "themes/$theme/locale/en/toolbars/RecentChanges/alltime.png")
119 );
120
121 // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
122 // (c-file-style: "gnu")
123 // Local Variables:
124 // mode: php
125 // tab-width: 8
126 // c-basic-offset: 4
127 // c-hanging-comment-ender-p: nil
128 // indent-tabs-mode: nil
129 // End:   
130 ?>