--- loncom/interface/lonmenu.pm 2003/04/18 17:51:32 1.65 +++ loncom/interface/lonmenu.pm 2003/05/16 20:47:07 1.66 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.65 2003/04/18 17:51:32 www Exp $ +# $Id: lonmenu.pm,v 1.66 2003/05/16 20:47:07 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -164,7 +164,11 @@ sub registerurl { my $forcereg=shift; my $target = shift; my $result = ''; - + + my $force_title=''; + if ($ENV{'request.state'} eq 'construct') { + $force_title=&Apache::lonxml::display_title(); + } if ($target eq 'edit') { $result .="'; + ''.$force_title; } # Graphical display after login only if ($Apache::lonxml::registered && !$forcereg) { return ''; } $result.=&innerregister($forcereg,$target); - return $result; + return $result.$force_title; } # =========== This gets called in order to register a URL, both with the Remote