Lines 25-31
use C4::Context;
Link Here
|
25 |
use C4::Koha; |
25 |
use C4::Koha; |
26 |
|
26 |
|
27 |
my $query = new CGI; |
27 |
my $query = new CGI; |
28 |
my ($template, $loggedinuser, $cookie) |
28 |
my ($template, $loggedinuser, $cookie, $flags) |
29 |
= get_template_and_user({template_name => "circ/circulation-home.tmpl", |
29 |
= get_template_and_user({template_name => "circ/circulation-home.tmpl", |
30 |
query => $query, |
30 |
query => $query, |
31 |
type => "intranet", |
31 |
type => "intranet", |
Lines 37-41
my ($template, $loggedinuser, $cookie)
Link Here
|
37 |
my $fa = getframeworkinfo('FA'); |
37 |
my $fa = getframeworkinfo('FA'); |
38 |
$template->param( fast_cataloging => 1 ) if (defined $fa); |
38 |
$template->param( fast_cataloging => 1 ) if (defined $fa); |
39 |
|
39 |
|
|
|
40 |
# Checking if the transfer page needs to be displayed |
41 |
$template->param( display_transfer => 1 ) if ( ($flags->{'superlibrarian'} == 1) || (C4::Context->preference("IndependantBranches") == 0) ); |
42 |
|
40 |
|
43 |
|
41 |
output_html_with_http_headers $query, $cookie, $template->output; |
44 |
output_html_with_http_headers $query, $cookie, $template->output; |