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

version 1.14, 2007/12/04 04:43:21 version 1.15, 2008/08/19 11:22:00
Line 89  ENDMESSAGE Line 89  ENDMESSAGE
     $r->print('<h2>'.&mt('Report submitted').'</h2>'.&mt('Thank you!'));      $r->print('<h2>'.&mt('Report submitted').'</h2>'.&mt('Thank you!'));
         } else {          } else {
             $r->print('<h2>'.&mt('Warning: Report not submitted').'</h2>'.              $r->print('<h2>'.&mt('Warning: Report not submitted').'</h2>'.
                       '<span class="LC_error">'.&mt("The administrators of                        '<span class="LC_error">'
                       the domain ($defdom) have not set any e-mail addresses                       .&mt('The administrators of the domain [_1] have not set'
                       for receipt of your error report.").'</span>');                           .' any e-mail addresses for receipt of your error report.'
                            ,'<tt>'.$defdom.'</tt>')
                        .'</span>');
         }          }
     } else {      } else {
 # ------------------------------------------------------------- Get environment  # ------------------------------------------------------------- Get environment
Line 114  ENDMESSAGE Line 116  ENDMESSAGE
  my $version=$r->dir_config('lonVersion');   my $version=$r->dir_config('lonVersion');
   
 # ----------------------------------------------------------- Print error form  # ----------------------------------------------------------- Print error form
  $r->print('<h2>'.   $r->print('<h2 class="LC_error">'
 &mt('Somewhere something went wrong - please help us to find out what.').'</h2>'.  .&mt('Somewhere something went wrong')
 &mt('Please take a moment to fill out the form below.').' '.&mt('Your information,  .'</h2>'
  together with internal debugging information, will be emailed to the system and   .'<p>'.&mt('Please help us to find out what.').'</p>'
 server administrators.').'  .'<p>'.&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.')
   .'</p>
 <form action="/adm/errorhandler" method="post">  <form action="/adm/errorhandler" method="post">
 <input type="submit" value="'.&mt('Send Information').'" />  
 <h3>'.&mt('Please describe what you did just before this screen came up').'</h3>  <h3>'.&mt('Please describe what you did just before this screen came up').'</h3>
 <textarea name="prioraction" cols="50" rows="5">  <textarea name="prioraction" cols="50" rows="5">
 </textarea>  </textarea>
Line 140  server administrators.').' Line 144  server administrators.').'
 </p>  </p>
 </form>  </form>
 <h1>'.&mt('Thank you for your help!').'</h1>  <h1>'.&mt('Thank you for your help!').'</h1>
 <font size="-1">  <div><font size="-1">
 <pre>  
 '.&mt('Internal info:').  '.&mt('Internal info:').
   '<pre>'.
 $syllabus.'  $syllabus.'
 </pre>  </pre>
 </font>  </font></div>
 ');  ');
 # -------------------------- Better terminate this in case something was sticky  # -------------------------- Better terminate this in case something was sticky
   

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


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