[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /homework grades.pm
raeburn
raeburn@source.lon-capa.org
Fri, 13 Aug 2010 01:23:59 -0000
raeburn Fri Aug 13 01:23:59 2010 EDT
Modified files: (Branch: version_2_10_X)
/loncom/homework grades.pm
Log:
- Backport 1.597 (part), 1.635 (part).
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.596 loncom/homework/grades.pm:1.596.2.1
--- loncom/homework/grades.pm:1.596 Sun Feb 28 23:31:42 2010
+++ loncom/homework/grades.pm Fri Aug 13 01:23:59 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.596 2010/02/28 23:31:42 raeburn Exp $
+# $Id: grades.pm,v 1.596.2.1 2010/08/13 01:23:59 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -382,7 +382,7 @@
return '<blockquote><table border="1">'.
'<tr valign="top"><td>'.&mt('Answer').'</td>'.$toprow.'</tr>'.
'<tr valign="top"><td>'.$grayFont.&mt('Option ID').'</span></td>'.
- $grayFont.$bottomrow.'</tr>'.'</table></blockquote>';
+ $bottomrow.'</tr></table></blockquote>';
} elsif ($response eq 'match') {
my %answer=&Apache::lonnet::str2hash($answer);
my %grading=&Apache::lonnet::str2hash($record->{$version."resource.$partid.$respid.submissiongrading"});
@@ -8948,8 +8948,8 @@
my $pcorrect=&mt("Percentage points for correct solution");
my $pincorrect=&mt("Percentage points for incorrect solution");
my $selectform=&Apache::loncommon::select_form($env{'form.upfiletype'},'upfiletype',
- ('iclicker' => 'i>clicker',
- 'interwrite' => 'interwrite PRS'));
+ {'iclicker' => 'i>clicker',
+ 'interwrite' => 'interwrite PRS'});
$symb = &Apache::lonenc::check_encrypt($symb);
$result.=<<ENDUPFORM;
<script type="text/javascript">