--- loncom/interface/lonprintout.pm 2009/07/23 10:42:41 1.557.2.4 +++ loncom/interface/lonprintout.pm 2009/09/22 14:28:50 1.561 @@ -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.561 2009/09/22 14:28:50 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1086,9 +1086,9 @@ sub page_format_transformation { if ($selectionmade eq '4') { if ($choice eq 'all_problems') { - $assignment='Problems from the Whole Course'; + $assignment=&mt('Problems from the Whole Course'); } else { - $assignment='Resources from the Whole Course'; + $assignment=&mt('Resources from the Whole Course'); } } else { $assignment=&Apache::lonxml::latex_special_symbols($assignment,'header'); @@ -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: