--- loncom/interface/lonmenu.pm 2004/10/29 18:40:40 1.120 +++ loncom/interface/lonmenu.pm 2004/11/01 04:31:03 1.121 @@ -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.121 2004/11/01 04:31:03 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -255,13 +255,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 .= <