Diff for /loncom/interface/spreadsheet/classcalc.pm between versions 1.31 and 1.32

version 1.31, 2011/12/21 21:25:46 version 1.32, 2014/02/12 16:53:09
Line 320  sub outsheet_htmlclasslist { Line 320  sub outsheet_htmlclasslist {
                   &mt('Expire all student spreadsheets').'</a>'.$/);                    &mt('Expire all student spreadsheets').'</a>'.$/);
     }      }
     #      #
     $r->print('<h3>'.      $r->print('<p class="LC_info">'.
               &mt('Click on a student to be taken to their spreadsheet').                &mt('Click on a student to be taken to their spreadsheet').
               '</h3>');                '</p>');
     #      #
     my %header=&Apache::lonlocal::texthash(      my %header=&Apache::lonlocal::texthash(
                                            'student'      => 'Student',                                             'student'      => 'Student',
Line 357  END Line 357  END
     $r->print("</table>\n".$tableheader);      $r->print("</table>\n".$tableheader);
  }   }
         my $link = '<a href="/adm/studentcalc?sname='.$student->{'username'}.          my $link = '<a href="/adm/studentcalc?sname='.$student->{'username'}.
             '&sdomain='.$student->{'domain'}.'">';              '&amp;sdomain='.$student->{'domain'}.'">';
         $student->{'section'} = 'none' if ($student->{'section'} eq '-1');          $student->{'section'} = 'none' if ($student->{'section'} eq '-1');
  $r->print('<tr>'.   $r->print('<tr>'.
                   '<td>'.$num_output.'</td>'.                    '<td>'.$num_output.'</td>'.
Line 370  END Line 370  END
         if ($show_expire_link) {          if ($show_expire_link) {
             $r->print('<td>'.              $r->print('<td>'.
                       '<a href="/adm/classcalc?recalc=student:'.                        '<a href="/adm/classcalc?recalc=student:'.
                       $student->{'username'}.':'.$student->{'domain'}.'&'.                        $student->{'username'}.':'.$student->{'domain'}.'&amp;'.
                       'output_format=htmlclasslist&'.                        'output_format=htmlclasslist&amp;'.
                       'not_first_run=1'.'">Expire Record</a>'.$/);                        'not_first_run=1'.'">'.&mt('Expire Record').'</a>'.$/);
         }          }
         $r->print("</tr>\n");          $r->print("</tr>\n");
     }      }

Removed from v.1.31  
changed lines
  Added in v.1.32


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