Index: openacs-4/packages/theme-selva/www/selva-lrn-master.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/theme-selva/www/selva-lrn-master.adp,v
diff -u -r1.2.2.1 -r1.2.2.2
--- openacs-4/packages/theme-selva/www/selva-lrn-master.adp	24 Feb 2006 11:20:23 -0000	1.2.2.1
+++ openacs-4/packages/theme-selva/www/selva-lrn-master.adp	4 May 2006 10:48:42 -0000	1.2.2.2
@@ -1,6 +1,7 @@
 <master src="/packages/theme-selva/www/selva-site-master">
   <property name="header_stuff">
     @header_stuff;noquote@
+    @dotlrn_master__header_stuff;noquote@
   </property>
   <if @context@ not nil><property name="context">@context;noquote@</property></if>
     <else><if @context_bar@ not nil><property name="context_bar">@context_bar;noquote@</property></if></else>
Index: openacs-4/packages/theme-selva/www/selva-lrn-master.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/theme-selva/www/selva-lrn-master.tcl,v
diff -u -r1.2.2.1 -r1.2.2.2
--- openacs-4/packages/theme-selva/www/selva-lrn-master.tcl	24 Feb 2006 11:20:23 -0000	1.2.2.1
+++ openacs-4/packages/theme-selva/www/selva-lrn-master.tcl	4 May 2006 10:48:42 -0000	1.2.2.2
@@ -361,3 +361,10 @@
 
 # Curriculum bar
 set curriculum_bar_p [llength [site_node::get_children -all -filters { package_key "curriculum" } -node_id $community_id]]
+
+# Bring in header stuff from portlets, e.g. dhtml tree javascript
+# from dotlrn-main-portlet.
+global dotlrn_master__header_stuff
+if { ![info exists dotlrn_master__header_stuff] } {
+    set dotlrn_master__header_stuff ""
+}