--- loncom/interface/lonerrorhandler.pm 2007/12/04 04:43:21 1.14
+++ loncom/interface/lonerrorhandler.pm 2008/08/19 11:22:00 1.15
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Internal Server Error Handler
#
-# $Id: lonerrorhandler.pm,v 1.14 2007/12/04 04:43:21 raeburn Exp $
+# $Id: lonerrorhandler.pm,v 1.15 2008/08/19 11:22:00 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -89,9 +89,11 @@ ENDMESSAGE
$r->print('
'.&mt('Report submitted').'
'.&mt('Thank you!'));
} else {
$r->print(''.&mt('Warning: Report not submitted').'
'.
- ''.&mt("The administrators of
- the domain ($defdom) have not set any e-mail addresses
- for receipt of your error report.").'');
+ ''
+ .&mt('The administrators of the domain [_1] have not set'
+ .' any e-mail addresses for receipt of your error report.'
+ ,''.$defdom.'')
+ .'');
}
} else {
# ------------------------------------------------------------- Get environment
@@ -114,13 +116,15 @@ ENDMESSAGE
my $version=$r->dir_config('lonVersion');
# ----------------------------------------------------------- Print error form
- $r->print(''.
-&mt('Somewhere something went wrong - please help us to find out what.').'
'.
-&mt('Please take a moment to fill out the form below.').' '.&mt('Your information,
- together with internal debugging information, will be emailed to the system and
-server administrators.').'
+ $r->print(''
+.&mt('Somewhere something went wrong')
+.'
'
+.''.&mt('Please help us to find out what.').'
'
+.''.&mt('Please take a moment to fill out the form below.').' '
+.&mt('Your information, together with internal debugging information, '
+ .'will be emailed to the system and server administrators.')
+.'
'.&mt('Thank you for your help!').'
-
-
+
'.&mt('Internal info:').
+''.
$syllabus.'
-
+
');
# -------------------------- Better terminate this in case something was sticky