Lines 40-45
use Koha::RecordProcessor;
Link Here
|
40 |
|
40 |
|
41 |
use constant ANYONE => 2; |
41 |
use constant ANYONE => 2; |
42 |
|
42 |
|
|
|
43 |
BEGIN { |
44 |
if (C4::Context->preference('BakerTaylorEnabled')) { |
45 |
require C4::External::BakerTaylor; |
46 |
import C4::External::BakerTaylor qw(&image_url &link_url); |
47 |
} |
48 |
} |
49 |
|
43 |
my $query = new CGI; |
50 |
my $query = new CGI; |
44 |
|
51 |
|
45 |
my $template_name = $query->param('rss') ? "opac-shelves-rss.tt" : "opac-shelves.tt"; |
52 |
my $template_name = $query->param('rss') ? "opac-shelves-rss.tt" : "opac-shelves.tt"; |
Lines 57-62
my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
Link Here
|
57 |
authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), |
64 |
authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ), |
58 |
}); |
65 |
}); |
59 |
|
66 |
|
|
|
67 |
if (C4::Context->preference("BakerTaylorEnabled")) { |
68 |
$template->param( |
69 |
BakerTaylorImageURL => &image_url(), |
70 |
BakerTaylorLinkURL => &link_url(), |
71 |
); |
72 |
} |
73 |
|
60 |
my $op = $query->param('op') || 'list'; |
74 |
my $op = $query->param('op') || 'list'; |
61 |
my $referer = $query->param('referer') || $op; |
75 |
my $referer = $query->param('referer') || $op; |
62 |
my $category = $query->param('category') || 1; |
76 |
my $category = $query->param('category') || 1; |
63 |
- |
|
|