Diff for /loncom/interface/lonprintout.pm between versions 1.521 and 1.522

version 1.521, 2008/03/17 09:53:36 version 1.522, 2008/03/23 19:48:49
Line 2092  ENDPART Line 2092  ENDPART
     #      #
   
     if ($ssi_error) {      if ($ssi_error) {
   
           my $helpurl = &Apache::loncommon::top_nav_help('Helpdesk');
  my $end_page = &Apache::loncommon::end_page();   my $end_page = &Apache::loncommon::end_page();
  $r->print(<<ERROR_END);   $r->print('
 <br />  
 <h2>An unrecoverable error occured:</h2>  
 <p>  
   I was not able to render one of the print resources ($ssi_last_error_resource)   
 due to an unrecoverable error communicating with a server:  
 <br />  <br />
 $ssi_last_error;  <h2>'.&mt('An unrecoverable error occured:').'</h2>
 <br />  
 </p>  
 <p>  <p>
 I recommend that you try printing again later as this may mean the server was just     '.&mt('One of the resources ([_1]) you chose to print could not be rendered due to an unrecoverable error when communicating with a server:',$ssi_last_error_resource).' 
 temporarily unavailable, or is down for maintenance.  If this error persists, then  
 please contact your LonCAPA support folks for assistance and diagnosis.   
 <br />  
 <br />  <br />
 We apologize for the inconvenience.  '.$ssi_last_error.'
 </p>  </p>
 $end_page  <p>'.
 ERROR_END  &mt('It is recommended that you try printing again later, as this error may mean the server was just temporarily unavailable, or is down for maintenance.').'<br />'.
   &mt('If the error persists, please contact the [_1] for assistance.',$helpurl).
   '</p><p>'.
   &mt('We apologize for the inconvenience.').
   '</p>'.
   $end_page);
     } else {      } else {
   
 #-- writing .tex file in prtspool   #-- writing .tex file in prtspool 

Removed from v.1.521  
changed lines
  Added in v.1.522


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