Index: openacs-4/packages/dotlrn/www/dotlrn-master-custom.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/dotlrn-master-custom.adp,v diff -u -r1.4 -r1.4.2.1 --- openacs-4/packages/dotlrn/www/dotlrn-master-custom.adp 19 Dec 2007 12:28:52 -0000 1.4 +++ openacs-4/packages/dotlrn/www/dotlrn-master-custom.adp 19 Aug 2008 08:59:15 -0000 1.4.2.1 @@ -1,12 +1,14 @@ + @doc_type;noquote@ @title;noquote@ + + doc + @context;noquote@ @context_bar;noquote@ @focus;noquote@ - @doc_type;noquote@ @link_control_panel;noquote@ @hide_feedback@ - @title;noquote@ @portal_page_p;noquote@ Index: openacs-4/packages/dotlrn/www/dotlrn-master-custom.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/dotlrn-master-custom.tcl,v diff -u -r1.2 -r1.2.4.1 --- openacs-4/packages/dotlrn/www/dotlrn-master-custom.tcl 8 Aug 2006 21:26:24 -0000 1.2 +++ openacs-4/packages/dotlrn/www/dotlrn-master-custom.tcl 19 Aug 2008 08:59:15 -0000 1.2.4.1 @@ -11,6 +11,12 @@ -default "/packages/dotlrn/www/dotlrn-master"] } -if {![exists_and_not_null title]} { +# Set page title +if { ![info exists doc(title)] && [exists_and_not_null title] } { + set doc(title) $title +} elseif { [info exists doc(title)] && ![exists_and_not_null title] } { + set title $doc(title) +} elseif { ![info exists doc(title)] && [exists_and_not_null title] } { set title [ad_system_name] -} \ No newline at end of file + set doc(title) $title +}