[Koha-cvs] CVS: koha/opac opac-detail.pl,1.1.2.4,1.1.2.5
Finlay Thompson
finlayt at users.sourceforge.net
Wed Oct 16 01:36:04 CEST 2002
Update of /cvsroot/koha/koha/opac
In directory usw-pr-cvs1:/tmp/cvs-serv14464/opac
Modified Files:
Tag: rel-1-2
opac-detail.pl
Log Message:
added request button, and check to see if it is requestable.
Index: opac-detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -r1.1.2.4 -r1.1.2.5
*** opac-detail.pl 14 Oct 2002 22:47:54 -0000 1.1.2.4
--- opac-detail.pl 15 Oct 2002 23:36:01 -0000 1.1.2.5
***************
*** 21,24 ****
--- 21,25 ----
my $biblionumber=$query->param('bib');
+ $template->param(biblionumber => $biblionumber);
***************
*** 36,39 ****
--- 37,49 ----
$dat->{'additional'} .= "|" . $addauthor->[$i]->{'author'};
} # for
+
+ my $norequests = 1;
+ foreach my $itm (@items) {
+ $norequests = 0 unless $itm->{'notforloan'};
+ }
+
+ $template->param(norequests => $norequests);
+
+
my @results;
More information about the Koha-cvs
mailing list