version 1.5, 2006/05/05 20:03:43
|
version 1.6, 2006/06/01 19:21:22
|
Line 216 sub task_analysis {
|
Line 216 sub task_analysis {
|
'<a href="'.$filename.'">'. |
'<a href="'.$filename.'">'. |
&mt('Your Excel spreadsheet.').'</a>'."\n"); |
&mt('Your Excel spreadsheet.').'</a>'."\n"); |
} else { |
} else { |
$r->print('<table class="thinborder">'); |
$r->print(&Apache::loncommon::start_data_table()); |
$r->print('<tr><th>Name (username)</th><th>Grades Assigned</th></tr>'); |
$r->print(&Apache::loncommon::start_data_table_header_row(). |
|
'<th>Name (username)</th><th>Grades Assigned</th>'. |
|
&Apache::loncommon::end_data_table_header_row() ); |
foreach my $line (@output) { |
foreach my $line (@output) { |
$r->print(sprintf("<tr><td>%s (<tt>%s</tt>)</td><td>%s</td></tr>", |
$r->print(&Apache::loncommon::start_data_table_row(). |
@{$line})); |
sprintf("<td>%s (<tt>%s</tt>)</td><td>%s</td></tr>", |
|
@{$line}). |
|
&Apache::loncommon::end_data_table_row()); |
} |
} |
$r->print('</table>'); |
$r->print(&Apache::loncommon::end_data_table()); |
} |
} |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state); |
} |
} |