[LON-CAPA-cvs] cvs: loncom /interface lonhelp.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 12 Jul 2005 15:53:50 -0000
albertel Tue Jul 12 11:53:50 2005 EDT
Modified files:
/loncom/interface lonhelp.pm
Log:
- style enforcements
Index: loncom/interface/lonhelp.pm
diff -u loncom/interface/lonhelp.pm:1.18 loncom/interface/lonhelp.pm:1.19
--- loncom/interface/lonhelp.pm:1.18 Thu Apr 7 02:56:23 2005
+++ loncom/interface/lonhelp.pm Tue Jul 12 11:53:48 2005
@@ -71,7 +71,7 @@
$r->print($tex);
- if (Apache::lonnavmaps::advancedUser()) {
+ if (&Apache::lonnavmaps::advancedUser()) {
$r->print(<<FOOTER);
<!-- END -->
<hr />
@@ -79,13 +79,13 @@
</body>
</html>
FOOTER
-} else {
+ } else {
$r->print(<<FOOTER);
<!-- END -->
</body>
</html>
FOOTER
-}
+ }
}
# Render takes a tex fragment, transforms it for TtH, and returns the
@@ -151,7 +151,7 @@
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.