[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 04 Jul 2007 14:17:36 -0000
foxr Wed Jul 4 10:17:36 2007 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
BZ 4243 - format_page_transformation - differentiates now between the
two types of 'tyep 4' requests using the print type parameter passed
in.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.501 loncom/interface/lonprintout.pm:1.502
--- loncom/interface/lonprintout.pm:1.501 Tue May 1 21:33:49 2007
+++ loncom/interface/lonprintout.pm Wed Jul 4 10:17:36 2007
@@ -2,7 +2,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.501 2007/05/02 01:33:49 albertel Exp $
+# $Id: lonprintout.pm,v 1.502 2007/07/04 14:17:36 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -867,7 +867,11 @@
my ($textwidth,$textheight,$oddoffset,$evenoffset,$topmargin);
if ($selectionmade eq '4') {
- $assignment='Problems from the Whole Course';
+ if ($choice eq 'all_problems') {
+ $assignment='Problems from the Whole Course';
+ } else {
+ $assignment='Resources from the Whole Course';
+ }
} else {
$assignment=&Apache::lonxml::latex_special_symbols($assignment,'header');
}