Diff for /loncom/xml/lonxml.pm between versions 1.251 and 1.252

version 1.251, 2003/05/03 21:09:03 version 1.252, 2003/05/16 18:34:56
Line 1252  ENDNOTFOUND Line 1252  ENDNOTFOUND
   
   writeallows($request->uri);    writeallows($request->uri);
   
     # If we're editing, show the filename of the resource in the frame's main
     # title
     if ($ENV{'form.editmode'}) {
         my $filename = $request->uri;
         # Everything after the last /
         $filename = substr($filename, rindex($filename, '/') + 1);
         $result = substr($result, 0, rindex($result, '</html>'));
         $result .= "<script>top.document.title = '$filename - LON-CAPA Construction Space';</script>";
         $result .= "\n</html>\n";
     }
   
   
   $request->print($result);    $request->print($result);
   
   return OK;    return OK;

Removed from v.1.251  
changed lines
  Added in v.1.252


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>