[Koha-cvs] koha/catalogue detail.pl detailprint.pl [rel_3_0]
Antoine Farnault
antoine at koha-fr.org
Thu Aug 31 18:30:30 CEST 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/08/31 16:30:30
Modified files:
catalogue : detail.pl detailprint.pl
Log message:
iteminfo renamed to GetItemsInfo
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/catalogue/detail.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.6&r2=1.6.2.1
http://cvs.savannah.gnu.org/viewcvs/koha/catalogue/detailprint.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1&r2=1.1.2.1
Patches:
Index: detail.pl
===================================================================
RCS file: /sources/koha/koha/catalogue/detail.pl,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -b -r1.6 -r1.6.2.1
--- detail.pl 10 Aug 2006 13:31:22 -0000 1.6
+++ detail.pl 31 Aug 2006 16:30:30 -0000 1.6.2.1
@@ -1,4 +1,22 @@
#!/usr/bin/perl
+
+# 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
+
+# $Id: detail.pl,v 1.6.2.1 2006/08/31 16:30:30 toins Exp $
+
use strict;
require Exporter;
use CGI;
@@ -21,12 +39,13 @@
my $biblionumber=$query->param('biblionumber');
if (!$biblionumber){
$biblionumber=$query->param('bib');
- }
+}
+
$template->param(biblionumber => $biblionumber);
# change back when ive fixed request.pl
-my @items = &ItemInfo(undef, $biblionumber, 'intra');
+my @items = &GetItemsInfo($biblionumber, 'intra');
my $dat = &bibdata($biblionumber);
my ($authorcount, $addauthor) = &addauthor($biblionumber);
my ($webbiblioitemcount, @webbiblioitems) = &getwebbiblioitems($biblionumber);
Index: detailprint.pl
===================================================================
RCS file: /sources/koha/koha/catalogue/detailprint.pl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -b -r1.1 -r1.1.2.1
--- detailprint.pl 17 Jan 2006 16:33:36 -0000 1.1
+++ detailprint.pl 31 Aug 2006 16:30:30 -0000 1.1.2.1
@@ -28,6 +28,7 @@
use C4::Biblio;
use C4::Interface::CGI::Output;
use C4::Date;
+use C4::Search;
my $query=new CGI;
my $type=$query->param('type');
@@ -36,7 +37,7 @@
my $biblionumber=$query->param('bib');
# change back when ive fixed request.pl
-my @items = ItemInfo(undef, $biblionumber, $type);
+my @items = GetItemsInfo($biblionumber, $type);
my $norequests = 1;
foreach my $itm (@items) {
$norequests = 0 unless $itm->{'notforloan'};
@@ -45,7 +46,7 @@
my $dat=bibdata($biblionumber);
-my ($authorcount, $addauthor)= &getaddauthor($biblionumber);
+my ($authorcount, $addauthor)= &addauthor($biblionumber);
my ($webbiblioitemcount, @webbiblioitems) = &getwebbiblioitems($biblionumber);
my ($websitecount, @websites) = &getwebsites($biblionumber);
More information about the Koha-cvs
mailing list