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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 13 Mar 2003 18:35:12 -0000


albertel		Thu Mar 13 13:35:12 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  - forgot to update the names after I renamed tohe functions
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.128 loncom/interface/lonprintout.pm:1.129
--- loncom/interface/lonprintout.pm:1.128	Thu Mar  6 13:16:04 2003
+++ loncom/interface/lonprintout.pm	Thu Mar 13 13:35:12 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.128 2003/03/06 18:16:04 bowersj2 Exp $
+# $Id: lonprintout.pm,v 1.129 2003/03/13 18:35:12 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -605,7 +605,7 @@
 	my %moreenv;
 	$moreenv{'form.textwidth'}=$LaTeXwidth;
 	&Apache::lonnet::appenv(%moreenv);
-	my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin2($r,'Print Status','Class Print Status',$#students+1);
+	my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,'Print Status','Class Print Status',$#students+1);
 	foreach my $person (@students) {
 	    my $current_output = ''; 
 	    my ($usersection,$username,$userdomain) = split /:/,$person;
@@ -639,10 +639,10 @@
 	    $result .= $current_output;
 	    &Apache::lonnet::delenv('form.counter');	    
 	    &Apache::lonxml::init_counter(); 
-	    &Apache::lonhtmlcommon::Increment_PrgWin2($r,\%prog_state,
+	    &Apache::lonhtmlcommon::Increment_PrgWin($r,\%prog_state,
 						    'last student '.$fullname);
 	}
-	&Apache::lonhtmlcommon::Close_PrgWin2($r,\%prog_state);
+	&Apache::lonhtmlcommon::Close_PrgWin($r,\%prog_state);
 	$result .= '\end{document}';
 	&Apache::lonnet::delenv('form.textwidth');
     } elsif ($choice eq 'Subdirectory print') {      
@@ -1223,7 +1223,7 @@
     my $r = shift;
 
     # A hook for me to work without disturbing Alex.
-    if ($ENV{'form.jeremy'}) {
+    if (!$ENV{'form.jeremy'}) {
         printWizard($r);
         return OK;
     }