--- loncom/interface/lonhelp.pm 2005/04/07 06:56:23 1.18 +++ loncom/interface/lonhelp.pm 2005/07/12 15:53:48 1.19 @@ -71,7 +71,7 @@ HEADER $r->print($tex); - if (Apache::lonnavmaps::advancedUser()) { + if (&Apache::lonnavmaps::advancedUser()) { $r->print(<
@@ -79,13 +79,13 @@ $r->print(< FOOTER -} else { + } else { $r->print(< FOOTER -} + } } # Render takes a tex fragment, transforms it for TtH, and returns the @@ -151,7 +151,7 @@ sub handler my $filenames = &Apache::lonnet::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 # will be "not found", no matter what.