Diff for /loncom/interface/lontrackstudent.pm between versions 1.38 and 1.40

version 1.38, 2014/11/24 02:36:30 version 1.40, 2017/11/12 23:06:51
Line 185  sub get_max_time_in_db { Line 185  sub get_max_time_in_db {
     &Apache::lonhtmlcommon::Update_PrgWin      &Apache::lonhtmlcommon::Update_PrgWin
         ($r,$prog_state,&mt('Parsing results'));          ($r,$prog_state,&mt('Parsing results'));
     #      #
     if (! open(TIMEDATA,$results_file)) {      if (! open(TIMEDATA,"<",$results_file)) {
         $r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'.          $r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'.
                   '<p>'.                    '<p>'.
                   &mt('This is a serious error and has been logged.').                    &mt('This is a serious error and has been logged.').
Line 254  sub output_results { Line 254  sub output_results {
         $r->print('<p class="LC_info">'.&mt('So far, no data has been returned for your request').'</p>');          $r->print('<p class="LC_info">'.&mt('So far, no data has been returned for your request').'</p>');
         return -1;          return -1;
     }      }
     if (! open(ACTIVITYDATA,$results_file)) {      if (! open(ACTIVITYDATA,"<",$results_file)) {
         $r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'.          $r->print('<p class="LC_error">'.&mt('Unable to read results file.').'</p>'.
                   '<p>'.                    '<p>'.
                   &mt('This is a serious error and has been logged.').                    &mt('This is a serious error and has been logged.').
Line 580  sub handler { Line 580  sub handler {
     my $args;      my $args;
     if ($env{'form.only_body'}) {      if ($env{'form.only_body'}) {
         $args = { only_body => 1, };          $args = { only_body => 1, };
           $args->{'add_progressbar'} = 1;
     }      }
     $r->print(&Apache::loncommon::start_page('Student Activity',&styles(),$args).      $r->print(&Apache::loncommon::start_page('Student Activity',&styles(),$args).
               &Apache::lonhtmlcommon::breadcrumbs('Student Activity'));                &Apache::lonhtmlcommon::breadcrumbs('Student Activity'));

Removed from v.1.38  
changed lines
  Added in v.1.40


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