version 1.5, 2006/05/05 20:03:43
|
version 1.7, 2006/08/18 15:15:38
|
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); |
} |
} |
Line 305 sub create_interface {
|
Line 309 sub create_interface {
|
$str .= '<tr>'; |
$str .= '<tr>'; |
$str .= '<td align="center"><b>'.&mt('Sections').'</b></td>'; |
$str .= '<td align="center"><b>'.&mt('Sections').'</b></td>'; |
$str .= '<td align="center"><b>'.&mt('Groups').'</b></td>'; |
$str .= '<td align="center"><b>'.&mt('Groups').'</b></td>'; |
$str .= '<td align="center"><b>'.&mt('Enrollment Status').'</b></td>'; |
$str .= '<td align="center"><b>'.&mt('Access Status').'</b></td>'; |
$str .= '<td>'.&mt('<b>Output as</b> [_1]',$output_selector).'</td>'; |
$str .= '<td>'.&mt('<b>Output as</b> [_1]',$output_selector).'</td>'; |
$str .= '</tr>'."\n"; |
$str .= '</tr>'."\n"; |
## |
## |