--- loncom/interface/lonmenu.pm 2002/08/08 19:33:09 1.25 +++ loncom/interface/lonmenu.pm 2002/08/19 21:14:08 1.26 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.25 2002/08/08 19:33:09 matthew Exp $ +# $Id: lonmenu.pm,v 1.26 2002/08/19 21:14:08 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -155,6 +155,10 @@ sub rawconfig { if (&Apache::lonnet::allowed($1,$prt)) { $output.=switch($uname,$udom,$row,$col,$img,$top,$bot,$act); } + } elsif ($pro eq 'course') { + if ($ENV{'request.course.fn'}) { + $output.=switch($uname,$udom,$row,$col,$img,$top,$bot,$act); + } } elsif ($pro eq 'author') { if ($author) { if (($prt eq 'rca') && ($ENV{'request.role'}=~/^ca/)) {