[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac opac-detail.pl [rel_3_0]
From: |
LAURIN arnaud |
Subject: |
[Koha-cvs] koha/opac opac-detail.pl [rel_3_0] |
Date: |
Fri, 05 Jan 2007 08:56:31 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: LAURIN arnaud <alaurin> 07/01/05 08:56:31
Modified files:
opac : opac-detail.pl
Log message:
adding request on opac filter
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-detail.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.32.2.8&r2=1.32.2.9
Patches:
Index: opac-detail.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.32.2.8
retrieving revision 1.32.2.9
diff -u -b -r1.32.2.8 -r1.32.2.9
--- opac-detail.pl 20 Dec 2006 16:21:08 -0000 1.32.2.8
+++ opac-detail.pl 5 Jan 2007 08:56:31 -0000 1.32.2.9
@@ -17,7 +17,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
-# $Id: opac-detail.pl,v 1.32.2.8 2006/12/20 16:21:08 toins Exp $
+# $Id: opac-detail.pl,v 1.32.2.9 2007/01/05 08:56:31 alaurin Exp $
use strict;
require Exporter;
@@ -67,6 +67,12 @@
$dat->{'count'} = @items;
+#adding RequestOnOpac filter to allow or not the display of plce reserve button
+my $RequestOnOpac;
+if (C4::Context->preference("RequestOnOpac")) {
+ $RequestOnOpac = 1;
+}
+
my $norequests = 1;
foreach my $itm (@items) {
$norequests = 0
- [Koha-cvs] koha/opac opac-detail.pl [rel_3_0],
LAURIN arnaud <=