Index: openacs-4/www/blank-master.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/www/blank-master.tcl,v diff -u -r1.20.2.11 -r1.20.2.12 --- openacs-4/www/blank-master.tcl 26 Mar 2007 17:45:09 -0000 1.20.2.11 +++ openacs-4/www/blank-master.tcl 31 Mar 2007 00:42:33 -0000 1.20.2.12 @@ -147,8 +147,8 @@ } } -# DRB: Devsup toolbar moved here temporarily until we rewrite things so package can push -# tool bars up to the blank master. +# DRB: Devsup and dotlrn toolbars moved here temporarily until we rewrite things so packages +# can push tool bars up to the blank master. # Determine whether developer support is installed and enabled # @@ -165,3 +165,20 @@ en \ "all" } + +# Determine whether or not to show the dotlrn toolbar. +# +set dotlrn_toolbar_p [expr { + [llength [namespace eval :: info procs dotlrn_toolbar::show_p]] == 1 +}] + +if {$dotlrn_toolbar_p} { + template::multirow append link \ + stylesheet \ + "text/css" \ + "/resources/dotlrn/dotlrn-toolbar.css" \ + "" \ + en \ + "all" +} +