--- loncom/homework/radiobuttonresponse.pm 2004/08/30 02:03:44 1.93
+++ loncom/homework/radiobuttonresponse.pm 2004/10/04 17:41:01 1.94
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# mutliple choice style responses
#
-# $Id: radiobuttonresponse.pm,v 1.93 2004/08/30 02:03:44 albertel Exp $
+# $Id: radiobuttonresponse.pm,v 1.94 2004/10/04 17:41:01 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -260,9 +260,11 @@ sub displayallfoils {
} else {
$result.="
";
}
+ $result .= '';
$temp++;
if ($direction eq 'horizontal') { $result.=""; }
}
@@ -433,8 +435,9 @@ sub displayfoils {
} else {
$result.='Incorrect:';
}
+ if ($target eq 'web') { $result.=""; }
if ($Apache::response::foilgroup{$name.'.value'} eq 'true') {
if ($target ne 'tex') { $result.='';} else {$result.='}';}
}
@@ -467,9 +470,10 @@ sub displayfoils {
}
}
if ($target ne 'tex') {
+ $result.= '";
} else {
if ($Apache::lonhomework::type eq 'exam') {
$result .= '{\small \textbf{'.$alphabet[$i].'}}$\bigcirc$'.$Apache::response::foilgroup{$name.'.text'}.'\\\\'; #' stupid emacs