--- loncom/interface/lonbulletin.pm 2003/09/17 19:45:39 1.15 +++ loncom/interface/lonbulletin.pm 2003/11/24 16:00:45 1.18 @@ -1,7 +1,7 @@ # The LearningOnline Network # Bulletin Board Handler # -# $Id: lonbulletin.pm,v 1.15 2003/09/17 19:45:39 www Exp $ +# $Id: lonbulletin.pm,v 1.18 2003/11/24 16:00:45 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -38,7 +38,7 @@ use Apache::lonlocal; sub handler { my $r = shift; - $r->content_type('text/html'); + &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; return OK if $r->header_only; @@ -66,7 +66,7 @@ ENDDOCUMENT my $crs = $ENV{'course.'.$ENV{'request.course.id'}.'.num'}; # --------------------------------------------------------- The syllabus fields - my %syllabusfields=&Apache::lonnet::texthash( + my %syllabusfields=&Apache::lonlocal::texthash( 'aaa_title' => 'Topic', 'bbb_content' => 'Task', 'ccc_webreferences' => 'Web References'); @@ -176,7 +176,7 @@ ENDDOCUMENT } $r->print(&Apache::lonfeedback::list_discussion ('board','OPEN','bulletin___'.$marker.'___'. - 'adm/wrapper'.$r->uri).''); + $r->uri).''); return OK; }