From ade845cdd358ad15e2de07b6e16fec0ff1b0200b Mon Sep 17 00:00:00 2001 From: acli Date: Sat, 25 Jan 2003 19:23:37 +0000 Subject: [PATCH] Handle non-latin1 charsets Corrected wrong method to include the page header and footer --- koha-tmpl/intranet-tmpl/default/en/members/member.tmpl | 4 ++-- koha-tmpl/intranet-tmpl/default/es/members/member.tmpl | 4 ++-- koha-tmpl/intranet-tmpl/default/pl/members/member.tmpl | 4 ++-- member.pl | 9 ++++++--- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/members/member.tmpl b/koha-tmpl/intranet-tmpl/default/en/members/member.tmpl index 2f19920571..506144e860 100644 --- a/koha-tmpl/intranet-tmpl/default/en/members/member.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/members/member.tmpl @@ -1,6 +1,6 @@ - + Member Search
@@ -46,7 +46,7 @@ You Searched for

Organisation - + diff --git a/koha-tmpl/intranet-tmpl/default/es/members/member.tmpl b/koha-tmpl/intranet-tmpl/default/es/members/member.tmpl index 8e28294c07..86d1e92b71 100644 --- a/koha-tmpl/intranet-tmpl/default/es/members/member.tmpl +++ b/koha-tmpl/intranet-tmpl/default/es/members/member.tmpl @@ -1,6 +1,6 @@ - + Búsqueda de Socios
@@ -46,7 +46,7 @@ Ha buscado en

Organización - + diff --git a/koha-tmpl/intranet-tmpl/default/pl/members/member.tmpl b/koha-tmpl/intranet-tmpl/default/pl/members/member.tmpl index b991283381..69c698f2c3 100644 --- a/koha-tmpl/intranet-tmpl/default/pl/members/member.tmpl +++ b/koha-tmpl/intranet-tmpl/default/pl/members/member.tmpl @@ -1,6 +1,6 @@ - + Wyszukiwanie czytelników
@@ -46,7 +46,7 @@ Szukano

Organizacja - + diff --git a/member.pl b/member.pl index fbfc688ad6..8d0951638e 100755 --- a/member.pl +++ b/member.pl @@ -26,6 +26,7 @@ use strict; use C4::Auth; use C4::Output; +use C4::Charset; use CGI; use C4::Search; use HTML::Template; @@ -73,9 +74,11 @@ for (my $i=0; $i < $count; $i++){ push(@resultsdata, \%row); } -$template->param( startmenumember => join ('', startmenu('member')), - endmenumember => join ('', endmenu('member')), +$template->param( member => $member, resultsloop => \@resultsdata ); -print $input->header(-cookie => $cookie),$template->output; +print $input->header( + -type => guesstype($template->output), + -cookie => $cookie +),$template->output; -- 2.39.5