--- loncom/homework/radiobuttonresponse.pm 2002/08/05 15:55:21 1.45
+++ loncom/homework/radiobuttonresponse.pm 2002/08/05 18:24:05 1.46
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# mutliple choice style responses
#
-# $Id: radiobuttonresponse.pm,v 1.45 2002/08/05 15:55:21 albertel Exp $
+# $Id: radiobuttonresponse.pm,v 1.46 2002/08/05 18:24:05 sakharuk Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -261,16 +261,20 @@ sub displayfoils {
if ($target ne 'tex') {
$result.="
";
} else {
- $result.='\vskip 0 mm ';
+ $result.='\vskip 0 mm \item ';
}
if ($Apache::response::foilgroup{$name.'.value'} eq 'true') {
- $result.='Correct:';
+ if ($target ne 'tex') { $result.='Correct:'; } else { $result.='Correct: ';}
} else {
$result.='Incorrect:';
}
- $result.=$Apache::response::foilgroup{$name.'.text'}."\n";
+ if ($target ne 'tex') {
+ $result.=$Apache::response::foilgroup{$name.'.text'}."\n";
+ } else {
+ $result.=$Apache::response::foilgroup{$name.'.text'};
+ }
if ($Apache::response::foilgroup{$name.'.value'} eq 'true') {
- $result.='';
+ if ($target ne 'tex') { $result.='';}
}
}
} else {