--- loncom/xml/lonxml.pm 2002/06/03 21:07:20 1.176 +++ loncom/xml/lonxml.pm 2002/06/14 19:56:57 1.177 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.176 2002/06/03 21:07:20 www Exp $ +# $Id: lonxml.pm,v 1.177 2002/06/14 19:56:57 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1240,7 +1240,10 @@ ENDNOTFOUND # unless ($ENV{'request.state'} eq 'published') { if ($ENV{'form.editmode'} && (!($ENV{'form.viewmode'}))) { - $result=''; + my $displayfile=$request->uri; + $displayfile=~s/^\/[^\/]*//; + $result='

'.$displayfile. + '

'; $result=&inserteditinfo($result,$filecontents); } }