[Koha-cvs] CVS: koha MARCdetail.pl,1.8,1.9 readingrec.pl,1.5,1.6

Ambrose Li acli at users.sourceforge.net
Sun Feb 2 05:57:49 CET 2003


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

Modified Files:
	MARCdetail.pl readingrec.pl 
Log Message:
Handle non-latin1 charsets


Index: MARCdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/MARCdetail.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** MARCdetail.pl	12 Dec 2002 16:33:58 -0000	1.8
--- MARCdetail.pl	2 Feb 2003 04:57:47 -0000	1.9
***************
*** 27,34 ****
  =head1 DESCRIPTION
  
! This script needs a biblionumber in bib parameter (bibnumber from koha style DB. Automaticaly maps to marc biblionumber).
! It shows the biblio in a (nice) MARC format depending on MARC parameters tables.
! The template is in <templates_dir>/catalogue/MARCdetail.tmpl. this template must be divided in 11 "tabs".
! The 10 firsts presents the biblio, the 11th one presents the items attached to the biblio
  
  =head1 FUNCTIONS
--- 27,41 ----
  =head1 DESCRIPTION
  
! This script needs a biblionumber in bib parameter (bibnumber
! from koha style DB.  Automaticaly maps to marc biblionumber).
! 
! It shows the biblio in a (nice) MARC format depending on MARC
! parameters tables.
! 
! The template is in <templates_dir>/catalogue/MARCdetail.tmpl.
! this template must be divided into 11 "tabs".
! 
! The first 10 tabs present the biblio, the 11th one presents
! the items attached to the biblio
  
  =head1 FUNCTIONS
***************
*** 154,157 ****
  						biblionumber => $biblionumber,
  						bibid => $bibid);
! print $query->header(-cookie => $cookie),$template->output;
  
--- 161,167 ----
  						biblionumber => $biblionumber,
  						bibid => $bibid);
! print $query->header(
!     -type => guesstype($template->output),
!     -cookie => $cookie
! ),$template->output;
  

Index: readingrec.pl
===================================================================
RCS file: /cvsroot/koha/koha/readingrec.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** readingrec.pl	13 Dec 2002 10:21:59 -0000	1.5
--- readingrec.pl	2 Feb 2003 04:57:47 -0000	1.6
***************
*** 26,29 ****
--- 26,30 ----
  use C4::Auth;
  use C4::Output;
+ use C4::Charset;
  use CGI;
  use C4::Search;
***************
*** 73,77 ****
  						limit => $limit,
  						loop_reading => \@loop_reading);
! print $input->header(-cookie => $cookie),$template->output;
  
  
--- 74,81 ----
  						limit => $limit,
  						loop_reading => \@loop_reading);
! print $input->header(
!     -type => guesstype($template->output),
!     -cookie => $cookie
! ),$template->output;
  
  





More information about the Koha-cvs mailing list