From e662ba255d2d2c0f7caf47847e27b1464560f086 Mon Sep 17 00:00:00 2001 From: acli Date: Sat, 25 Jan 2003 19:49:57 +0000 Subject: [PATCH] Handle non-latin1 charsets Corrected wrong method to include the page header and footer --- .../intranet-tmpl/default/en/members/moremember.tmpl | 7 ++----- .../intranet-tmpl/default/es/members/moremember.tmpl | 7 ++----- .../intranet-tmpl/default/pl/members/moremember.tmpl | 7 ++----- moremember.pl | 9 ++++++--- 4 files changed, 12 insertions(+), 18 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl index 2f0c263404..a1a70074a1 100644 --- a/koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl @@ -1,7 +1,4 @@ - - - - + @@ -202,6 +199,6 @@ - + diff --git a/koha-tmpl/intranet-tmpl/default/es/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/default/es/members/moremember.tmpl index ba28a6d46f..095f834bb3 100644 --- a/koha-tmpl/intranet-tmpl/default/es/members/moremember.tmpl +++ b/koha-tmpl/intranet-tmpl/default/es/members/moremember.tmpl @@ -1,7 +1,4 @@ - - - - + @@ -202,6 +199,6 @@ - + diff --git a/koha-tmpl/intranet-tmpl/default/pl/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/default/pl/members/moremember.tmpl index 3e392942ed..064ff45e63 100644 --- a/koha-tmpl/intranet-tmpl/default/pl/members/moremember.tmpl +++ b/koha-tmpl/intranet-tmpl/default/pl/members/moremember.tmpl @@ -1,7 +1,4 @@ - - - - + @@ -202,6 +199,6 @@ - + diff --git a/moremember.pl b/moremember.pl index 65c3a5763e..a9c7b29574 100755 --- a/moremember.pl +++ b/moremember.pl @@ -34,6 +34,7 @@ use strict; use C4::Auth; use C4::Context; use C4::Output; +use C4::Charset; use CGI; use C4::Search; use Date::Manip; @@ -196,11 +197,13 @@ for (my $i=0;$i<$rescount;$i++){ } $template->param($data); -$template->param(startmenumember => join('', startmenu('member')), - endmenumember => join('', endmenu('member')), +$template->param( bornum => $bornum, accountloop => \@accountdata, issueloop => \@issuedata, reserveloop => \@reservedata); -print $input->header(-cookie => $cookie),$template->output; +print $input->header( + -type => guesstype($template->output), + -cookie => $cookie +),$template->output; -- 2.39.5