--- loncom/interface/lonparmset.pm 2009/01/20 18:05:55 1.422 +++ loncom/interface/lonparmset.pm 2009/01/20 18:37:30 1.424 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set parameters for assessments # -# $Id: lonparmset.pm,v 1.422 2009/01/20 18:05:55 bisitz Exp $ +# $Id: lonparmset.pm,v 1.424 2009/01/20 18:37:30 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1315,7 +1315,7 @@ ENDSCRIPT if ($$pscat[0] eq "all" || grep $_ eq $tempkey, @{$pscat}) { $r->print(' checked="checked"'); } - $r->print('>'.($$allparms{$tempkey}=~/\S/ ? &mt($$allparms{$tempkey}) + $r->print(' />'.($$allparms{$tempkey}=~/\S/ ? &mt($$allparms{$tempkey}) : &mt($tempkey)) .''); $cnt++; @@ -1816,12 +1816,13 @@ sub assessparms { if (!$pssymb) { $r->print(''); if ($parmlev ne 'general') { $r->print(''); } - $r->print('
'); &levelmenu($r,\%alllevs,$parmlev); + $r->print(''); &mapmenu($r,\%allmaps,$pschp,\%maptitles); $r->print('
'); + $r->print(''); &displaymenu($r,\%allparms,\%allparts,\@pscat,\@psprt,\%keyorder); } else { my ($map,$id,$resource)=&Apache::lonnet::decode_symb($pssymb); @@ -3140,7 +3141,7 @@ sub listdata { $r->print(&default_selector($thiskey,$$resourcedata{$thiskey})); } $r->print(''); + $thistype.'" />'); $r->print(''.&Apache::loncommon::end_data_table_row()); } } @@ -3885,19 +3886,19 @@ sub output_row { my $single_checked; if ($options =~ m/onlyone/) { $multiple_checked = ''; - $single_checked = ' checked="checked" '; + $single_checked = ' checked="checked"'; } else { - $multiple_checked = ' checked="checked" '; + $multiple_checked = ' checked="checked"'; $single_checked = ''; } $output .= &Apache::loncommon::continue_data_table_row(); $output .= ''.(' ' x 10).' - + '.&mt('Student may select multiple choices from list').''; $output .= &Apache::loncommon::end_data_table_row(); $output .= &Apache::loncommon::continue_data_table_row(); $output .= ''.(' ' x 10).' - + '.&mt('Student may select only one choice from list').''; $output .= &Apache::loncommon::end_data_table_row(); }