--- loncom/interface/lonprintout.pm 2006/03/15 16:17:53 1.430 +++ loncom/interface/lonprintout.pm 2006/03/29 11:47:03 1.434 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.430 2006/03/15 16:17:53 albertel Exp $ +# $Id: lonprintout.pm,v 1.434 2006/03/29 11:47:03 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1022,12 +1022,8 @@ sub output_data { my ($r,$helper,$rparmhash) = @_; my %parmhash = %$rparmhash; my $resources_printed = ''; - my $html=&Apache::lonxml::xmlbegin(); - my $bodytag=&Apache::loncommon::bodytag('Preparing Printout'); - $r->print(< - -LON-CAPA output for printing - -$bodytag -

-Please stand by while processing your print request, this may take some time ... -

ENDPART + my $start_page = &Apache::loncommon::start_page('Preparing Printout',$js); + my $msg = &mt('Please stand by while processing your print request, this may take some time ...'); + $r->print($start_page."\n

\n$msg\n

\n"); # fetch the pagebreaks and store them in the course environment # The page breaks will be pulled into the hash %page_breaks which is @@ -1770,12 +1763,12 @@ ENDPART "cgi.$identifier.coursedom" => $cdom, "cgi.$identifier.resources" => $resources_printed); -$r->print(<print(< Continue - - +$end_page FINALEND } @@ -2157,10 +2150,11 @@ sub printHelper { my $helperFragment = < (mark them then click "next" button)
- PAGESIZE - return $isProblem; + return $isProblemOrMap; + return $isNotMap; $map return $symbFilter;