[Koha-cvs] koha/circ reserve.pl [rel_3_0]
Antoine Farnault
antoine at koha-fr.org
Tue Oct 3 15:19:53 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/10/03 13:19:53
Modified files:
circ : reserve.pl
Log message:
this script now use output_html_with_http_headers function to write the template.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/circ/reserve.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.3&r2=1.3.2.1
Patches:
Index: reserve.pl
===================================================================
RCS file: /sources/koha/koha/circ/reserve.pl,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -b -r1.3 -r1.3.2.1
--- reserve.pl 4 Jul 2006 14:36:51 -0000 1.3
+++ reserve.pl 3 Oct 2006 13:19:53 -0000 1.3.2.1
@@ -1,6 +1,6 @@
#!/usr/bin/perl
-# $Id: reserve.pl,v 1.3 2006/07/04 14:36:51 toins Exp $
+# $Id: reserve.pl,v 1.3.2.1 2006/10/03 13:19:53 toins Exp $
# Copyright 2000-2002 Katipo Communications
#
@@ -26,6 +26,7 @@
use HTML::Template;
use C4::Auth;
use C4::Date;
+use C4::Interface::CGI::Output;
my $input = new CGI;
my $type=$input->param('type');
@@ -114,4 +115,4 @@
IntranetNav => C4::Context->preference("IntranetNav"),
);
-print "Content-Type: text/html\n\n", $template->output;
+output_html_with_http_headers $input, $cookie, $template->output;
More information about the Koha-cvs
mailing list