[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
raeburn
raeburn at source.lon-capa.org
Wed Jan 15 18:19:30 EST 2025
raeburn Wed Jan 15 23:19:30 2025 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
- Remove some traling white space.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.706 loncom/interface/lonprintout.pm:1.707
--- loncom/interface/lonprintout.pm:1.706 Wed Jan 15 23:10:25 2025
+++ loncom/interface/lonprintout.pm Wed Jan 15 23:19:30 2025
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.706 2025/01/15 23:10:25 raeburn Exp $
+# $Id: lonprintout.pm,v 1.707 2025/01/15 23:19:30 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4785,15 +4785,15 @@
}
# FIXME: That RE should come from a library somewhere.
- if (($perm{'pav'}
- && ($subdir ne '')
+ if (($perm{'pav'}
+ && ($subdir ne '')
&& $subdir ne $Apache::lonnet::perlvar{'lonDocRoot'}.'/res/'
&& (defined($helper->{'VARS'}->{'construction'})
||
(&Apache::lonnet::allowed('bre',$subdir) eq 'F'
- &&
+ &&
$helper->{VARS}->{'postdata'}=~/\.(problem|exam|quiz|assess|survey|form|library|page|xml|html|htm|xhtml|xhtm)/)
- ))
+ ))
&& $helper->{VARS}->{'assignment'} eq ""
) {
my $pretty_dir = &Apache::lonnet::hreflocation($subdir);
@@ -5048,7 +5048,7 @@
my $startedTable = 0; # have we started an HTML table yet? (need
# to close it later)
- if (($perm{'pav'} and $perm{'vgr'}) or
+ if (($perm{'pav'} and $perm{'vgr'}) or
($helper->{VARS}->{'construction'} eq '1')) {
&addMessage('<br />'
.'<h3>'.&mt('Print Options').'</h3>'
More information about the LON-CAPA-cvs
mailing list