Diff for /loncom/interface/lonerrorhandler.pm between versions 1.15 and 1.21

version 1.15, 2008/08/19 11:22:00 version 1.21, 2008/12/12 23:03:04
Line 26 Line 26
 # http://www.lon-capa.org/  # http://www.lon-capa.org/
 #  #
   
   
   
 package Apache::lonerrorhandler;  package Apache::lonerrorhandler;
   
 use strict;  use strict;
Line 43  sub handler { Line 45  sub handler {
     return OK if $r->header_only;      return OK if $r->header_only;
   
     &Apache::lonacc::get_posted_cgi($r);      &Apache::lonacc::get_posted_cgi($r);
       if (!$Apache::lonlocal::lh) {
           &Apache::lonlocal::get_language_handle($r);
       }
     my $title = $env{'form.sendinfo'} ? 'Sending Error Report'      my $title = $env{'form.sendinfo'} ? 'Sending Error Report'
                                       : 'Could Not Process Request';                                        : 'Could Not Process Request';
     $r->print(&Apache::loncommon::start_page($title));      $r->print(&Apache::loncommon::start_page($title));
Line 140  ENDMESSAGE Line 144  ENDMESSAGE
 <input type="hidden" name="syllabus" value="'.$syllabus.'" />  <input type="hidden" name="syllabus" value="'.$syllabus.'" />
 <input type="hidden" name="sendinfo" value="1" />  <input type="hidden" name="sendinfo" value="1" />
 <p>  <p>
 <input type="submit" value="'.&mt('Send Information').'" />  <input type="submit" title="'.&mt('Send Information').'" value="'.&mt('Send').'" />
 </p>  </p>
 </form>  </form>
 <h1>'.&mt('Thank you for your help!').'</h1>  <h1>'.&mt('Thank you for your help!').'</h1>
Line 161  $syllabus.' Line 165  $syllabus.'
   
 1;  1;
 __END__  __END__
   
   
   =pod
   
   =head1 NAME
   
   Apache::lonerrorhandler.pm
   
   =head1 SYNOPSIS
   
   Handles errors.
   
   This is part of the LearningOnline Network with CAPA project
   described at http://www.lon-capa.org.
   
   =head1 OVERVIEW
   
   None
   
   =cut

Removed from v.1.15  
changed lines
  Added in v.1.21


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