--- loncom/interface/lonparmset.pm 2009/02/13 20:20:30 1.430 +++ loncom/interface/lonparmset.pm 2009/02/15 15:14:34 1.431 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set parameters for assessments # -# $Id: lonparmset.pm,v 1.430 2009/02/13 20:20:30 schafran Exp $ +# $Id: lonparmset.pm,v 1.431 2009/02/15 15:14:34 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1317,14 +1317,15 @@ ENDSCRIPT if ($$pscat[0] eq "all" || grep $_ eq $tempkey, @{$pscat}) { $r->print(' checked="checked"'); } - my $displaykey; - if ($$allparms{$tempkey}=~/\S/) { - $displaykey = $$allparms{$tempkey}; - } else { - $displaykey = $tempkey; + my $displaykey = &standard_parameter_names($tempkey); + if ($displaykey eq '') { + if ($$allparms{$tempkey}=~/\S/) { + $displaykey = $$allparms{$tempkey}; + } else { + $displaykey = $tempkey; + } } - $displaykey =~ s/(\[|\])/~$1/g; - $r->print(' />'.&mt($displaykey).''); + $r->print(' />'.$displaykey.''); $cnt++; if ($cnt==3) { $r->print("\n");