koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/acqui currency.pl [rel_3_0]


From: Antoine Farnault
Subject: [Koha-cvs] koha/acqui currency.pl [rel_3_0]
Date: Thu, 31 Aug 2006 16:45:45 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Antoine Farnault <toins>        06/08/31 16:45:45

Added files:
        acqui          : currency.pl 

Log message:
        this file has moved from cgi-bin/koha/ to cgi-bin/koha/acqui/

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/acqui/currency.pl?cvsroot=koha&only_with_tag=rel_3_0&rev=1.1.2.1

Patches:
Index: currency.pl
===================================================================
RCS file: currency.pl
diff -N currency.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ currency.pl 31 Aug 2006 16:45:45 -0000      1.1.2.1
@@ -0,0 +1,42 @@
+#!/usr/bin/perl
+
+# $Id: currency.pl,v 1.1.2.1 2006/08/31 16:45:45 toins Exp $
+
+#written by address@hidden
+#9/10/2000
+#script to display and update currency rates
+
+
+# Copyright 2000-2002 Katipo Communications
+#
+# This file is part of Koha.
+#
+# Koha is free software; you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+#
+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
+# Suite 330, Boston, MA  02111-1307 USA
+
+use CGI;
+use C4::Acquisition;
+use C4::Biblio;
+use C4::Bookfund;
+
+my $input=new CGI;
+
+my @params=$input->param;
+foreach my $param (@params){
+       if ($param ne 'type' && $param !~ /submit/){
+               my $data=$input->param($param);
+               warn "$data / $param";
+               ModCurrencies($param,$data);
+}
+}
+print $input->redirect('/cgi-bin/koha/acqui/acqui-home.pl');




reply via email to

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