[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/opac opac-detail.pl,1.1.2.4,1.1.2.5
From: |
Finlay Thompson |
Subject: |
[Koha-cvs] CVS: koha/opac opac-detail.pl,1.1.2.4,1.1.2.5 |
Date: |
Tue, 15 Oct 2002 16:36:04 -0700 |
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/opac opac-detail.pl,1.1.2.4,1.1.2.5,
Finlay Thompson <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-auth.tmpl,1.1,1.2 opac-detail.tmpl,1.2,1.3 opac-userupdate.tmpl,1.1,1.2
- Next by Date:
[Koha-cvs] CVS: koha-doc/de kohadoc.sgml,NONE,1.1
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/default/en opac-auth.tmpl,1.1,1.2 opac-detail.tmpl,1.2,1.3 opac-userupdate.tmpl,1.1,1.2
- Next by thread:
[Koha-cvs] CVS: koha-doc/de kohadoc.sgml,NONE,1.1
- Index(es):