--- loncom/interface/lonhelp.pm 2006/07/14 17:05:21 1.31 +++ loncom/interface/lonhelp.pm 2006/07/18 21:55:24 1.32 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonhelp.pm,v 1.31 2006/07/14 17:05:21 www Exp $ +# $Id: lonhelp.pm,v 1.32 2006/07/18 21:55:24 albertel Exp $ # # .tex help system web server handler # @@ -59,7 +59,7 @@ sub processLabelName { sub servetext { my ($r,$text) = @_; my $bugs=&Apache::loncommon::help_open_bug('Documentation','Report a documentation bug'); - my $morehelp=Apache::loncommon::help_open_menu(undef,undef,1,undef,undef,undef,undef,'Help and Assistance Menu'); + my $morehelp;#=&Apache::loncommon::help_open_menu(undef,undef,1,undef,undef,undef,undef,'Help and Assistance Menu'); my $start_page= &Apache::loncommon::start_page('LON-CAPA Help',undef, {'only_body' => 1,}); @@ -213,8 +213,8 @@ sub handler { $text=&listmatches($docroot,$env{'form.searchterm'}); } } else { - my $filenames = &unescape(substr ($ENV{'REQUEST_URI'} , - rindex($ENV{'REQUEST_URI'}, '/') + 1, -4)); + my $filenames = &unescape(substr($ENV{'REQUEST_URI'} , + rindex($ENV{'REQUEST_URI'}, '/') + 1, -4)); # Security check on the file; the whole filename must consist # of nothing but alphanums, ' ,, or ., or the file