[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 08 May 2003 18:41:16 -0000


sakharuk		Thu May  8 14:41:16 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
   I've just restored almost everything except printing from subdirectories. Continue.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.158 loncom/interface/lonprintout.pm:1.159
--- loncom/interface/lonprintout.pm:1.158	Thu May  8 14:33:03 2003
+++ loncom/interface/lonprintout.pm	Thu May  8 14:41:16 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.158 2003/05/08 18:33:03 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.159 2003/05/08 18:41:16 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1394,8 +1394,6 @@
 #	  }
 #	  $result.=' \end{document}'
 	}
-
-
     } elsif (($helper->{'VARS'}->{'PRINT_TYPE'} eq 'map_problems') or
              ($helper->{'VARS'}->{'PRINT_TYPE'} eq 'map_problems_pages') or
              ($helper->{'VARS'}->{'PRINT_TYPE'} eq 'all_problems')) { 
@@ -1784,7 +1782,7 @@
     $r->print($helper->{VARS}->{'postdata'});
 
     # If we're in a sequence...
-    if (!defined($helper->{'VARS'}->{'construction'})) {
+    if ($helper->{'VARS'}->{'construction'} ne '1') {
         # Allow problems from sequence
         push @{$printChoices}, ["Problem(s) from <b>$sequenceTitle</b>", 'map_problems', 'CHOOSE_PROBLEMS'];
         # Allow all resources from sequence