--- loncom/interface/lonnavmaps.pm 2002/08/12 18:21:42 1.40 +++ loncom/interface/lonnavmaps.pm 2002/08/18 21:45:41 1.42 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.40 2002/08/12 18:21:42 albertel Exp $ +# $Id: lonnavmaps.pm,v 1.42 2002/08/18 21:45:41 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -434,8 +434,10 @@ sub handler { &Apache::loncommon::no_cache($r); $r->send_http_header; - my $firstres=$hash{'map_start_/res/'.$ENV{'request.course.uri'}}; - my $lastres=$hash{'map_finish_/res/'.$ENV{'request.course.uri'}}; + my $firstres=$hash{'map_start_'. + &Apache::lonnet::clutter($ENV{'request.course.uri'})}; + my $lastres=$hash{'map_finish_'. + &Apache::lonnet::clutter($ENV{'request.course.uri'})}; if (!(($firstres) && ($lastres))) { $r->print('Coursemap undefined.'); } else { @@ -575,8 +577,10 @@ sub handler { } $r->print('>'. ''. - '

Navigate Course Map

'. - "

$date

"); + '

Navigate Course Map

'); + my $desc=$ENV{'course.'.$ENV{'request.course.id'}.'.description'}; + if (defined($desc)) { $r->print("

$desc

\n"); } + $r->print("

$date

\n"); $r->rflush(); $r->print(' New discussion since '. localtime($lastcheck).