projects
/
koha_gimpoz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug 1532: various code cleanup
[koha_gimpoz]
/
opac
/
opac-showreviews.pl
diff --git
a/opac/opac-showreviews.pl
b/opac/opac-showreviews.pl
index
8f52b9c
..
ac8343a
100755
(executable)
--- a/
opac/opac-showreviews.pl
+++ b/
opac/opac-showreviews.pl
@@
-16,12
+16,13
@@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
# Suite 330, Boston, MA 02111-1307 USA
use strict;
-require Exporter;
+use warnings;
+
use CGI;
use C4::Auth;
use C4::Koha;
use CGI;
use C4::Auth;
use C4::Koha;
-use C4::
Interface::CGI::
Output;
-use C4::Circulation
::Circ2
;
+use C4::Output;
+use C4::Circulation;
use C4::Review;
use C4::Biblio;
use C4::Review;
use C4::Biblio;
@@
-37,15
+38,12
@@
my ( $template, $borrowernumber, $cookie ) = &get_template_and_user(
}
);
}
);
-my $biblio = GetBiblioData( $biblionumber
,'opac'
);
+my $biblio = GetBiblioData( $biblionumber );
my $reviews = getreviews( $biblionumber, 1 );
$template->param(
reviews => $reviews,
title => $biblio->{'title'},
my $reviews = getreviews( $biblionumber, 1 );
$template->param(
reviews => $reviews,
title => $biblio->{'title'},
- OpacCloud => C4::Context->preference("OpacCloud"),
- OpacTopissue => C4::Context->preference("OpacTopissue"),
- OpacAuthorities => C4::Context->preference("OpacAuthorities"),
);
output_html_with_http_headers $query, $cookie, $template->output;
);
output_html_with_http_headers $query, $cookie, $template->output;