--- loncom/interface/lonsyllabus.pm 2004/05/03 17:49:11 1.29 +++ loncom/interface/lonsyllabus.pm 2004/05/04 14:14:58 1.30 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.29 2004/05/03 17:49:11 sakharuk Exp $ +# $Id: lonsyllabus.pm,v 1.30 2004/05/04 14:14:58 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -45,7 +45,6 @@ sub handler { # ------------------------------------------------------------ Print the screen my $target=$ENV{'form.grade_target'}; - &Apache::lonnet::logthis("NOW TARGET IS DEFINIED AS $target"); if ($target ne 'tex') { $r->print(< @@ -160,7 +159,7 @@ ENDDOCUMENT if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) { $forcestudent='student'; } - if ($forcestudent) { $allowed=0; } + if ($forcestudent or $target eq 'tex') { $allowed=0; } } if ($allowed) { $r->print('

'.