Diff for /loncom/homework/structuretags.pm between versions 1.260.2.4 and 1.260.2.5

version 1.260.2.4, 2004/08/29 07:51:22 version 1.260.2.5, 2004/09/22 20:49:45
Line 861  sub start_instructorcomment { Line 861  sub start_instructorcomment {
     if ($target eq 'web' || $target eq 'grade' || $target eq 'answer' ||      if ($target eq 'web' || $target eq 'grade' || $target eq 'answer' ||
  $target eq 'tex' || $target eq 'analyze') {   $target eq 'tex' || $target eq 'analyze') {
         $result=($ENV{'request.role'}=~/^(in|cc|au|ca|li)/);          $result=($ENV{'request.role'}=~/^(in|cc|au|ca|li)/);
  if ( ! $result ) {   if ( (! $result) or ($ENV{'form.instructor_comments'} eq 'hide')) {
     my $skip=&Apache::lonxml::get_all_text("/instructorcomment",      my $skip=&Apache::lonxml::get_all_text("/instructorcomment",
    $parser,$style);     $parser,$style);
     &Apache::lonxml::debug("skipping ahead :$skip: $$parser[-1]");      &Apache::lonxml::debug("skipping ahead :$skip: $$parser[-1]");

Removed from v.1.260.2.4  
changed lines
  Added in v.1.260.2.5


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