From: Carsten K. <car...@us...> - 2002-01-04 01:59:30
|
Update of /cvsroot/phpwiki/phpwiki/themes/MacOSX In directory usw-pr-cvs1:/tmp/cvs-serv30680 Modified Files: themeinfo.php Log Message: First working version of the new MacOSX theme! (For now it's only in english). Index: themeinfo.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/MacOSX/themeinfo.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** themeinfo.php 2002/01/03 23:07:43 1.3 --- themeinfo.php 2002/01/04 01:59:27 1.4 *************** *** 10,51 **** * When viewed with an older browser, the images may be incorrectly * rendered with a thick solid black border. When viewed with a modern ! * browser, the images will display with nice edges and blended ! * shadows. * */ - // Sorry, this theme doesn't work yet. :-( There is some more template work - // to do before more of the theme will be committed to the repository. - // --CarstenKlapp - // To activate this theme, specify this setting in index.php: //$theme="MacOSX"; // To deactivate themes, comment out all the $theme=lines in index.php. ! // CSS file defines fonts, colors and background images for this ! // style. The companion '*-heavy.css' file isn't defined, it's just ! // expected to be in the same directory that the base style is in. $CSS_DEFAULT = "MacOSX"; ! $CSS_URLS = array_merge($CSS_URLS, array("$CSS_DEFAULT" => "themes/$theme/${CSS_DEFAULT}.css" )); // Logo image appears on every page and links to the HomePage. $logo = "themes/$theme/PhpWiki.png"; ! // Signature image which is shown after saving an edited page. If ! // this is left blank, any signature defined in index.php will be ! // used. If it is not defined by index.php or in here then the "Thank ! // you for editing..." screen will be omitted. //$SignatureImg = "themes/$theme/signature.png"; // If this theme defines any templates, they will completely override ! // whatever templates have been defined in 'index.php'. ! /* $templates = array('BROWSE' => "themes/$theme/templates/browse.html", 'EDITPAGE' => "themes/$theme/templates/editpage.html", 'MESSAGE' => "themes/$theme/templates/message.html"); ! */ ! // If this theme defines any custom link icons, they will completely ! // override any link icon settings defined in 'index.php'. /* $URL_LINK_ICONS = array( --- 10,93 ---- * When viewed with an older browser, the images may be incorrectly * rendered with a thick solid black border. When viewed with a modern ! * browser, the images will display with nice edges and blended shadows. ! * ! * Known Problems: ! * ! * Most of the images you will see a white area around the outside. ! * Once the icons for the buttons have been finalized, the alpha channel ! * will be added to eliminate the white parts. ! * ! * The button toolbars use tables for positioning. Yuck. (It will do for now). ! * ! * RSS has it's own Mac OS X style button but it's not actually used yet. ! * ! * In Mozilla, there is a grey line under each of the images. I haven't ! * been able to determine the cause of this yet. ! * ! * Only English buttons are available. Full localization is still a ways ! * off. Work is in progress to modularize & tokenize the normal templates ! * and (somehow) some cool toolbar functions are going to result from it. ! * This should make editing the MacOSX theme template files much easier ! * as well as providing a generic localization method for any other ! * toolbars (whether image or text). ! * ! * The CSS is still mostly the same as phpwiki.css. I'd like to change it a ! * bit but have no specific plans yet. Just a general feeling that it should ! * look and feel like a Mac interface: with subtle effects and a fine ! * color scheme. Since I'm sick of the stripes Mr. Jobs thoughtfully plastered ! * all over my screen, I've chosen a brushed paper (or stucco?) texture effect ! * very close to white. If your monitor isn't calibrated well you might not ! * even see it. ! * ! * I probably won't be submitting anything else for this theme for a bit. ! * Not until the default toolbar stuff and templates are further along anyway. ! * ! * Send me some feedback, do you like the icons used in the buttons? Got ! * any ideas for code to pick out the localized buttons from the right ! * directory? Automatic button generation for localized buttons isn't going ! * to happen for this theme--there is a gradient across the glass surface of ! * the button that only Mac OS X Aqua can generate. Chopping a button up and ! * stamping it with localized words means a lot of tweaking to the blank ! * button pieces to get the seams invisible. So it will be a nicer effect ! * to produce them by hand. ! * ! * The current link icons I want to move into this theme, and come up with ! * some new linkicons for the default look. (Comments, feedback?) ! * * */ // To activate this theme, specify this setting in index.php: //$theme="MacOSX"; // To deactivate themes, comment out all the $theme=lines in index.php. ! // CSS location ! // ! // CSS file defines fonts, colors and background images for this style. ! // The companion '*-heavy.css' file isn't defined, it's just expected to ! // be in the same directory that the base style is in. $CSS_DEFAULT = "MacOSX"; ! $CSS_URLS = array_merge($CSS_URLS, array( "$CSS_DEFAULT" => "themes/$theme/${CSS_DEFAULT}.css" ) ); // Logo image appears on every page and links to the HomePage. $logo = "themes/$theme/PhpWiki.png"; + //$RSS = ! // Signature image which is shown after saving an edited page. ! // If this is left blank, any signature defined in index.php will be ! // used. If it is not defined by index.php or in here then the ! // "Thank you for editing..." screen will be omitted. //$SignatureImg = "themes/$theme/signature.png"; // If this theme defines any templates, they will completely override ! // whatever templates have been defined in index.php. ! $templates = array('BROWSE' => "themes/$theme/templates/browse.html", 'EDITPAGE' => "themes/$theme/templates/editpage.html", 'MESSAGE' => "themes/$theme/templates/message.html"); ! ! // If this theme defines any custom link icons, they will completely override ! // any link icon settings defined in index.php. /* $URL_LINK_ICONS = array( |