Diff for /loncom/interface/lontrackstudent.pm between versions 1.33 and 1.34

version 1.33, 2011/12/21 21:25:40 version 1.34, 2012/10/04 13:41:10
Line 251  sub output_results { Line 251  sub output_results {
     ##      ##
     if (! -s $results_file) {      if (! -s $results_file) {
         # results file is empty, just let them know there is no data          # results file is empty, just let them know there is no data
         $r->print('<h2>'.&mt('So far, no data has been returned for your request').'</h2>');          $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('<h2>'.&mt('Unable to read results file.').'</h2>'.          $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.  '.
                       'You should contact your system administrator '.                        'You should contact your system administrator '.
Line 615  sub handler { Line 615  sub handler {
             &get_data($r,\%prog_state,$navmap,              &get_data($r,\%prog_state,$navmap,
                       'student:'.$env{'form.selected_student'});                        'student:'.$env{'form.selected_student'});
         } else {          } else {
             $r->print('<h2>'.&mt('Unable to process for [_1]:[_2]',              $r->print(
                                  $sname,$sdom).'</h2>');                  '<p class="LC_error">'
                  .&mt('Unable to process for [_1]:[_2]',$sname,$sdom)
                  .'</p>'
               );
         }          }
     } else {      } else {
         # For now, just show all the data instead of limiting it to one student          # For now, just show all the data instead of limiting it to one student

Removed from v.1.33  
changed lines
  Added in v.1.34


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