--- loncom/homework/radiobuttonresponse.pm 2008/12/11 02:16:46 1.140 +++ 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.140 2008/12/11 02:16:46 raeburn Exp $ +# $Id: radiobuttonresponse.pm,v 1.142 2009/03/18 13:46:26 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -78,10 +78,10 @@ sub start_radiobuttonresponse { .&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') {