--- loncom/interface/lonsyllabus.pm 2003/02/10 20:03:13 1.12 +++ loncom/interface/lonsyllabus.pm 2004/02/13 15:01:29 1.27 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.12 2003/02/10 20:03:13 www Exp $ +# $Id: lonsyllabus.pm,v 1.27 2004/02/13 15:01:29 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -34,10 +34,12 @@ use Apache::loncommon; use Apache::lonnet; use Apache::lontexconvert; use Apache::lonfeedback; +use Apache::lonannounce; +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; @@ -46,17 +48,16 @@ sub handler {