View | Details | Raw Unified | Return to bug 6841
Collapse All | Expand All

(-)a/circ/selectbranchprinter.pl (-1 / +2 lines)
Lines 31-43 use C4::Branch; # GetBranches GetBranchesLoop Link Here
31
# this will be the script that chooses branch and printer settings....
31
# this will be the script that chooses branch and printer settings....
32
32
33
my $query = CGI->new();
33
my $query = CGI->new();
34
34
my ( $template, $borrowernumber, $cookie ) = get_template_and_user({
35
my ( $template, $borrowernumber, $cookie ) = get_template_and_user({
35
    template_name   => "circ/selectbranchprinter.tmpl",
36
    template_name   => "circ/selectbranchprinter.tmpl",
36
    query           => $query,
37
    query           => $query,
37
    type            => "intranet",
38
    type            => "intranet",
38
    debug           => 1,
39
    debug           => 1,
39
    authnotrequired => 0,
40
    authnotrequired => 0,
40
    flagsrequired   => { circulate => "circulate_remaining_permissions" },
41
    flagsrequired   => { catalogue => 1, },
41
});
42
});
42
43
43
my $sessionID = $query->cookie("CGISESSID");
44
my $sessionID = $query->cookie("CGISESSID");
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-2 / +1 lines)
Lines 52-58 Link Here
52
        [% ELSE %]
52
        [% ELSE %]
53
            <strong>[% LoginBranchname %]</strong>
53
            <strong>[% LoginBranchname %]</strong>
54
            [% IF ( IndependantBranches ) %]
54
            [% IF ( IndependantBranches ) %]
55
                [% IF ( CAN_user_management ) %]
55
                [% IF ( CAN_user_management || CAN_user_editcatalogue_edit_catalogue ) %]
56
                    (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>)
56
                    (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>)
57
                [% END %]
57
                [% END %]
58
            [% ELSE %]
58
            [% ELSE %]
59
- 

Return to bug 6841