From 9773b0bec17f29336a748e7b5c29cc630811bc19 Mon Sep 17 00:00:00 2001 From: acli Date: Sat, 25 Jan 2003 20:05:47 +0000 Subject: [PATCH] Handle non-latin1 charsets Corrected wrong method to include page header and footer --- boraccount.pl | 9 ++++++--- .../intranet-tmpl/default/en/boraccount.tmpl | 17 +++++------------ .../intranet-tmpl/default/es/boraccount.tmpl | 11 ++--------- .../intranet-tmpl/default/pl/boraccount.tmpl | 11 ++--------- 4 files changed, 15 insertions(+), 33 deletions(-) diff --git a/boraccount.pl b/boraccount.pl index a7ab5146aa..024e0f7895 100755 --- a/boraccount.pl +++ b/boraccount.pl @@ -26,6 +26,7 @@ use strict; use C4::Auth; use C4::Output; +use C4::Charset; use CGI; use C4::Search; use HTML::Template; @@ -71,12 +72,14 @@ for (my $i=0;$i<$numaccts;$i++){ push(@accountrows, \%row); } -$template->param( startmenumember => join('', startmenu('member')), - endmenumember => join('', endmenu('member')), +$template->param( firstname => $data->{'firstname'}, surname => $data->{'surname'}, bornum => $bornum, total => $total, accounts => \@accountrows ); -print $input->header(-cookie => $cookie),$template->output; +print $input->header( + -type => guesstype($template->output), + -cookie => $cookie +),$template->output; diff --git a/koha-tmpl/intranet-tmpl/default/en/boraccount.tmpl b/koha-tmpl/intranet-tmpl/default/en/boraccount.tmpl index 6be1455ce2..ae4c73098f 100644 --- a/koha-tmpl/intranet-tmpl/default/en/boraccount.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/boraccount.tmpl @@ -1,11 +1,4 @@ - - - - - + @@ -21,9 +14,9 @@ - - - + + + @@ -50,7 +43,7 @@ - + diff --git a/koha-tmpl/intranet-tmpl/default/es/boraccount.tmpl b/koha-tmpl/intranet-tmpl/default/es/boraccount.tmpl index e87eed36ef..cee5a9d94f 100644 --- a/koha-tmpl/intranet-tmpl/default/es/boraccount.tmpl +++ b/koha-tmpl/intranet-tmpl/default/es/boraccount.tmpl @@ -1,11 +1,4 @@ - - - - - + @@ -50,7 +43,7 @@ - + diff --git a/koha-tmpl/intranet-tmpl/default/pl/boraccount.tmpl b/koha-tmpl/intranet-tmpl/default/pl/boraccount.tmpl index ea05766f69..9b970d491f 100644 --- a/koha-tmpl/intranet-tmpl/default/pl/boraccount.tmpl +++ b/koha-tmpl/intranet-tmpl/default/pl/boraccount.tmpl @@ -1,11 +1,4 @@ - - - - - + @@ -50,7 +43,7 @@ - + -- 2.39.5
FINES & CHARGESAMOUNTSTILL OWINGFINES & CHARGESAMOUNTSTILL OWING