Diff for /loncom/homework/structuretags.pm between versions 1.309 and 1.310

version 1.309, 2005/11/03 11:32:00 version 1.310, 2005/11/03 12:14:31
Line 716  sub start_problem { Line 716  sub start_problem {
  }   }
     }      }
  }   }
  &Apache::lonxml::startredirection; # We'll do redirection to deal with duedates.  
     } elsif ($target eq 'edit') {      } elsif ($target eq 'edit') {
  $result.=$head_tag_start."</head>".$body_tag_start.$form_tag_start.   $result.=$head_tag_start."</head>".$body_tag_start.$form_tag_start.
     &problem_edit_header();      &problem_edit_header();
Line 737  sub start_problem { Line 736  sub start_problem {
 sub end_problem {  sub end_problem {
     my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;      my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_;
     my $result='';      my $result='';
     if ($target eq 'tex') {  
  $result = &Apache::lonxml::endredirection;  
     }  
     my $status=$Apache::inputtags::status['-1'];      my $status=$Apache::inputtags::status['-1'];
     if ($target eq 'grade' || $target eq 'web' || $target eq 'answer' ||      if ($target eq 'grade' || $target eq 'web' || $target eq 'answer' ||
  $target eq 'tex') {   $target eq 'tex') {

Removed from v.1.309  
changed lines
  Added in v.1.310


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