Diff for /loncom/homework/hint.pm between versions 1.71 and 1.74

version 1.71, 2008/09/13 02:08:32 version 1.74, 2008/11/20 15:19:15
Line 26 Line 26
 # http://www.lon-capa.org/  # http://www.lon-capa.org/
 #  #
   
   
   
 package Apache::hinttags;   package Apache::hinttags; 
   
 use strict;  use strict;
Line 68  sub start_hintgroup { Line 70  sub start_hintgroup {
  $result .= '\keephidden{';   $result .= '\keephidden{';
     } elsif ($target eq 'edit') {      } elsif ($target eq 'edit') {
  $result.=&Apache::edit::tag_start($target,$token);   $result.=&Apache::edit::tag_start($target,$token);
  $result.=&Apache::edit::select_arg('Show hint even if problem Correct:','showoncorrect',[['no',&mt('No')],['yes',&mt('Yes')]],$token);   $result.=&Apache::edit::select_arg('Show hint even if problem Correct:','showoncorrect',['no','yes'],$token);
  $result.=&Apache::edit::end_row().&Apache::edit::start_spanning_row();   $result.=&Apache::edit::end_row().&Apache::edit::start_spanning_row();
     } elsif ($target eq 'modified') {      } elsif ($target eq 'modified') {
  my $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,'showoncorrect');   my $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,'showoncorrect');
Line 649  sub end_radiobuttonhint { Line 651  sub end_radiobuttonhint {
 }  }
 1;  1;
 __END__  __END__
   
   
   =head1 NAME
   
   Apache::hinttags
   
   =head1 SYNOPSIS
   
   This handler coordinates the delivery of hints to students working on LON-CAPA problems and assignments.
   
   This is part of the LearningOnline Network with CAPA project
   described at http://www.lon-capa.org.
   
   =head1 SUBROUTINES
   
   =over
   
   =item start_hintgroup()
   
   =item end_hintgroup()
   
   =item start_numericalhint()
   
   =item end_numericalhint()
   
   =item start_formulahint()
   
   =item end_formulahint()
   
   =item start_mathhint()
   
   =item end_mathhint()
   
   =item start_customhint()
   
   =item end_customhint()
   
   =item start_stringhint()
   
   =item end_stringhint()
   
   =item start_hintpart()
   
   =item end_hintpart()
   
   =item start_optionhint()
   
   =item end_optionhint()
   
   =item start_radiobuttonhint()
   
   =item end_radiobuttonhint()
   
   =back
   
   =cut
   

Removed from v.1.71  
changed lines
  Added in v.1.74


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