Diff for /loncom/homework/optionresponse.pm between versions 1.19 and 1.20

version 1.19, 2001/06/27 18:51:59 version 1.20, 2001/07/18 20:27:21
Line 266  sub start_foil { Line 266  sub start_foil {
     if ($$tagstack['-2'] eq 'conceptgroup') { $level = '-3'; }      if ($$tagstack['-2'] eq 'conceptgroup') { $level = '-3'; }
     my @opt;      my @opt;
     eval '@opt ='.&Apache::lonxml::get_param('options',$parstack,$safeeval,$level);      eval '@opt ='.&Apache::lonxml::get_param('options',$parstack,$safeeval,$level);
     $result.=&Apache::edit::text_arg('Name:','name',$token).      $result.=&Apache::edit::text_arg('Name:','name',$token);
       &Apache::edit::select_arg('Correct Option:','value',['unused',(@opt)],$token).      $result.= &Apache::edit::select_or_text_arg('Correct Option:','value',['unused',(@opt)],$token,'15');
       '</td></tr><tr><td colspan="3">';      $result .= '</td></tr><tr><td colspan="3">';
   }    }
   if ($target eq 'modified') {    if ($target eq 'modified') {
     my $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,'value','name');      my $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,'value','name');

Removed from v.1.19  
changed lines
  Added in v.1.20


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>