koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/acqui newbasket2.pl,1.9,1.10


From: Ambrose Li
Subject: [Koha-cvs] CVS: koha/acqui newbasket2.pl,1.9,1.10
Date: Sat, 01 Feb 2003 23:18:40 -0800

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

Modified Files:
        newbasket2.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: newbasket2.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui/newbasket2.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** newbasket2.pl       28 Jan 2003 15:01:42 -0000      1.9
--- newbasket2.pl       2 Feb 2003 07:18:37 -0000       1.10
***************
*** 29,33 ****
  use HTML::Template;
  use C4::Auth;
! use C4::Charset;
  
  my $env;
--- 29,33 ----
  use HTML::Template;
  use C4::Auth;
! use C4::Interface::CGI::Output;
  
  my $env;
***************
*** 247,252 ****
                                                                loopresult 
=>address@hidden);
  
! print $input->header(
! -type => guesstype($template->output),
! -cookie => $cookie
! ),$template->output;
--- 247,249 ----
                                                                loopresult 
=>address@hidden);
  
! output_html_with_http_headers $input, $cookie, $template->output;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]