Diff for /loncom/homework/daxesave.pm between versions 1.9 and 1.10

version 1.9, 2023/11/19 21:28:17 version 1.10, 2023/11/26 20:47:15
Line 38  use File::Copy; Line 38  use File::Copy;
 use Apache::lonacc;  use Apache::lonacc;
 use Apache::loncommon;  use Apache::loncommon;
 use Apache::xml_to_loncapa;  use Apache::xml_to_loncapa;
   use Apache::lonlocal;
   
 sub handler {  sub handler {
     my $request = shift;      my $request = shift;
           
     $request->content_type('text/plain');      $request->content_type('text/plain');
   
     my %editors = &Apache::loncommon::permitted_editors();      my %editors = &Apache::loncommon::permitted_editors($request->uri);
     unless ($editors{'daxe'}) {      unless ($editors{'daxe'}) {
         $request->content_type('text/plain');          $request->content_type('text/plain');
         $request->print(&mt('Daxe editor not enabled for this Authoring Space'));          $request->print(&mt('Daxe editor not enabled for this Authoring Space'));

Removed from v.1.9  
changed lines
  Added in v.1.10


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