--- loncom/interface/lonhelp.pm 2006/07/14 16:46:36 1.30
+++ 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.30 2006/07/14 16:46:36 www Exp $
+# $Id: lonhelp.pm,v 1.32 2006/07/18 21:55:24 albertel Exp $
#
# .tex help system web server handler
#
@@ -59,6 +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 $start_page=
&Apache::loncommon::start_page('LON-CAPA Help',undef,
{'only_body' => 1,});
@@ -76,7 +77,6 @@ HEADER
if (&Apache::lonnavmaps::advancedUser()) {
my $search=&mt('Search LON-CAPA help');
- my $about=&mt('About LON-CAPA help and More Help');
my $query=&mt('Search');
my $uri = $r->uri;
$r->print(<
-$about
$bugs
+$morehelp
FOOTER
}
@@ -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