--- loncom/interface/lonsyllabus.pm 2006/03/07 21:36:20 1.47 +++ loncom/interface/lonsyllabus.pm 2006/03/15 19:41:26 1.48 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.47 2006/03/07 21:36:20 www Exp $ +# $Id: lonsyllabus.pm,v 1.48 2006/03/15 19:41:26 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -56,7 +56,9 @@ sub handler { if ($homeserver eq 'no_host') { &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; - $r->print('
'.&mt('No syllabus available').''); + $r->print(&Apache::loncommon::startpage('No syllabus available'). + &mt('No syllabus available'). + &Apache::loncommon::end_page()); return OK; } # ------------------------------------- There is such a course, get environment @@ -66,10 +68,10 @@ sub handler { my $feedurl='http://'.$ENV{'HTTP_HOST'}.'/public/'.$cdom.'/'.$cnum.'/Course_Announcements.rss'; if ($target ne 'tex') { my $html=&Apache::lonxml::xmlbegin(); + my $head=&Apache::loncommon::headtag('The LearningOnline Network with CAPA'); $r->print(<