--- loncom/interface/lonbulletin.pm 2003/09/17 19:45:39 1.15 +++ loncom/interface/lonbulletin.pm 2003/09/29 16:09:20 1.17 @@ -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.17 2003/09/29 16:09:20 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');