version 1.592, 2011/06/16 11:59:16
|
version 1.593, 2011/06/19 13:34:46
|
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) { |