--- loncom/interface/lonprintout.pm 2006/03/23 22:32:10 1.433
+++ loncom/interface/lonprintout.pm 2006/04/14 19:42:19 1.436
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.433 2006/03/23 22:32:10 albertel Exp $
+# $Id: lonprintout.pm,v 1.436 2006/04/14 19:42:19 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2234,7 +2234,6 @@ ALL_PROBLEMS
- NUMBER_PER_PDF
How should the results be printed?
Start each student\'s assignment on a new page/column (add a pagefeed after each assignment)
@@ -2242,17 +2241,15 @@ ALL_PROBLEMS
Add two empty pages/column after each student\'s assignment
Add three empty pages/column after each student\'s assignment
-
-
PAGESIZE
How do you want assignments split into PDF files?
All assignments in a single PDF file
Each PDF contains exactly one section
Each PDF contains exactly one assignment
- Specify Number:
+
+ Specify Number:
- "all"
RESOURCE_SELECTOR
@@ -2296,12 +2293,13 @@ CHOOSE_STUDENTS
}
push(@{$helper->{DATA}{ALL_CODE_CHOICES}},[$code,$choice]);
}
- $code_selection .=
-'
-
- push(@{$state->{CHOICES}},@{$helper->{DATA}{ALL_CODE_CHOICES}});
-
- '.$/;
+ if (%codes_to_print) {
+ $code_selection .='
+
+ push(@{$state->{CHOICES}},@{$helper->{DATA}{ALL_CODE_CHOICES}});
+
+ '.$/;
+ }
open(FH,$Apache::lonnet::perlvar{'lonTabDir'}.'/scantronformat.tab');
@@ -2403,17 +2401,15 @@ CHOOSE_ANON1
Add two empty pages/column after each student\'s assignment
Add three empty pages/column after each student\'s assignment
-
-
PAGESIZE
How do you want assignments split into PDF files?
All assignments in a single PDF file
Each PDF contains exactly one section
Each PDF contains exactly one assignment
- Specify Number:
+
+ Specify Number:
- "all"
RESOURCE_SELECTOR