[LON-CAPA-cvs] cvs: loncom /homework radiobuttonresponse.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Thu, 07 Nov 2002 15:34:14 -0000
sakharuk Thu Nov 7 10:34:14 2002 EDT
Modified files:
/loncom/homework radiobuttonresponse.pm
Log:
On-line exam with passed answer date can be printed correctly with answers.
Index: loncom/homework/radiobuttonresponse.pm
diff -u loncom/homework/radiobuttonresponse.pm:1.59 loncom/homework/radiobuttonresponse.pm:1.60
--- loncom/homework/radiobuttonresponse.pm:1.59 Mon Oct 28 09:28:04 2002
+++ loncom/homework/radiobuttonresponse.pm Thu Nov 7 10:34:14 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# mutliple choice style responses
#
-# $Id: radiobuttonresponse.pm,v 1.59 2002/10/28 14:28:04 sakharuk Exp $
+# $Id: radiobuttonresponse.pm,v 1.60 2002/11/07 15:34:14 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -350,10 +350,10 @@
if ($target ne 'tex') {
$result.="<br />";
} else {
- $result.='\vskip 0 mm \item ';
+ $result.='\vskip 0 mm ';
}
if ($Apache::response::foilgroup{$name.'.value'} eq 'true') {
- if ($target ne 'tex') { $result.='Correct:<b>'; } else { $result.='Correct: ';}
+ if ($target ne 'tex') { $result.='Correct:<b>'; } else { $result.='Correct: \textbf{';}
} else {
$result.='Incorrect:';
}
@@ -363,7 +363,7 @@
$result.=$Apache::response::foilgroup{$name.'.text'};
}
if ($Apache::response::foilgroup{$name.'.value'} eq 'true') {
- if ($target ne 'tex') { $result.='</b>';}
+ if ($target ne 'tex') { $result.='</b>';} else {$result.='}';}
}
}
} else {