Index: openacs-4/packages/acs-lang/tcl/lang-util-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/tcl/lang-util-procs.tcl,v diff -u -r1.43.2.2 -r1.43.2.3 --- openacs-4/packages/acs-lang/tcl/lang-util-procs.tcl 20 Feb 2007 16:57:48 -0000 1.43.2.2 +++ openacs-4/packages/acs-lang/tcl/lang-util-procs.tcl 21 Feb 2007 00:00:03 -0000 1.43.2.3 @@ -366,9 +366,8 @@ @param locale Name of a locale, as language_COUNTRY using ISO 639 and ISO 3166 @return IANA MIME character set name } { - # LARS: - # This should probably be cached - return [db_string charset_for_locale {}] + # DRB: cache this now that ad_conn tracks it + return [db_string -cache_key ad_lang_mime_charset_$locale charset_for_locale {}] } ad_proc -private lang::util::default_locale_from_lang_not_cached { Index: openacs-4/packages/acs-lang/www/admin/locale-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/admin/locale-edit.tcl,v diff -u -r1.7.6.2 -r1.7.6.3 --- openacs-4/packages/acs-lang/www/admin/locale-edit.tcl 20 Feb 2007 16:57:48 -0000 1.7.6.2 +++ openacs-4/packages/acs-lang/www/admin/locale-edit.tcl 21 Feb 2007 00:00:03 -0000 1.7.6.3 @@ -153,6 +153,7 @@ where locale = :locale" } + db_flush_cache -cache_key_pattern ad_lang_mime_charset_$locale forward "index?tab=locales" } Index: openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl,v diff -u -r1.85.2.2 -r1.85.2.3 --- openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl 20 Feb 2007 16:57:49 -0000 1.85.2.2 +++ openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl 21 Feb 2007 00:00:03 -0000 1.85.2.3 @@ -645,6 +645,7 @@ if { [catch { ad_conn -set locale [lang::conn::locale] ad_conn -set language [lang::conn::language] + ad_conn -set charset [lang::util::charset_for_locale [ad_conn locale]] }] } { # acs-lang doesn't seem to be installed. Even though it must be installed now, # the problem is that if it isn't, everything breaks. So we wrap it in @@ -653,6 +654,7 @@ # to assume that most people have added acs-lang to their system. ad_conn -set locale "" ad_conn -set language "" + ad_conn -set charset "" } # Who's online Index: openacs-4/packages/dotlrn/catalog/dotlrn.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/catalog/dotlrn.en_US.ISO-8859-1.xml,v diff -u -r1.47.2.2 -r1.47.2.3 --- openacs-4/packages/dotlrn/catalog/dotlrn.en_US.ISO-8859-1.xml 20 Feb 2007 16:57:49 -0000 1.47.2.2 +++ openacs-4/packages/dotlrn/catalog/dotlrn.en_US.ISO-8859-1.xml 21 Feb 2007 00:00:03 -0000 1.47.2.3 @@ -38,6 +38,7 @@ Administer <img border=0 valign="bottom" src="/resources/dotlrn/admin.gif" alt="Administer"> Administration + a Administration Cockpit Administrator Administrators @@ -104,6 +105,7 @@ Cockpit Comma Separated Values Communities + m Community %clubs_pretty_name% Name Community ID @@ -125,13 +127,15 @@ Confirm Drop Confirmation Control Panel + p Copy We couldn't find user #%user_id%; perhaps this person was deleted? Course Administrator Course Administrators Course Assistant Course Assistants Courses + r Create A New User Create a Web Log Create Club @@ -219,7 +223,6 @@ From fuchsia Full - full Full Access General Information General Site Help @@ -255,6 +258,7 @@ Help Hide .LRN toolbar Home + h HTML ID: ID @@ -569,9 +573,6 @@ Send Date Send Email Send to everyone in the group - In addition, send to the following people (if you have not selected "Send to Everyone" above): - Send to the following roles: - Set all screenames where no screenname is set Shared Files Show .LRN Toolbar silver @@ -597,7 +598,6 @@ Parameters Administration Small Sorry! - Spam Spam ... Spam Community Spam Users @@ -674,9 +674,7 @@ Yes yes Yes, delete - Yes, delete memberships Yes, I'm sure. - Yes, keep memberships You can specify colors by name <b>Note:</b> You must create <a href="%terms_url%">%terms_pretty_plural%</a> to be able to create %class_instances_pretty_plural%, since these must be associated with %terms_pretty_plural%. Your icon is too large. The publisher of %system_name% has chosen to limit attachments to %max_attachments_bytes% bytes.\n Index: openacs-4/packages/new-portal/catalog/new-portal.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/catalog/new-portal.en_US.ISO-8859-1.xml,v diff -u -r1.17.2.1 -r1.17.2.2 --- openacs-4/packages/new-portal/catalog/new-portal.en_US.ISO-8859-1.xml 20 Feb 2007 16:57:50 -0000 1.17.2.1 +++ openacs-4/packages/new-portal/catalog/new-portal.en_US.ISO-8859-1.xml 21 Feb 2007 00:00:03 -0000 1.17.2.2 @@ -46,5 +46,4 @@ Sloan transaction failed Unused Portlets - Maximize window to display content Index: openacs-4/packages/theme-zen/theme-zen.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-zen/theme-zen.info,v diff -u -r1.1.2.3 -r1.1.2.4 --- openacs-4/packages/theme-zen/theme-zen.info 20 Feb 2007 16:57:51 -0000 1.1.2.3 +++ openacs-4/packages/theme-zen/theme-zen.info 21 Feb 2007 00:00:03 -0000 1.1.2.4 @@ -22,7 +22,7 @@ - + Index: openacs-4/packages/theme-zen/lib/lrn-master.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-zen/lib/lrn-master.adp,v diff -u -r1.1.2.6 -r1.1.2.7 --- openacs-4/packages/theme-zen/lib/lrn-master.adp 20 Feb 2007 16:57:51 -0000 1.1.2.6 +++ openacs-4/packages/theme-zen/lib/lrn-master.adp 21 Feb 2007 00:00:02 -0000 1.1.2.7 @@ -100,11 +100,13 @@ - - +
Begin main content
Index: openacs-4/packages/theme-zen/lib/lrn-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-zen/lib/lrn-master.tcl,v diff -u -r1.1.2.8 -r1.1.2.9 --- openacs-4/packages/theme-zen/lib/lrn-master.tcl 20 Feb 2007 16:57:51 -0000 1.1.2.8 +++ openacs-4/packages/theme-zen/lib/lrn-master.tcl 21 Feb 2007 00:00:02 -0000 1.1.2.9 @@ -260,14 +260,15 @@ -post_html $extra_spaces \ -link_all $link_all ] +ns_log Notice "Huh? subnavbar: '$subnavbar'" } else { - set navbar " " - set subnavbar " " + set navbar "" + set subnavbar "" } -append header_stuff { - +append header_stuff [subst { + @@ -276,7 +277,7 @@ -} +}] if { [info exists text] } { set text [lang::util::localize $text] 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.4 -r1.1.2.5 --- openacs-4/packages/theme-zen/tcl/navigation-procs.tcl 20 Feb 2007 16:57:51 -0000 1.1.2.4 +++ openacs-4/packages/theme-zen/tcl/navigation-procs.tcl 21 Feb 2007 00:00:02 -0000 1.1.2.5 @@ -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
  • [lang::util::localize $name]
  • " + append navbar "\n
  • [lang::util::localize $name]
  • " } else { - append navbar "\n
  • [lang::util::localize $name]
  • " + append navbar "\n
  • [lang::util::localize $name]
  • " } incr which_tab } @@ -252,8 +253,8 @@ regsub -all {[^0-9]} $page_num {} page_num } - set subnavbar "" - + if { $subnavbar eq "" } { + return "" + } else { + return "\n" + } } - }