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