--- loncom/interface/lonprintout.pm 2009/07/23 10:42:41 1.557.2.4 +++ loncom/interface/lonprintout.pm 2009/08/03 11:01:14 1.560 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.557.2.4 2009/07/23 10:42:41 foxr Exp $ +# $Id: lonprintout.pm,v 1.560 2009/08/03 11:01:14 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1728,8 +1728,16 @@ sub output_data { ENDPART - - my $start_page = &Apache::loncommon::start_page('Preparing Printout',$js); + # Breadcrumbs + #FIXME: Choose better/different breadcrumbs?!? Links? + my $brcrum = [{'href' => '', + 'text' => 'Helper'}, #FIXME: Different origin possible than print out helper? + {'href' => '', + 'text' => 'Preparing Printout'}]; + + my $start_page = &Apache::loncommon::start_page('Preparing Printout', + $js, + {'bread_crumbs' => $brcrum,}); 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"); @@ -4001,7 +4009,7 @@ sub preprocess { ($papersize) = split(/ /, $papersize); - $laystyle = &map_laystyle($laystyle); + $laystyle = &Apache::lonprintout::map_laystyle($laystyle); # Figure out some good defaults for the print out and set them: