Index: openacs-4/packages/dotlrn/www/dotlrn-master.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/dotlrn-master.adp,v
diff -u -r1.27 -r1.28
--- openacs-4/packages/dotlrn/www/dotlrn-master.adp	26 Sep 2003 10:06:37 -0000	1.27
+++ openacs-4/packages/dotlrn/www/dotlrn-master.adp	27 Sep 2003 22:18:14 -0000	1.28
@@ -78,7 +78,15 @@
   <p>
 
   <!-- Header End -->
+  
+  <if @display_title@ not nil>
+    <h1>@display_title@</h1>
+  </if>
 
+  <if @context_bar@ not nil>
+    <p>@context_bar;noquote@</p>
+  </if>
+
   <slave>
 
   <!-- Footer Begin: dotLRN info links -->
Index: openacs-4/packages/dotlrn/www/dotlrn-master.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/dotlrn-master.tcl,v
diff -u -r1.21 -r1.22
--- openacs-4/packages/dotlrn/www/dotlrn-master.tcl	23 Sep 2003 19:25:22 -0000	1.21
+++ openacs-4/packages/dotlrn/www/dotlrn-master.tcl	27 Sep 2003 22:18:14 -0000	1.22
@@ -595,3 +595,10 @@
 }
 
 set change_locale_url "/acs-lang/?[export_vars { { package_id "[ad_conn package_id]" } }]"
+
+# Hack for title and context bar outside of dotlrn
+
+if { ![string match [ad_conn url] "/dotlrn/*"] && [info exists context] } {
+    set context_bar [eval ad_context_bar $context]
+    set display_title $title
+}