[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
lon-capa-cvs@mail.lon-capa.org
Tue, 22 Mar 2005 10:53:43 -0000
foxr Tue Mar 22 05:53:43 2005 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
Defect 3552 - Pay attention to suppress_tries when printing problems for
selected students.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.368 loncom/interface/lonprintout.pm:1.369
--- loncom/interface/lonprintout.pm:1.368 Mon Mar 14 19:43:06 2005
+++ loncom/interface/lonprintout.pm Tue Mar 22 05:53:43 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.368 2005/03/15 00:43:06 albertel Exp $
+# $Id: lonprintout.pm,v 1.369 2005/03/22 10:53:43 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1182,6 +1182,7 @@
$moreenv{'textwidth'}=&get_textwidth($helper,$LaTeXwidth);
$moreenv{'print_discussions'}=$helper->{'VARS'}->{'PRINT_DISCUSSIONS'};
$moreenv{'problem_split'} = $parmhash{'problem_stream_switch'};
+ $moreenv{'suppress_tries'} = $parmhash{'suppress_tries'};
if ($helper->{'VARS'}->{'PRINT_DISCUSSIONS'} eq 'yes') {$moreenv{'problem_split'}='yes';}
my %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,'Print Status','Class Print Status',$#students+1,'inline','75');
my $student_counter=-1;