version 1.195.2.1, 2015/04/21 23:36:43
|
version 1.198, 2015/04/20 21:57:47
|
Line 51 sub start_optionresponse {
|
Line 51 sub start_optionresponse {
|
undef(%Apache::response::foilnames); |
undef(%Apache::response::foilnames); |
if ($target eq 'edit') { |
if ($target eq 'edit') { |
$result.=&Apache::edit::start_table($token) |
$result.=&Apache::edit::start_table($token) |
.'<tr><td><span class="LC_nobreak">'.&mt('Multiple Option Response Question').'</span> ' |
.'<tr><td><span class="LC_nobreak">'.&Apache::loncommon::insert_folding_button().' ' |
|
.&mt('Multiple Option Response Question').'</span> ' |
.&Apache::loncommon::help_open_topic('Option_Response_Problems')."</td>" |
.&Apache::loncommon::help_open_topic('Option_Response_Problems')."</td>" |
.'<td><span class="LC_nobreak">'.&mt('Delete?').' ' |
.'<td><span class="LC_nobreak">'.&mt('Delete?').' ' |
.&Apache::edit::deletelist($target,$token) |
.&Apache::edit::deletelist($target,$token) |
Line 127 sub start_foilgroup {
|
Line 128 sub start_foilgroup {
|
maxcheck => 'Enter maximum number students may check (e.g., 3)', |
maxcheck => 'Enter maximum number students may check (e.g., 3)', |
mincheck => 'Enter minimum number students need to check (e.g., 1)', |
mincheck => 'Enter minimum number students need to check (e.g., 1)', |
); |
); |
$result.= (<<ENDTABLE); |
$result.= sprintf(<<ENDTABLE, &Apache::loncommon::insert_folding_button()); |
<tr><td>$lt{'sel'}</td> |
<tr><td>%s $lt{'sel'}</td> |
<td> |
<td> |
$lt{'add'} <input type="text" name="$Apache::lonxml::curdepth.options" /> |
$lt{'add'} <input type="text" name="$Apache::lonxml::curdepth.options" /> |
</td> |
</td> |
Line 515 sub grading_is_nonlenient {
|
Line 516 sub grading_is_nonlenient {
|
} elsif ($lenientparm=~/^1|on|yes$/i) { |
} elsif ($lenientparm=~/^1|on|yes$/i) { |
$nonlenient = 0; |
$nonlenient = 0; |
} |
} |
if (!$nonlenient) { |
|
$Apache::inputtags::leniency=1; |
|
} |
|
return $nonlenient; |
return $nonlenient; |
} |
} |
|
|