'); if ($symb) { my $title='

'.&Apache::lonnet::gettitle($symb).'

'; if (&get_parent_uri($symb)) { @@ -329,11 +342,12 @@ unless ($questiontypes{$qtype}) { $qtype='radio'; } $r->print( '
' - .''.&mt('Question Type').'' + .'' .&Apache::loncommon::select_form( $qtype, 'questiontype', - {&Apache::lonlocal::texthash(%questiontypes)}) + {&Apache::lonlocal::texthash(%questiontypes)}, + undef,undef,'questiontype') .'
' ); $r->print( @@ -364,27 +378,38 @@ unless (defined($randomize)) { $randomize='yes'; } unless ($randomizes{$randomize}) { $randomize='yes'; } $r->print( - ''. - '
'.&mt('Max number of foils displayed'). -':   '. - &Apache::loncommon::select_form( + '
'. + '
'. + '
  '. + &Apache::loncommon::select_form( $randomize, 'randomize', - {&Apache::lonlocal::texthash(%randomizes)}). - '
'); + {&Apache::lonlocal::texthash(%randomizes)}, + undef,undef,undef,undef,&mt('Foil order')). + '
'. + '
'); # Option Response: Options if ($qtype eq 'option') { my $options=$qparms{$prefix.'options'}; unless (defined($options)) { $options="('true','false')"; } my %optionshash=&evaloptionhash($options); $r->print( - ''. - '
'.&mt('Add new option').': '. - ''. - &mt('Delete an option').': '. - &Apache::loncommon::select_form('','delopt',{'' => '',%optionshash}). - '
'); + '
'. + '
'. + '
'. + ''); + if (%optionshash) { + $r->print( + '
'. + '
'); } # Foils for (my $i=1;$i<=10;$i++) { @@ -392,11 +417,11 @@ } # End Options if ($qtype eq 'option') { - $r->print('
'); + $r->print('
'); } # End Response - $r->print('

'); + $r->print('