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'}.'">'; |
'&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'}.'&'. |
'output_format=htmlclasslist&'. |
'output_format=htmlclasslist&'. |
'not_first_run=1'.'">Expire Record</a>'.$/); |
'not_first_run=1'.'">'.&mt('Expire Record').'</a>'.$/); |
} |
} |
$r->print("</tr>\n"); |
$r->print("</tr>\n"); |
} |
} |