--- loncom/interface/lonmenu.pm 2005/08/16 16:36:08 1.159 +++ 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.159 2005/08/16 16:36:08 albertel Exp $ +# $Id: lonmenu.pm,v 1.162 2005/11/08 14:45:44 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -190,7 +190,7 @@ 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;