Diff for /loncom/homework/hint.pm between versions 1.22 and 1.27

version 1.22, 2002/01/11 16:32:29 version 1.27, 2002/03/06 20:39:15
Line 32  use strict; Line 32  use strict;
 use Apache::lonnet;  use Apache::lonnet;
 use capa;  use capa;
   
 sub BEGIN {  BEGIN {
   &Apache::lonxml::register('Apache::hinttags',('hintgroup','hintpart','numericalhint'));    &Apache::lonxml::register('Apache::hinttags',('hintgroup','hintpart','numericalhint'));
 }  }
   
Line 58  sub start_hintgroup { Line 58  sub start_hintgroup {
     if ($skiptoend) {      if ($skiptoend) {
       &Apache::lonxml::get_all_text("/hintgroup",$$parser[$#$parser]);        &Apache::lonxml::get_all_text("/hintgroup",$$parser[$#$parser]);
     }      }
     } elsif ($target eq 'tex') {
       $result .= '\keephidden{'; 
   }    }
   @Apache::hint::which=();    @Apache::hint::which=();
   return $result;    return $result;
Line 79  sub end_hintgroup { Line 81  sub end_hintgroup {
     }      }
   } elsif ($target eq 'edit') {    } elsif ($target eq 'edit') {
     $result.=&Apache::edit::end_table();      $result.=&Apache::edit::end_table();
     } elsif ($target eq 'tex') {
       $result .= '}'; 
   }    }
   @Apache::hint::which=();    @Apache::hint::which=();
   return $result;    return $result;

Removed from v.1.22  
changed lines
  Added in v.1.27


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