From: Helen B. <he...@fi...> - 2007-02-09 04:29:36
|
Hello Pavel and Paul V particularly, In recent days I've done the following changes: 1. Altered and updated ../images/fb_menu.js and replaced all of the PNG graphics with new ones. Also fixed a bug in the script that was causing the topmenu not to be rendered in Konqueror-based browsers and to throw exceptions in Mac Safari browser. 2. Added two new global variables to ./config.php for use by the sidebox routine in mainfile.php 3. Altered the sidebox routine so it now takes a third, defaulted argument. Any call to sidebox() can now optionally take this third argument. The argument is used to decide whether to insert a rounded top or bottom piece before or after the item, respectively. So, for the very first thing on your sidemenu, you should call sidebox($title, $content, 1), while for the last, pass 2 in the last argument. Other items can be just called with the two required arguments, as always, sidebox($title,$content). Note that what you do depends on whether your sidemenu is nested. Don't use the '2' argument on a nested sidemenu, because the call has already been applied to the default higher-level menu. Paul V, the impact on you is the assignment of the value 1 to a variable $isempty for the ./engine/doc sidemenu, that will get passed when your empty sidemenu is included ahead of the default menu, and cause the rounded top to be rendered there. AFAIK, I've made the necessary adjustments to all of the affected sidemenu.php files but please, anyone who spots a sidemenu with a flat top or bottom, please post a msg to the list with details. Other global components in the root area have all changed to implement the various look-and-feel changes so please, make sure you download the server version of anything you are going to alter and post an immediate message when you do so. All: Pavel has plans to put the website under SVN when a few other high-pressure commitments subside. I'll leave it to him to explain what's needed when that time arrives. cheers, Helen |