--- loncom/interface/lonmenu.pm 2005/07/14 21:37:22 1.158 +++ loncom/interface/lonmenu.pm 2005/11/08 14:45:44 1.162 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.158 2005/07/14 21:37:22 albertel Exp $ +# $Id: lonmenu.pm,v 1.162 2005/11/08 14:45:44 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -185,12 +185,12 @@ ENDINLINEMENU } $navmaps=(< -$lt{'nav'} +$lt{'nav'} ENDNAV if (&Apache::lonnet::allowed('mdc',$env{'request.course.id'})) { $docs=(< -$lt{'docs'} +$lt{'docs'} ENDDOCS } if ( @@ -363,7 +363,7 @@ sub innerregister { my $hwkadd=''; if ($env{'request.symb'} ne '' && - $env{'request.filename'}=~/\.(problem|exam|quiz|assess|survey|form)$/) { + $env{'request.filename'}=~/\.(problem|exam|quiz|assess|survey|form|task)$/) { if (&Apache::lonnet::allowed('mgr',$crs)) { $hwkadd.=&switch('','',7,2,'pgrd.gif','problem[_1]','grades[_3]', "gocmd('/adm/grades','gradingmenu')", @@ -1186,6 +1186,7 @@ sub get_nav_status { sub handler { my $r = shift; + &Apache::loncommon::no_cache($r); &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; return OK if $r->header_only;