[Koha-cvs] CVS: koha/search.marc search.pl,1.2,1.3

Ambrose Li acli at users.sourceforge.net
Sun Feb 2 08:18:40 CET 2003


Update of /cvsroot/koha/koha/search.marc
In directory sc8-pr-cvs1:/tmp/cvs-serv1397/search.marc

Modified Files:
	search.pl 
Log Message:
Moved C4/Charset.pm to C4/Interface/CGI/Output.pm

Create output_html_with_http_headers function to contain the "print $query
->header(-type => guesstype...),..." call. This is in preparation for
non-HTML output (e.g., text/xml) and charset conversion before output in
the future.

Created C4/Interface/CGI/Template.pm to hold convenience functions specific
to the CGI interface using HTML::Template

Modified moremembers.pl to make the "sex" field localizable for languages
where M and F doesn't make sense


Index: search.pl
===================================================================
RCS file: /cvsroot/koha/koha/search.marc/search.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** search.pl	2 Feb 2003 00:13:10 -0000	1.2
--- search.pl	2 Feb 2003 07:18:38 -0000	1.3
***************
*** 27,31 ****
  use C4::Auth;
  use C4::Output;
! use C4::Charset;
  use C4::Biblio;
  use C4::SearchMarc;
--- 27,31 ----
  use C4::Auth;
  use C4::Output;
! use C4::Interface::CGI::Output;
  use C4::Biblio;
  use C4::SearchMarc;
***************
*** 109,114 ****
  }
  # Print the page
! print $query->header(
!     -type => guesstype($template->output),
!     -cookie => $cookie
! ), $template->output;
--- 109,111 ----
  }
  # Print the page
! output_html_with_http_headers $query, $cookie, $template->output;





More information about the Koha-cvs mailing list