--- loncom/homework/radiobuttonresponse.pm 2008/11/20 15:19:15 1.139
+++ loncom/homework/radiobuttonresponse.pm 2009/03/18 13:46:26 1.142
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# mutliple choice style responses
#
-# $Id: radiobuttonresponse.pm,v 1.139 2008/11/20 15:19:15 jms Exp $
+# $Id: radiobuttonresponse.pm,v 1.142 2009/03/18 13:46:26 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -74,14 +74,14 @@ sub start_radiobuttonresponse {
.'
'.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token)
.' | '
- .' '.&Apache::edit::end_row()
+ .' | '.&Apache::edit::end_row()
.&Apache::edit::start_spanning_row();
$result.=
&Apache::edit::text_arg('Max Number Of Shown Foils:','max',
- $token,'4').
+ $token,'4').' 'x 3 .
&Apache::edit::select_arg('Randomize Foil Order:','randomize',
- ['yes','no'],$token).
- &Apache::edit::select_arg('Display Direction','direction',
+ ['yes','no'],$token).' 'x 3 .
+ &Apache::edit::select_arg('Display Direction:','direction',
['vertical','horizontal'],$token).
&Apache::edit::end_row().
&Apache::edit::start_spanning_row()."\n";
@@ -386,8 +386,8 @@ sub displayallfoils {
onchange=\"javascript:setSubmittedPart('$part');\"
type=\"radio\"
name=\"HWVAL_$Apache::inputtags::response['-1']\"
- value=\"$temp\" ";
- if (defined($lastresponse{$name})) { $result .= 'checked="on"'; }
+ value=\"$temp\"";
+ if (defined($lastresponse{$name})) { $result .= ' checked="checked"'; }
$result .= ' />'.$Apache::response::foilgroup{$name.'.text'}.
'';
}
@@ -615,8 +615,8 @@ sub displayfoils {
"";
} else {
if ($Apache::lonhomework::type eq 'exam') {
|