koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/circ reserve.pl [rel_2_2]


From: paul poulain
Subject: [Koha-cvs] koha/circ reserve.pl [rel_2_2]
Date: Fri, 30 Dec 2005 10:54:02 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     paul poulain <address@hidden>   05/12/30 10:54:02

Modified files:
        circ           : reserve.pl 

Log message:
        minor changes in reserve pending list

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/circ/reserve.pl.diff?only_with_tag=rel_2_2&tr1=1.1.2.2&tr2=1.1.2.3&r1=text&r2=text

Patches:
Index: koha/circ/reserve.pl
diff -u koha/circ/reserve.pl:1.1.2.2 koha/circ/reserve.pl:1.1.2.3
--- koha/circ/reserve.pl:1.1.2.2        Mon Dec  5 16:07:54 2005
+++ koha/circ/reserve.pl        Fri Dec 30 10:54:02 2005
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: reserve.pl,v 1.1.2.2 2005/12/05 16:07:54 hdl Exp $
+# $Id: reserve.pl,v 1.1.2.3 2005/12/30 10:54:02 tipaul Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -25,6 +25,7 @@
 use CGI;
 use HTML::Template;
 use C4::Auth;
+use C4::Date;
 
 my $input = new CGI;
 my $type=$input->param('type');
@@ -80,7 +81,7 @@
 while (my $data=$sth->fetchrow_hashref) {
   push (@reservedata, 
                        {
-                               reservedate  => $data->{reservedate},
+                               reservedate  => 
format_date($data->{reservedate}),
                                priority         => $data->{priority},
                                name         => $data->{borrower},
                                title        => $data->{title},
@@ -106,7 +107,7 @@
 
 $sth->finish;
 
-$template->param(              todaysdate        => $todaysdate,
+$template->param(              todaysdate        => format_date($todaysdate),
                reserveloop       => address@hidden );
 
 print "Content-Type: text/html\n\n", $template->output;




reply via email to

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