--- loncom/interface/lonprintout.pm 2011/06/16 11:59:16 1.592 +++ loncom/interface/lonprintout.pm 2011/06/19 13:38:44 1.594 @@ -2,7 +2,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.592 2011/06/16 11:59:16 foxr Exp $ +# $Id: lonprintout.pm,v 1.594 2011/06/19 13:38:44 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3354,11 +3354,16 @@ sub print_resources { # that so we're going to generate a stub that says there are no # incomplete resources for the person. # - if ($actually_printed == 0) { + &Apache::lonnet::logthis("Number printed: $actually_printed"); + if ($actually_printed == 0) { + &Apache::lonnet::logthis("Remove? $remove_latex_header"); $current_output = &encapsulate_minipage("\\vskip -10mm \nNo incomplete resources\n \\vskip 100 mm { }\n"); - $current_output = &print_latex_header() . $current_output; - + if ($remove_latex_header eq "NO") { + $current_output = &print_latex_header() . $current_output; + } else { + $current_output = &latex_header_footer_remove($current_output); + } } if ($syllabus_first) { @@ -3784,7 +3789,7 @@ sub printHelper { } push(@{$printChoices}, - [&mt('Selected Incomplete [_1]Problems[_2] from folder [_3]' . $textSuffix, + [&mt('Selected [_1]Incomplete Problems[_2] from folder [_3]' . $textSuffix, '', '', ''. $sequenceTitle . ''), $printSelector, @@ -3831,7 +3836,7 @@ sub printHelper { # BZ 5209 - incomplete problems from entire course: push(@{$printChoices}, - [&mtn('Selected incomplete Problems from entire course for selected people'), + [&mtn('Selected Incomplete Problems from entire course for selected people'), 'incomplete_problems_selpeople_course', 'INCOMPLETE_PROBLEMS_COURSE_RESOURCES']); my $helperFragment = &create_incomplete_course_helper($helper); # Create needed states.