version 1.592, 2011/06/16 11:59:16
|
version 1.594, 2011/06/19 13:38:44
|
Line 3354 sub print_resources {
|
Line 3354 sub print_resources {
|
# that so we're going to generate a stub that says there are no |
# that so we're going to generate a stub that says there are no |
# incomplete resources for the person. |
# 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 = &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) { |
if ($syllabus_first) { |
Line 3784 sub printHelper {
|
Line 3789 sub printHelper {
|
} |
} |
|
|
push(@{$printChoices}, |
push(@{$printChoices}, |
[&mt('Selected Incomplete [_1]Problems[_2] from folder [_3]' . $textSuffix, |
[&mt('Selected [_1]Incomplete Problems[_2] from folder [_3]' . $textSuffix, |
'<b>', '</b>', |
'<b>', '</b>', |
'<b><i>'. $sequenceTitle . '</b></i>'), |
'<b><i>'. $sequenceTitle . '</b></i>'), |
$printSelector, |
$printSelector, |
Line 3831 sub printHelper {
|
Line 3836 sub printHelper {
|
# BZ 5209 - incomplete problems from entire course: |
# BZ 5209 - incomplete problems from entire course: |
|
|
push(@{$printChoices}, |
push(@{$printChoices}, |
[&mtn('Selected incomplete <b>Problems</b> from <b>entire course</b> for selected people'), |
[&mtn('Selected <b>Incomplete Problems</b> from <b>entire course</b> for selected people'), |
'incomplete_problems_selpeople_course', 'INCOMPLETE_PROBLEMS_COURSE_RESOURCES']); |
'incomplete_problems_selpeople_course', 'INCOMPLETE_PROBLEMS_COURSE_RESOURCES']); |
my $helperFragment = &create_incomplete_course_helper($helper); # Create needed states. |
my $helperFragment = &create_incomplete_course_helper($helper); # Create needed states. |
|
|