Permalink
Browse files

Handle non-latin1 charsets

Corrected wrong method to include the page header and footer
  • Loading branch information...
1 parent 7d8fcad commit e662ba255d2d2c0f7caf47847e27b1464560f086 acli committed Jan 25, 2003
View
7 koha-tmpl/intranet-tmpl/default/en/members/moremember.tmpl
@@ -1,7 +1,4 @@
-<HTML>
-<!-- startmenu -->
-
-<TMPL_VAR NAME="startmenumember">
+<TMPL_INCLUDE NAME="members-top.inc">
<!-- main site -->
@@ -202,6 +199,6 @@
<!-- endmenu -->
-<TMPL_VAR NAME="endmenumember">
+<TMPL_INCLUDE NAME="members-bottom.inc">
</body>
</HTML>
View
7 koha-tmpl/intranet-tmpl/default/es/members/moremember.tmpl
@@ -1,7 +1,4 @@
-<HTML>
-<!-- startmenu -->
-
-<TMPL_VAR NAME="startmenumember">
+<TMPL_INCLUDE NAME="members-top.inc">
<!-- main site -->
@@ -202,6 +199,6 @@
<!-- endmenu -->
-<TMPL_VAR NAME="endmenumember">
+<TMPL_INCLUDE NAME="members-bottom.inc">
</body>
</HTML>
View
7 koha-tmpl/intranet-tmpl/default/pl/members/moremember.tmpl
@@ -1,7 +1,4 @@
-<HTML>
-<!-- startmenu -->
-
-<TMPL_VAR NAME="startmenumember">
+<TMPL_INCLUDE NAME="members-top.inc">
<!-- main site -->
@@ -202,6 +199,6 @@
<!-- endmenu -->
-<TMPL_VAR NAME="endmenumember">
+<TMPL_INCLUDE NAME="members-bottom.inc">
</body>
</HTML>
View
9 moremember.pl
@@ -34,6 +34,7 @@
use C4::Auth;
use C4::Context;
use C4::Output;
+use C4::Charset;
use CGI;
use C4::Search;
use Date::Manip;
@@ -196,11 +197,13 @@
}
$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;

0 comments on commit e662ba2

Please sign in to comment.