Diff for /loncom/interface/lonnavdisplay.pm between versions 1.22.4.9.2.1 and 1.22.4.10

version 1.22.4.9.2.1, 2020/05/25 16:12:12 version 1.22.4.10, 2021/03/04 01:38:00
Line 55  sub real_handler { Line 55  sub real_handler {
     }      }
   
     # Check for critical messages and redirect if present.      # Check for critical messages and redirect if present.
     my ($redirect,$url) = &Apache::loncommon::critical_redirect(300,'contents');      my ($redirect,$url) = &Apache::loncommon::critical_redirect(300);
     if ($redirect) {      if ($redirect) {
         &Apache::loncommon::content_type($r,'text/html');          &Apache::loncommon::content_type($r,'text/html');
         $r->header_out(Location => $url);          $r->header_out(Location => $url);
Line 87  sub real_handler { Line 87  sub real_handler {
         my $preamble = '<div id="LC_update_'.$cid.'" class="LC_info">'.          my $preamble = '<div id="LC_update_'.$cid.'" class="LC_info">'.
                        '<br />'.                         '<br />'.
                        &mt('Your course session is being updated because of recent changes by course personnel.').                         &mt('Your course session is being updated because of recent changes by course personnel.').
                        ' '.&mt('Please be patient.').'<br /></div>'.                         ' '.&mt('Please be patient').'.<br /></div>'.
                        '<div style="padding:0;clear:both;margin:0;border:0"></div>';                         '<div style="padding:0;clear:both;margin:0;border:0"></div>';
         $closure = <<ENDCLOSE;          $closure = <<ENDCLOSE;
 <script type="text/javascript">  <script type="text/javascript">
Line 100  ENDCLOSE Line 100  ENDCLOSE
         &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Updating course'));          &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Updating course'));
         $r->rflush();          $r->rflush();
         my ($furl,$ferr) = &Apache::lonuserstate::readmap("$cdom/$cnum",\%prog_state,$r);          my ($furl,$ferr) = &Apache::lonuserstate::readmap("$cdom/$cnum",\%prog_state,$r);
         &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Finished'));          &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,&mt('Finished!'));
         if ($ferr) {          if ($ferr) {
             &Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state);              &Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state);
             $r->print($closure.&Apache::loncommon::end_page());              $r->print($closure.&Apache::loncommon::end_page());

Removed from v.1.22.4.9.2.1  
changed lines
  Added in v.1.22.4.10


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