[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentsubmissions.pm
raeburn
raeburn@source.lon-capa.org
Fri, 12 Dec 2008 05:52:26 -0000
raeburn Fri Dec 12 05:52:26 2008 EDT
Modified files:
/loncom/interface/statistics lonstudentsubmissions.pm
Log:
- Prevent unbalanced HTML tags.
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.51 loncom/interface/statistics/lonstudentsubmissions.pm:1.52
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.51 Thu Dec 11 14:55:27 2008
+++ loncom/interface/statistics/lonstudentsubmissions.pm Fri Dec 12 05:52:26 2008
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentsubmissions.pm,v 1.51 2008/12/11 14:55:27 bisitz Exp $
+# $Id: lonstudentsubmissions.pm,v 1.52 2008/12/12 05:52:26 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -265,7 +265,8 @@
$headers{'response'} .=
'<th colspan="'.scalar(@headers).'">'.
&mt('Response [_1]',$responses->[$i]).'</th>';
- $headers{'student'}.= '<th>'.join('</th><th><span class="LC_nobreak">',
+ $headers{'student'}.= '<th><span class="LC_nobreak">'.
+ join('</span></th><th><span class="LC_nobreak">',
@headers).
'</span></th>';
}
@@ -1166,6 +1167,7 @@
'<input type="text" name="stats_status"'
.' size="60" value="" readonly="readonly" />')
.'</span></p>';
+ $Str .= '</p>';
##
return $Str;
}