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

version 1.34, 2012/10/04 13:41:10 version 1.36, 2014/01/15 10:29:07
Line 186  sub get_max_time_in_db { Line 186  sub get_max_time_in_db {
         ($r,$prog_state,&mt('Parsing results'));          ($r,$prog_state,&mt('Parsing results'));
     #      #
     if (! open(TIMEDATA,$results_file)) {      if (! open(TIMEDATA,$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 '.                    '<br />'.
                       'to resolve this issue.').                    &mt('Please alert your LON-CAPA administrator.').
                   '</p>');                    '</p>');
         return;          return;
     }      }
Line 257  sub output_results { Line 257  sub output_results {
     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.').
                       'You should contact your system administrator '.                    '<br />'.
                       'to resolve this issue.').                    &mt('Please alert your LON-CAPA administrator.').
                   '</p>');                    '</p>');
         return -2;          return -2;
     }      }
Line 586  sub handler { Line 586  sub handler {
     #      #
     # Begin form output      # Begin form output
     $r->print('<form name="trackstudent" method="post" action="/adm/trackstudent">');      $r->print('<form name="trackstudent" method="post" action="/adm/trackstudent">');
     $r->print('<br />');  
     $r->print('<div name="statusline">'.  
               &mt('Status: [_1]',  
                   '<input type="text" name="status" size="60" value="" readonly="readonly" />').  
               '</div>');  
     $r->rflush();      $r->rflush();
     my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r);      my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r);
     &Apache::lonhtmlcommon::Update_PrgWin      &Apache::lonhtmlcommon::Update_PrgWin

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


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