Diff for /loncom/interface/lonsyllabus.pm between versions 1.29 and 1.30

version 1.29, 2004/05/03 17:49:11 version 1.30, 2004/05/04 14:14:58
Line 45  sub handler { Line 45  sub handler {
   
 # ------------------------------------------------------------ Print the screen  # ------------------------------------------------------------ Print the screen
     my $target=$ENV{'form.grade_target'};      my $target=$ENV{'form.grade_target'};
     &Apache::lonnet::logthis("NOW TARGET IS DEFINIED AS $target");  
     if ($target ne 'tex') {      if ($target ne 'tex') {
  $r->print(<<ENDDOCUMENT);   $r->print(<<ENDDOCUMENT);
 <html>  <html>
Line 160  ENDDOCUMENT Line 159  ENDDOCUMENT
   if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) {    if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) {
       $forcestudent='student';        $forcestudent='student';
   }    }
           if ($forcestudent) { $allowed=0; }            if ($forcestudent or $target eq 'tex') { $allowed=0; }
        }         }
        if ($allowed) {         if ($allowed) {
           $r->print('<p>'.            $r->print('<p>'.

Removed from v.1.29  
changed lines
  Added in v.1.30


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