Diff for /loncom/interface/lonbulletin.pm between versions 1.23 and 1.24.2.1

version 1.23, 2004/05/10 14:10:03 version 1.24.2.1, 2004/08/18 21:15:19
Line 42  sub handler { Line 42  sub handler {
     $r->send_http_header;      $r->send_http_header;
     return OK if $r->header_only;      return OK if $r->header_only;
     my $target=$ENV{'form.grade_target'};      my $target=$ENV{'form.grade_target'};
     &Apache::lonnet::logthis("MY TARGET IS DEFINED AS $target");  
   
   
 #    &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['previous']);  #    &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['previous']);
Line 110  ENDDOCUMENT Line 109  ENDDOCUMENT
     if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) {      if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) {
   $forcestudent='student';    $forcestudent='student';
     }      }
       if ($target ne 'tex') { $r->print('<table><tr><td>'); }
       if ($forcestudent or $target eq 'tex') { $allowed=0; }        if ($forcestudent or $target eq 'tex') { $allowed=0; }
     
       if ($allowed) {        if ($allowed) {
Line 211  ENDDOCUMENT Line 210  ENDDOCUMENT
     } else {      } else {
        $r->print('<p>'.&mt('No page information provided.').'</p>');         $r->print('<p>'.&mt('No page information provided.').'</p>');
     }      }
       if ($target ne 'tex') { $r->print('</td></tr></table>'); }
     if ($target ne 'tex') {      if ($target ne 'tex') {
  $r->print(&Apache::lonfeedback::list_discussion   $r->print(&Apache::lonfeedback::list_discussion
            ('board','OPEN','bulletin___'.$marker.'___'.             ('board','OPEN','bulletin___'.$marker.'___'.

Removed from v.1.23  
changed lines
  Added in v.1.24.2.1


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