version 1.68.2.2, 2012/12/10 23:18:47
|
version 1.68.2.3, 2014/02/26 03:15:04
|
Line 733 sub html_non_essay_results {
|
Line 733 sub html_non_essay_results {
|
foreach my $original_header (@$headers) { |
foreach my $original_header (@$headers) { |
if ($original_header eq 'Time') { |
if ($original_header eq 'Time') { |
push(@values,&Apache::lonlocal::locallocaltime($response->{$original_header})); |
push(@values,&Apache::lonlocal::locallocaltime($response->{$original_header})); |
|
} elsif (($original_header eq 'Submission') && |
|
!($resptype =~ /^(radiobutton|option|match|rank)$/)) { |
|
# encode all submissions which have not been encoded above |
|
push(@values,&HTML::Entities::encode($response->{$original_header},'<>&"')); |
|
} elsif (($original_header eq 'Correct') && |
|
($resptype eq 'radiobutton')) { |
|
# encode foil separators |
|
push(@values,&HTML::Entities::encode($response->{$original_header},'&')); |
} else { |
} else { |
# A normal column |
# A normal column |
push(@values,$response->{$original_header}); |
push(@values,$response->{$original_header}); |