--- loncom/homework/optionresponse.pm 2015/04/21 23:36:43 1.195.2.1
+++ loncom/homework/optionresponse.pm 2015/04/20 21:57:47 1.198
@@ -1,7 +1,7 @@
# LearningOnline Network with CAPA
# option list style responses
#
-# $Id: optionresponse.pm,v 1.195.2.1 2015/04/21 23:36:43 raeburn Exp $
+# $Id: optionresponse.pm,v 1.198 2015/04/20 21:57:47 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -51,7 +51,8 @@ sub start_optionresponse {
undef(%Apache::response::foilnames);
if ($target eq 'edit') {
$result.=&Apache::edit::start_table($token)
- .'
'.&mt('Multiple Option Response Question').' '
+ .''.&Apache::loncommon::insert_folding_button().' '
+ .&mt('Multiple Option Response Question').' '
.&Apache::loncommon::help_open_topic('Option_Response_Problems')." "
.''.&mt('Delete?').' '
.&Apache::edit::deletelist($target,$token)
@@ -127,8 +128,8 @@ sub start_foilgroup {
maxcheck => 'Enter maximum number students may check (e.g., 3)',
mincheck => 'Enter minimum number students need to check (e.g., 1)',
);
- $result.= (<$lt{'sel'}
+ $result.= sprintf(<%s $lt{'sel'}
$lt{'add'}
@@ -515,9 +516,6 @@ sub grading_is_nonlenient {
} elsif ($lenientparm=~/^1|on|yes$/i) {
$nonlenient = 0;
}
- if (!$nonlenient) {
- $Apache::inputtags::leniency=1;
- }
return $nonlenient;
}