--- loncom/interface/lonmenu.pm 2004/10/29 18:40:40 1.120 +++ loncom/interface/lonmenu.pm 2004/11/10 16:22:25 1.123 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.120 2004/10/29 18:40:40 raeburn Exp $ +# $Id: lonmenu.pm,v 1.123 2004/11/10 16:22:25 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -43,7 +43,6 @@ use Apache::lonnet(); use Apache::Constants qw(:common); use Apache::lonhtmlcommon(); use Apache::loncommon(); -use Apache::lonnavmaps(); use Apache::lonlocal; use vars qw(@desklines $readdesk); @@ -255,13 +254,34 @@ sub innerregister { if ($textual && $const_space) { my $formaction='/priv/'.$uname.'/'.$thisdisfn; $formaction=~s/\/+/\//g; - $newmail .= ('
'); + ''; &Apache::lonhtmlcommon::store_recent('construct',$formaction,$formaction); + $newmail .= &constspaceform(); +# role and realm + my ($role,$realm) = &Apache::lonnet::plaintext((split(/\./,$ENV{'request.role'}))[0]); + unless ($realm) { $realm=' '; } + $newmail .= <