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>'; |
} |
} |