version 1.7, 2006/08/18 15:15:38
|
version 1.8, 2008/09/12 14:35:45
|
Line 197 sub task_analysis {
|
Line 197 sub task_analysis {
|
} |
} |
close($outputfile); |
close($outputfile); |
$r->print('<br />'. |
$r->print('<br />'. |
'<a href="'.$filename.'">'.&mt('Your csv file.')."</a>\n"); |
'<a href="'.$filename.'">'.&mt('Your CSV file.')."</a>\n"); |
} elsif ($env{'form.output'} eq 'excel') { |
} elsif ($env{'form.output'} eq 'excel') { |
my ($excel_workbook,$excel_sheet,$filename,$format,$rows_output) = |
my ($excel_workbook,$excel_sheet,$filename,$format,$rows_output) = |
&init_excel_output($r); |
&init_excel_output($r); |
Line 218 sub task_analysis {
|
Line 218 sub task_analysis {
|
} else { |
} else { |
$r->print(&Apache::loncommon::start_data_table()); |
$r->print(&Apache::loncommon::start_data_table()); |
$r->print(&Apache::loncommon::start_data_table_header_row(). |
$r->print(&Apache::loncommon::start_data_table_header_row(). |
'<th>Name (username)</th><th>Grades Assigned</th>'. |
'<th>'.&mt('Name (username)').'</th><th>'.&mt('Grades Assigned').'</th>'. |
&Apache::loncommon::end_data_table_header_row() ); |
&Apache::loncommon::end_data_table_header_row() ); |
foreach my $line (@output) { |
foreach my $line (@output) { |
$r->print(&Apache::loncommon::start_data_table_row(). |
$r->print(&Apache::loncommon::start_data_table_row(). |