version 1.65, 2003/09/03 17:45:49
|
version 1.66, 2003/09/03 18:23:10
|
Line 140 sub BuildStudentAssessmentPage {
|
Line 140 sub BuildStudentAssessmentPage {
|
my ($r,$c)=@_; |
my ($r,$c)=@_; |
|
|
undef($Statistics); |
undef($Statistics); |
|
undef($show_links); |
|
undef($output_mode); |
|
undef($data); |
|
undef($base); |
|
undef($datadescription); |
|
undef($single_student_mode); |
|
|
$single_student_mode = 0; |
$single_student_mode = 0; |
$single_student_mode = 1 if ($ENV{'form.SelectedStudent'}); |
$single_student_mode = 1 if ($ENV{'form.SelectedStudent'}); |
Line 585 sub html_initialize {
|
Line 591 sub html_initialize {
|
$padding = ' 'x3; |
$padding = ' 'x3; |
$count = 0; |
$count = 0; |
$nodata_count = 0; |
$nodata_count = 0; |
|
undef(%prog_state); |
# |
# |
$r->print("<h3>".$ENV{'course.'.$ENV{'request.course.id'}.'.description'}. |
$r->print("<h3>".$ENV{'course.'.$ENV{'request.course.id'}.'.description'}. |
" ".localtime(time)."</h3>"); |
" ".localtime(time)."</h3>"); |
Line 836 my $request_aborted;
|
Line 843 my $request_aborted;
|
sub excel_initialize { |
sub excel_initialize { |
my ($r) = @_; |
my ($r) = @_; |
# |
# |
$request_aborted = undef; |
undef ($excel_sheet); |
|
undef ($excel_workbook); |
|
undef ($filename); |
|
undef ($rows_output); |
|
undef ($cols_output); |
|
undef (%prog_state); |
|
undef ($request_aborted); |
|
# |
my $total_columns = scalar(&get_student_fields_to_show()); |
my $total_columns = scalar(&get_student_fields_to_show()); |
foreach my $seq (&Apache::lonstatistics::Sequences_with_Assess()) { |
foreach my $seq (&Apache::lonstatistics::Sequences_with_Assess()) { |
# Add 2 because we need a 'sum' and 'total' column for each |
# Add 2 because we need a 'sum' and 'total' column for each |
Line 1173 sub csv_initialize{
|
Line 1187 sub csv_initialize{
|
my ($r) = @_; |
my ($r) = @_; |
# |
# |
# Clean up |
# Clean up |
$filename = undef; |
undef($outputfile); |
$outputfile = undef; |
undef($filename); |
|
undef($request_aborted); |
undef(%prog_state); |
undef(%prog_state); |
# |
# |
# Deal with unimplemented requests |
# Deal with unimplemented requests |