[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac opac-detail.pl
From: |
Chris Cormack |
Subject: |
[Koha-cvs] koha/opac opac-detail.pl |
Date: |
Sat, 17 Jun 2006 03:42:56 +0000 |
CVSROOT: /sources/koha
Module name: koha
Changes by: Chris Cormack <rangi> 06/06/17 03:42:56
Modified files:
opac : opac-detail.pl
Log message:
Passing through reviewson value, and fixing syntax error
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-detail.pl?cvsroot=koha&r1=1.27&r2=1.28
Patches:
Index: opac-detail.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-detail.pl,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- opac-detail.pl 21 May 2006 02:17:02 -0000 1.27
+++ opac-detail.pl 17 Jun 2006 03:42:56 -0000 1.28
@@ -11,6 +11,7 @@
use C4::Amazon;
use C4::Review;
+
my $query=new CGI;
my ($template, $borrowernumber, $cookie)
= get_template_and_user({template_name => "opac-detail.tmpl",
@@ -58,7 +59,7 @@
$authorpush{author} =$addauthor->[0]->{'author'};
push @author, \%authorpush
}
-
+my @title;
foreach my $word (split(" ", $dat->{'title'})){
unless (length($word) == 4){
$word =~s/\%//g
@@ -138,6 +139,7 @@
virtualshelves =>
C4::Context->preference("virtualshelves"),
titlewords => $titlewords,
authorwords => $authorwords,
+ reviewson => C4::Context->preference("marc"),
);
## Amazon.com stuff
#not used unless preference set
- [Koha-cvs] koha/opac opac-detail.pl,
Chris Cormack <=