Diff for /loncom/homework/hint.pm between versions 1.40 and 1.41

version 1.40, 2003/04/08 02:47:42 version 1.41, 2003/04/18 07:53:15
Line 74  sub end_hintgroup { Line 74  sub end_hintgroup {
  &Apache::lonxml::debug("found :$id:$numtries:$hinttries:");   &Apache::lonxml::debug("found :$id:$numtries:$hinttries:");
  my $hinttext=&Apache::lonxml::endredirection;   my $hinttext=&Apache::lonxml::endredirection;
  if ($Apache::lonhomework::type ne 'exam' &&   if ($Apache::lonhomework::type ne 'exam' &&
     $numtries >= $hinttries && $hinttext !~/^\s*$/) {      $numtries >= $hinttries && $hinttext =~/\S/) {
     $result='<table bgcolor="#dddddd"><tr><td>'.      $result='<table bgcolor="#dddddd"><tr><td>'.
  $hinttext.'</td></tr></table>';   $hinttext.'</td></tr></table>';
  }   }

Removed from v.1.40  
changed lines
  Added in v.1.41


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