Diff for /loncom/xml/londefdef.pm between versions 1.158.4.3 and 1.158.4.4

version 1.158.4.3, 2003/08/27 15:00:43 version 1.158.4.4, 2003/08/30 02:41:26
Line 462  sub start_body { Line 462  sub start_body {
     my ($target,$token,$tagstack,$parstack,$parser,$safeeval) = @_;      my ($target,$token,$tagstack,$parstack,$parser,$safeeval) = @_;
     my $currentstring = '';      my $currentstring = '';
     if ($target eq 'web') {      if ($target eq 'web') {
    if ($Apache::lonhomework::parsing_a_problem) {
       &Apache::lonxml::warning("<body> tag found inside of <problem> tag this can cause problems.");
       return '';
    }
  if (!$Apache::lonxml::registered) {   if (!$Apache::lonxml::registered) {
     $currentstring.='<head>'.      $currentstring.='<head>'.
  &Apache::lonmenu::registerurl(undef,$target).'</head>';   &Apache::lonmenu::registerurl(undef,$target).'</head>';

Removed from v.1.158.4.3  
changed lines
  Added in v.1.158.4.4


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