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