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.6 -r1.7 --- openacs-4/packages/theme-zen/lib/lrn-master.tcl 18 Dec 2007 21:42:12 -0000 1.6 +++ openacs-4/packages/theme-zen/lib/lrn-master.tcl 19 Dec 2007 11:09:38 -0000 1.7 @@ -259,3 +259,15 @@ -party_id [ad_conn untrusted_user_id]] set toggle_translator_mode_url [export_vars -base "${acs_lang_url}admin/translator-mode-toggle" { { return_url [ad_return_url] } }] +# +# Determine if we should be displaying the dotLRN toolbar +# +set dotlrn_toolbar_p [expr { + [llength [namespace eval :: info procs dotlrn_toolbar::show_p]] == 1 +}] + +if {$dotlrn_toolbar_p} { + template::head::add_css -href "/resources/dotlrn/dotlrn-toolbar.css" + template::add_header -src "/packages/dotlrn/lib/toolbar" +} + Index: openacs-4/www/site-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/www/site-master.tcl,v diff -u -r1.28 -r1.29 --- openacs-4/www/site-master.tcl 12 Dec 2007 00:06:48 -0000 1.28 +++ openacs-4/www/site-master.tcl 19 Dec 2007 11:09:38 -0000 1.29 @@ -124,21 +124,6 @@ template::add_footer -src "/packages/acs-lang/lib/messages-to-translate" } -# -# Determine if we should be displaying the dotLRN toolbar -# -set dotlrn_toolbar_p [expr { - [llength [namespace eval :: info procs dotlrn_toolbar::show_p]] == 1 -}] - -if {$dotlrn_toolbar_p} { - template::head::add_css \ - -href "/resources/dotlrn/dotlrn-toolbar.css" \ - -media "all" - - template::add_header -src "/packages/dotlrn/lib/toolbar" -} - # DRB: Devsup and dotlrn toolbars moved here temporarily until we rewrite # things so packages can push tool bars up to the blank master. #