Index: openacs-4/packages/logger/tcl/ui-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/logger/tcl/ui-procs.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/logger/tcl/ui-procs.tcl 1 May 2003 07:19:41 -0000 1.2 +++ openacs-4/packages/logger/tcl/ui-procs.tcl 1 May 2003 14:14:33 -0000 1.3 @@ -21,9 +21,17 @@

A link is considered selected if the current page url starts with the url of the link - and each HTML parameter in the param_list has the specified value. + and each HTML parameter in the param_list has the specified value. If the param_list + is empty then the query string of the request must be empty for the link to be + considered selected.

+ @param navbar_url The url relative page root of the link + @param param_list A list of URL parameters and their values on the format + [list [list param_name1 param_value1] [list param_name2 param_value2]] + + @return 1 if the navbar link should be selected and 0 otherwise + @author Peter Marklund } { # Let's remove any trailing slash and make it optional in our pattern