[Koha-cvs] CVS: koha/opac opac-detail.pl,1.7,1.8 opac-main.pl,1.5,1.6 opac-search.pl,1.6,1.7 opac-searchresults.pl,1.7,1.8

Ambrose Li acli at users.sourceforge.net
Mon Jan 20 08:39:30 CET 2003


Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1:/tmp/cvs-serv13385/opac

Modified Files:
	opac-detail.pl opac-main.pl opac-search.pl 
	opac-searchresults.pl 
Log Message:
Handle meta tags for non-latin1 charsets


Index: opac-detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** opac-detail.pl	19 Dec 2002 11:04:14 -0000	1.7
--- opac-detail.pl	20 Jan 2003 07:39:28 -0000	1.8
***************
*** 5,8 ****
--- 5,9 ----
  use C4::Search;
  use C4::Auth;
+ use C4::Charset;
  use HTML::Template;
  
***************
*** 54,57 ****
  $template->param(SITE_RESULTS => $sitearray);
  
! print $query->header(-cookie => $cookie), $template->output;
  
--- 55,61 ----
  $template->param(SITE_RESULTS => $sitearray);
  
! print $query->header(
!     -type => guesstype($template->output),
!     -cookie => $cookie
! ), $template->output;
  

Index: opac-main.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-main.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** opac-main.pl	4 Dec 2002 22:25:12 -0000	1.5
--- opac-main.pl	20 Jan 2003 07:39:28 -0000	1.6
***************
*** 6,9 ****
--- 6,10 ----
  
  use C4::Auth;       # get_template_and_user
+ use C4::Charset;
  
  my $query = new CGI;
***************
*** 17,19 ****
  			 });
  
! print $query->header(-cookie => $cookie), $template->output;
--- 18,23 ----
  			 });
  
! print $query->header(
!     -type => guesstype($template->output),
!     -cookie => $cookie
! ), $template->output;

Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** opac-search.pl	19 Dec 2002 11:04:15 -0000	1.6
--- opac-search.pl	20 Jan 2003 07:39:28 -0000	1.7
***************
*** 4,7 ****
--- 4,8 ----
  
  use C4::Auth;
+ use C4::Charset;
  use C4::Context;
  use CGI;
***************
*** 32,34 ****
  $template->param(classlist => $classlist);
  
! print $query->header(-cookie => $cookie), $template->output;
--- 33,38 ----
  $template->param(classlist => $classlist);
  
! print $query->header(
!     -type => guesstype($template->output),
!     -cookie => $cookie
! ), $template->output;

Index: opac-searchresults.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-searchresults.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** opac-searchresults.pl	19 Dec 2002 11:04:15 -0000	1.7
--- opac-searchresults.pl	20 Jan 2003 07:39:28 -0000	1.8
***************
*** 5,8 ****
--- 5,9 ----
  use C4::Search;
  use C4::Auth;
+ use C4::Charset;
  use HTML::Template;
  
***************
*** 127,130 ****
  $template->param(numbers => $numbers);
  
! print $query->header(-cookie => $cookie), $template->output;
  
--- 128,134 ----
  $template->param(numbers => $numbers);
  
! print $query->header(
!     -type => guesstype($template->output),
!     -cookie => $cookie
! ), $template->output;
  





More information about the Koha-cvs mailing list