Index: openacs-4/packages/theme-zen/tcl/navigation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-zen/tcl/navigation-procs.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/theme-zen/tcl/navigation-procs.tcl 23 Jan 2007 01:03:07 -0000 1.1.2.1 +++ openacs-4/packages/theme-zen/tcl/navigation-procs.tcl 19 Feb 2007 17:57:43 -0000 1.1.2.2 @@ -82,8 +82,8 @@ set which_tab 0 set home_tab -1 - foreach {url name} [parameter::get_from_package_key -package_key "theme-zen" -parameter "AdditionalNavbarTabs" -default ""] { - lappend tabs_list [list $url $name] + foreach {url name accesskey} [parameter::get_from_package_key -package_key "theme-zen" -parameter "AdditionalNavbarTabs" -default ""] { + lappend tabs_list [list $url $name $accesskey] if { $current_url == $url || $current_url == "$dotlrn_url/index" && $name eq "#dotlrn.Home#" } { set which_tab_selected $which_tab @@ -95,7 +95,7 @@ } if { $sw_admin_p } { - lappend tabs_list [list $dotlrn_admin_url #dotlrn.Administration#] + lappend tabs_list [list $dotlrn_admin_url #dotlrn.Administration# #dotlrn.Administration_Accesskey#] if { [string first $dotlrn_admin_url $current_url] != -1 } { set which_tab_selected $which_tab } @@ -144,13 +144,14 @@ set which_tab 0 foreach tab_entry $tabs_list { - foreach {url name select_p} $tab_entry {} + foreach {url name accesskey} $tab_entry {} ns_log Debug "URL:: $url" ns_log Debug "NAME:: $name" + ns_log Debug "ACCESSKEY:: $accesskey" if { $which_tab == $which_tab_selected } { - append navbar "\n