version 1.15, 2008/08/19 11:22:00
|
version 1.20, 2008/11/21 20:17:11
|
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="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 |
|
|