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

(-)a/about.pl (-1 lines)
Lines 60-66 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
60
        template_name   => "about.tt",
60
        template_name   => "about.tt",
61
        query           => $query,
61
        query           => $query,
62
        type            => "intranet",
62
        type            => "intranet",
63
        authnotrequired => 0,
64
        flagsrequired   => { catalogue => 1 },
63
        flagsrequired   => { catalogue => 1 },
65
        debug           => 1,
64
        debug           => 1,
66
    }
65
    }
(-)a/acqui/acqui-home.pl (-1 lines)
Lines 44-50 my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( Link Here
44
    {   template_name   => 'acqui/acqui-home.tt',
44
    {   template_name   => 'acqui/acqui-home.tt',
45
        query           => $query,
45
        query           => $query,
46
        type            => 'intranet',
46
        type            => 'intranet',
47
        authnotrequired => 0,
48
        flagsrequired   => { acquisition => '*' },
47
        flagsrequired   => { acquisition => '*' },
49
        debug           => 1,
48
        debug           => 1,
50
    }
49
    }
(-)a/acqui/add_user_search.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( Link Here
34
    {   template_name   => "common/patron_search.tt",
34
    {   template_name   => "common/patron_search.tt",
35
        query           => $input,
35
        query           => $input,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { acquisition => 'order_manage' },
37
        flagsrequired   => { acquisition => 'order_manage' },
39
    }
38
    }
40
);
39
);
(-)a/acqui/addorder.pl (-2 lines)
Lines 159-165 unless($confirm_budget_exceeding) { Link Here
159
            template_name   => "acqui/addorder.tt",
159
            template_name   => "acqui/addorder.tt",
160
            query           => $input,
160
            query           => $input,
161
            type            => "intranet",
161
            type            => "intranet",
162
            authnotrequired => 0,
163
            flagsrequired   => {acquisition => 'order_manage'},
162
            flagsrequired   => {acquisition => 'order_manage'},
164
        });
163
        });
165
164
Lines 216-222 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
216
        template_name   => "acqui/booksellers.tt",
215
        template_name   => "acqui/booksellers.tt",
217
        query           => $input,
216
        query           => $input,
218
        type            => "intranet",
217
        type            => "intranet",
219
        authnotrequired => 0,
220
        flagsrequired   => { acquisition => 'order_manage' },
218
        flagsrequired   => { acquisition => 'order_manage' },
221
        debug           => 1,
219
        debug           => 1,
222
    }
220
    }
(-)a/acqui/addorderiso2709.pl (-1 lines)
Lines 55-61 my ($template, $loggedinuser, $cookie, $userflags) = get_template_and_user({ Link Here
55
    template_name => "acqui/addorderiso2709.tt",
55
    template_name => "acqui/addorderiso2709.tt",
56
    query => $input,
56
    query => $input,
57
    type => "intranet",
57
    type => "intranet",
58
    authnotrequired => 0,
59
    flagsrequired   => { acquisition => 'order_manage' },
58
    flagsrequired   => { acquisition => 'order_manage' },
60
    debug => 1,
59
    debug => 1,
61
});
60
});
(-)a/acqui/basket.pl (-1 lines)
Lines 85-91 our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( Link Here
85
        template_name   => "acqui/basket.tt",
85
        template_name   => "acqui/basket.tt",
86
        query           => $query,
86
        query           => $query,
87
        type            => "intranet",
87
        type            => "intranet",
88
        authnotrequired => 0,
89
        flagsrequired   => { acquisition => 'order_manage' },
88
        flagsrequired   => { acquisition => 'order_manage' },
90
        debug           => 1,
89
        debug           => 1,
91
    }
90
    }
(-)a/acqui/basketgroup.pl (-1 lines)
Lines 65-71 our ($template, $loggedinuser, $cookie) Link Here
65
    = get_template_and_user({template_name => "acqui/basketgroup.tt",
65
    = get_template_and_user({template_name => "acqui/basketgroup.tt",
66
			     query => $input,
66
			     query => $input,
67
			     type => "intranet",
67
			     type => "intranet",
68
			     authnotrequired => 0,
69
			     flagsrequired => {acquisition => 'group_manage'},
68
			     flagsrequired => {acquisition => 'group_manage'},
70
			     debug => 1,
69
			     debug => 1,
71
                });
70
                });
(-)a/acqui/basketheader.pl (-1 lines)
Lines 63-69 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
63
        template_name   => "acqui/basketheader.tt",
63
        template_name   => "acqui/basketheader.tt",
64
        query           => $input,
64
        query           => $input,
65
        type            => "intranet",
65
        type            => "intranet",
66
        authnotrequired => 0,
67
       flagsrequired   => { acquisition => 'order_manage' },
66
       flagsrequired   => { acquisition => 'order_manage' },
68
        debug           => 1,
67
        debug           => 1,
69
    }
68
    }
(-)a/acqui/booksellers.pl (-1 lines)
Lines 69-75 my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( Link Here
69
    {   template_name   => 'acqui/booksellers.tt',
69
    {   template_name   => 'acqui/booksellers.tt',
70
        query           => $query,
70
        query           => $query,
71
        type            => 'intranet',
71
        type            => 'intranet',
72
        authnotrequired => 0,
73
        flagsrequired   => { acquisition => '*' },
72
        flagsrequired   => { acquisition => '*' },
74
        debug           => 1,
73
        debug           => 1,
75
    }
74
    }
(-)a/acqui/cancelorder.pl (-1 lines)
Lines 42-48 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { Link Here
42
    template_name   => 'acqui/cancelorder.tt',
42
    template_name   => 'acqui/cancelorder.tt',
43
    query           => $input,
43
    query           => $input,
44
    type            => 'intranet',
44
    type            => 'intranet',
45
    authnotrequired => 0,
46
    flagsrequired   => { 'acquisition' => 'order_manage' },
45
    flagsrequired   => { 'acquisition' => 'order_manage' },
47
    debug           => 1,
46
    debug           => 1,
48
} );
47
} );
(-)a/acqui/check_budget_total.pl (-1 lines)
Lines 38-44 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
38
    {   template_name   => "acqui/ajax.tt",
38
    {   template_name   => "acqui/ajax.tt",
39
        query           => $input,
39
        query           => $input,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        debug => 1,    } );
41
        debug => 1,    } );
43
42
44
my $budget = GetBudget($budget_id);
43
my $budget = GetBudget($budget_id);
(-)a/acqui/duplicate_orders.pl (-1 lines)
Lines 39-45 my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( Link Here
39
        template_name   => "acqui/duplicate_orders.tt",
39
        template_name   => "acqui/duplicate_orders.tt",
40
        query           => $input,
40
        query           => $input,
41
        type            => "intranet",
41
        type            => "intranet",
42
        authnotrequired => 0,
43
        flagsrequired   => { acquisition => 'order_manage' },
42
        flagsrequired   => { acquisition => 'order_manage' },
44
    }
43
    }
45
);
44
);
(-)a/acqui/edi_ean.pl (-1 lines)
Lines 51-57 else { Link Here
51
            template_name   => 'acqui/edi_ean.tt',
51
            template_name   => 'acqui/edi_ean.tt',
52
            query           => $query,
52
            query           => $query,
53
            type            => 'intranet',
53
            type            => 'intranet',
54
            authnotrequired => 0,
55
            flagsrequired   => { acquisition => 'order_manage' },
54
            flagsrequired   => { acquisition => 'order_manage' },
56
            debug           => 1,
55
            debug           => 1,
57
        }
56
        }
(-)a/acqui/edifactmsgs.pl (-1 lines)
Lines 30-36 my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( Link Here
30
        template_name   => 'acqui/edifactmsgs.tt',
30
        template_name   => 'acqui/edifactmsgs.tt',
31
        query           => $q,
31
        query           => $q,
32
        type            => 'intranet',
32
        type            => 'intranet',
33
        authnotrequired => 0,
34
        flagsrequired   => { acquisition => 'edi_manage' },
33
        flagsrequired   => { acquisition => 'edi_manage' },
35
        debug           => 1,
34
        debug           => 1,
36
    }
35
    }
(-)a/acqui/edimsg.pl (-1 lines)
Lines 30-36 my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( Link Here
30
        template_name   => 'acqui/edimsg.tt',
30
        template_name   => 'acqui/edimsg.tt',
31
        query           => $q,
31
        query           => $q,
32
        type            => 'intranet',
32
        type            => 'intranet',
33
        authnotrequired => 0,
34
        flagsrequired   => { acquisition => 'edi_manage' },
33
        flagsrequired   => { acquisition => 'edi_manage' },
35
        debug           => 1,
34
        debug           => 1,
36
    }
35
    }
(-)a/acqui/histsearch.pl (-1 lines)
Lines 68-74 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
68
        template_name   => "acqui/histsearch.tt",
68
        template_name   => "acqui/histsearch.tt",
69
        query           => $input,
69
        query           => $input,
70
        type            => "intranet",
70
        type            => "intranet",
71
        authnotrequired => 0,
72
        flagsrequired   => { acquisition => '*' },
71
        flagsrequired   => { acquisition => '*' },
73
        debug           => 1,
72
        debug           => 1,
74
    }
73
    }
(-)a/acqui/invoice-files.pl (-1 lines)
Lines 41-47 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
41
        template_name   => 'acqui/invoice-files.tt',
41
        template_name   => 'acqui/invoice-files.tt',
42
        query           => $input,
42
        query           => $input,
43
        type            => 'intranet',
43
        type            => 'intranet',
44
        authnotrequired => 0,
45
        flagsrequired   => { 'acquisition' => '*' },
44
        flagsrequired   => { 'acquisition' => '*' },
46
        debug           => 1,
45
        debug           => 1,
47
    }
46
    }
(-)a/acqui/invoice.pl (-1 lines)
Lines 46-52 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
46
        template_name   => 'acqui/invoice.tt',
46
        template_name   => 'acqui/invoice.tt',
47
        query           => $input,
47
        query           => $input,
48
        type            => 'intranet',
48
        type            => 'intranet',
49
        authnotrequired => 0,
50
        flagsrequired   => { 'acquisition' => '*' },
49
        flagsrequired   => { 'acquisition' => '*' },
51
        debug           => 1,
50
        debug           => 1,
52
    }
51
    }
(-)a/acqui/invoices.pl (-1 lines)
Lines 43-49 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
43
        template_name   => 'acqui/invoices.tt',
43
        template_name   => 'acqui/invoices.tt',
44
        query           => $input,
44
        query           => $input,
45
        type            => 'intranet',
45
        type            => 'intranet',
46
        authnotrequired => 0,
47
        flagsrequired   => { 'acquisition' => '*' },
46
        flagsrequired   => { 'acquisition' => '*' },
48
        debug           => 1,
47
        debug           => 1,
49
    }
48
    }
(-)a/acqui/lateorders-export.pl (-1 lines)
Lines 28-34 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
28
    template_name => "acqui/csv/lateorders.tt",
28
    template_name => "acqui/csv/lateorders.tt",
29
    query => $input,
29
    query => $input,
30
    type => "intranet",
30
    type => "intranet",
31
    authnotrequired => 0,
32
    flagsrequired => {acquisition => 'order_receive'},
31
    flagsrequired => {acquisition => 'order_receive'},
33
});
32
});
34
my @ordernumbers = $input->multi_param('ordernumber');
33
my @ordernumbers = $input->multi_param('ordernumber');
(-)a/acqui/lateorders.pl (-1 lines)
Lines 61-67 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
61
        template_name   => "acqui/lateorders.tt",
61
        template_name   => "acqui/lateorders.tt",
62
        query           => $input,
62
        query           => $input,
63
        type            => "intranet",
63
        type            => "intranet",
64
        authnotrequired => 0,
65
        flagsrequired   => { acquisition => 'order_receive' },
64
        flagsrequired   => { acquisition => 'order_receive' },
66
        debug           => 1,
65
        debug           => 1,
67
    }
66
    }
(-)a/acqui/modordernotes.pl (-1 lines)
Lines 40-46 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { Link Here
40
    template_name   => 'acqui/modordernotes.tt',
40
    template_name   => 'acqui/modordernotes.tt',
41
    query           => $input,
41
    query           => $input,
42
    type            => 'intranet',
42
    type            => 'intranet',
43
    authnotrequired => 0,
44
    flagsrequired   => { 'acquisition' => '*' },
43
    flagsrequired   => { 'acquisition' => '*' },
45
    debug           => 1,
44
    debug           => 1,
46
} );
45
} );
(-)a/acqui/neworderempty.pl (-2 lines)
Lines 115-121 our ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( Link Here
115
        template_name   => "acqui/neworderempty.tt",
115
        template_name   => "acqui/neworderempty.tt",
116
        query           => $input,
116
        query           => $input,
117
        type            => "intranet",
117
        type            => "intranet",
118
        authnotrequired => 0,
119
        flagsrequired   => { acquisition => 'order_manage' },
118
        flagsrequired   => { acquisition => 'order_manage' },
120
        debug           => 1,
119
        debug           => 1,
121
    }
120
    }
Lines 572-578 sub Load_Duplicate { Link Here
572
        template_name   => "acqui/neworderempty_duplicate.tt",
571
        template_name   => "acqui/neworderempty_duplicate.tt",
573
        query           => $input,
572
        query           => $input,
574
        type            => "intranet",
573
        type            => "intranet",
575
        authnotrequired => 0,
576
        flagsrequired   => { acquisition => 'order_manage' },
574
        flagsrequired   => { acquisition => 'order_manage' },
577
#        debug           => 1,
575
#        debug           => 1,
578
    }
576
    }
(-)a/acqui/newordersubscription.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
45
    {   template_name   => "acqui/newordersubscription.tt",
45
    {   template_name   => "acqui/newordersubscription.tt",
46
        query           => $query,
46
        query           => $query,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { acquisition => 'order_manage' },
48
        flagsrequired   => { acquisition => 'order_manage' },
50
    }
49
    }
51
);
50
);
(-)a/acqui/ordered.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        template_name   => "acqui/ordered.tt",
45
        template_name   => "acqui/ordered.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { acquisition => '*' },
48
        flagsrequired   => { acquisition => '*' },
50
        debug           => 1,
49
        debug           => 1,
51
    }
50
    }
(-)a/acqui/orderreceive.pl (-1 lines)
Lines 99-105 my ( $template, $loggedinuser, $cookie, $userflags ) = get_template_and_user( Link Here
99
        template_name   => "acqui/orderreceive.tt",
99
        template_name   => "acqui/orderreceive.tt",
100
        query           => $input,
100
        query           => $input,
101
        type            => "intranet",
101
        type            => "intranet",
102
        authnotrequired => 0,
103
        flagsrequired   => {acquisition => 'order_receive'},
102
        flagsrequired   => {acquisition => 'order_receive'},
104
        debug           => 1,
103
        debug           => 1,
105
    }
104
    }
(-)a/acqui/parcel.pl (-1 lines)
Lines 81-87 my ($template, $loggedinuser, $cookie) Link Here
81
    = get_template_and_user({template_name => "acqui/parcel.tt",
81
    = get_template_and_user({template_name => "acqui/parcel.tt",
82
                 query => $input,
82
                 query => $input,
83
                 type => "intranet",
83
                 type => "intranet",
84
                 authnotrequired => 0,
85
                 flagsrequired => {acquisition => 'order_receive'},
84
                 flagsrequired => {acquisition => 'order_receive'},
86
                 debug => 1,
85
                 debug => 1,
87
});
86
});
(-)a/acqui/parcels.pl (-1 lines)
Lines 92-98 our ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
92
    {   template_name   => 'acqui/parcels.tt',
92
    {   template_name   => 'acqui/parcels.tt',
93
        query           => $input,
93
        query           => $input,
94
        type            => 'intranet',
94
        type            => 'intranet',
95
        authnotrequired => 0,
96
        flagsrequired   => { acquisition => 'order_receive' },
95
        flagsrequired   => { acquisition => 'order_receive' },
97
        debug           => 1,
96
        debug           => 1,
98
    }
97
    }
(-)a/acqui/showorder.pl (-1 lines)
Lines 29-35 my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ Link Here
29
    template_name   => "acqui/showorder.tt",
29
    template_name   => "acqui/showorder.tt",
30
    query           => $cgi,
30
    query           => $cgi,
31
    type            => "intranet",
31
    type            => "intranet",
32
    authnotrequired => 0,
33
    flagsrequired   => { acquisition => '*' },
32
    flagsrequired   => { acquisition => '*' },
34
});
33
});
35
34
(-)a/acqui/spent.pl (-1 lines)
Lines 47-53 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
47
        template_name   => "acqui/spent.tt",
47
        template_name   => "acqui/spent.tt",
48
        query           => $input,
48
        query           => $input,
49
        type            => "intranet",
49
        type            => "intranet",
50
        authnotrequired => 0,
51
        flagsrequired   => { acquisition => '*' },
50
        flagsrequired   => { acquisition => '*' },
52
        debug           => 1,
51
        debug           => 1,
53
    }
52
    }
(-)a/acqui/supplier.pl (-1 lines)
Lines 59-65 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
59
    {   template_name   => 'acqui/supplier.tt',
59
    {   template_name   => 'acqui/supplier.tt',
60
        query           => $query,
60
        query           => $query,
61
        type            => 'intranet',
61
        type            => 'intranet',
62
        authnotrequired => 0,
63
        flagsrequired   => { acquisition => '*' },
62
        flagsrequired   => { acquisition => '*' },
64
        debug           => 1,
63
        debug           => 1,
65
    }
64
    }
(-)a/acqui/uncertainprice.pl (-1 lines)
Lines 61-67 my ($template, $loggedinuser, $cookie) Link Here
61
    = get_template_and_user({template_name => "acqui/uncertainprice.tt",
61
    = get_template_and_user({template_name => "acqui/uncertainprice.tt",
62
			     query => $input,
62
			     query => $input,
63
			     type => "intranet",
63
			     type => "intranet",
64
			     authnotrequired => 0,
65
			     flagsrequired   => { acquisition => 'order_manage' },
64
			     flagsrequired   => { acquisition => 'order_manage' },
66
			     debug => 1,
65
			     debug => 1,
67
                });
66
                });
(-)a/admin/add_user_search.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( Link Here
34
    {   template_name   => "common/patron_search.tt",
34
    {   template_name   => "common/patron_search.tt",
35
        query           => $input,
35
        query           => $input,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { acquisition => 'budget_modify'  },
37
        flagsrequired   => { acquisition => 'budget_modify'  },
39
    }
38
    }
40
);
39
);
(-)a/admin/additional-fields.pl (-1 lines)
Lines 41-47 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
41
        template_name   => "admin/additional-fields.tt",
41
        template_name   => "admin/additional-fields.tt",
42
        query           => $input,
42
        query           => $input,
43
        type            => "intranet",
43
        type            => "intranet",
44
        authnotrequired => 0,
45
        flagsrequired   => \%flagsrequired,
44
        flagsrequired   => \%flagsrequired,
46
        debug           => 1,
45
        debug           => 1,
47
    }
46
    }
(-)a/admin/admin-home.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "admin/admin-home.tt",
32
        template_name   => "admin/admin-home.tt",
33
        query           => $query,
33
        query           => $query,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired   => { parameters => '*' },
35
        flagsrequired   => { parameters => '*' },
37
        debug           => 1,
36
        debug           => 1,
38
    }
37
    }
(-)a/admin/aqbudgetperiods.pl (-1 lines)
Lines 82-88 my ($template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user( Link Here
82
        template_name   => "admin/aqbudgetperiods.tt",
82
        template_name   => "admin/aqbudgetperiods.tt",
83
        query           => $input,
83
        query           => $input,
84
        type            => "intranet",
84
        type            => "intranet",
85
        authnotrequired => 0,
86
        flagsrequired   => { acquisition => 'period_manage' },
85
        flagsrequired   => { acquisition => 'period_manage' },
87
        debug           => 1,
86
        debug           => 1,
88
    }
87
    }
(-)a/admin/aqbudgets.pl (-1 lines)
Lines 43-49 my ($template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user( Link Here
43
    {   template_name   => "admin/aqbudgets.tt",
43
    {   template_name   => "admin/aqbudgets.tt",
44
        query           => $input,
44
        query           => $input,
45
        type            => "intranet",
45
        type            => "intranet",
46
        authnotrequired => 0,
47
        flagsrequired   => { acquisition => 'budget_manage' },
46
        flagsrequired   => { acquisition => 'budget_manage' },
48
        debug           => 0,
47
        debug           => 0,
49
    }
48
    }
(-)a/admin/aqcontract.pl (-1 lines)
Lines 41-47 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
41
    {   template_name   => "admin/aqcontract.tt",
41
    {   template_name   => "admin/aqcontract.tt",
42
        query           => $input,
42
        query           => $input,
43
        type            => "intranet",
43
        type            => "intranet",
44
        authnotrequired => 0,
45
        flagsrequired   => { acquisition => 'contracts_manage' },
44
        flagsrequired   => { acquisition => 'contracts_manage' },
46
        debug           => 1,
45
        debug           => 1,
47
    }
46
    }
(-)a/admin/aqplan.pl (-1 lines)
Lines 45-51 my ( $template, $borrowernumber, $cookie, $staff_flags ) = get_template_and_user Link Here
45
    {   template_name   => "admin/aqplan.tt",
45
    {   template_name   => "admin/aqplan.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { acquisition => 'planning_manage' },
48
        flagsrequired   => { acquisition => 'planning_manage' },
50
        debug           => 0,
49
        debug           => 0,
51
    }
50
    }
(-)a/admin/audio_alerts.pl (-1 lines)
Lines 39-45 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
39
        template_name   => "admin/audio_alerts.tt",
39
        template_name   => "admin/audio_alerts.tt",
40
        query           => $cgi,
40
        query           => $cgi,
41
        type            => "intranet",
41
        type            => "intranet",
42
        authnotrequired => 0,
43
        flagsrequired   => { parameters => 'manage_audio_alerts' },
42
        flagsrequired   => { parameters => 'manage_audio_alerts' },
44
        debug           => 1,
43
        debug           => 1,
45
    }
44
    }
(-)a/admin/auth_subfields_structure.pl (-1 lines)
Lines 61-67 my ($template, $borrowernumber, $cookie) = get_template_and_user( Link Here
61
    {   template_name   => "admin/auth_subfields_structure.tt",
61
    {   template_name   => "admin/auth_subfields_structure.tt",
62
        query           => $input,
62
        query           => $input,
63
        type            => "intranet",
63
        type            => "intranet",
64
        authnotrequired => 0,
65
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
64
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
66
        debug           => 1,
65
        debug           => 1,
67
    }
66
    }
(-)a/admin/auth_tag_structure.pl (-1 lines)
Lines 49-55 my ($template, $loggedinuser, $cookie) Link Here
49
    = get_template_and_user({template_name => "admin/auth_tag_structure.tt",
49
    = get_template_and_user({template_name => "admin/auth_tag_structure.tt",
50
                 query => $input,
50
                 query => $input,
51
                 type => "intranet",
51
                 type => "intranet",
52
                 authnotrequired => 0,
53
                 flagsrequired => {parameters => 'manage_marc_frameworks'},
52
                 flagsrequired => {parameters => 'manage_marc_frameworks'},
54
                 debug => 1,
53
                 debug => 1,
55
                 });
54
                 });
(-)a/admin/authorised_values.pl (-1 lines)
Lines 41-47 my @messages; Link Here
41
41
42
our ($template, $borrowernumber, $cookie)= get_template_and_user({
42
our ($template, $borrowernumber, $cookie)= get_template_and_user({
43
    template_name => "admin/authorised_values.tt",
43
    template_name => "admin/authorised_values.tt",
44
    authnotrequired => 0,
45
    flagsrequired => {parameters => 'manage_auth_values'},
44
    flagsrequired => {parameters => 'manage_auth_values'},
46
    query => $input,
45
    query => $input,
47
    type => "intranet",
46
    type => "intranet",
(-)a/admin/authtypes.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
36
    {   template_name   => "admin/authtypes.tt",
36
    {   template_name   => "admin/authtypes.tt",
37
        query           => $input,
37
        query           => $input,
38
        type            => "intranet",
38
        type            => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
39
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
41
        debug           => 1,
40
        debug           => 1,
42
    }
41
    }
(-)a/admin/biblio_framework.pl (-1 lines)
Lines 38-44 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
38
    {   template_name   => "admin/biblio_framework.tt",
38
    {   template_name   => "admin/biblio_framework.tt",
39
        query           => $input,
39
        query           => $input,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
41
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
(-)a/admin/branches.pl (-1 lines)
Lines 38-44 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
38
    {   template_name   => "admin/branches.tt",
38
    {   template_name   => "admin/branches.tt",
39
        query           => $input,
39
        query           => $input,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => { parameters => 'manage_libraries' },
41
        flagsrequired   => { parameters => 'manage_libraries' },
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
(-)a/admin/cash_registers.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
36
        template_name   => 'admin/cash_registers.tt',
36
        template_name   => 'admin/cash_registers.tt',
37
        query           => $cgi,
37
        query           => $cgi,
38
        type            => 'intranet',
38
        type            => 'intranet',
39
        authnotrequired => 0,
40
        flagsrequired   => { parameters => 'manage_cash_registers' },
39
        flagsrequired   => { parameters => 'manage_cash_registers' },
41
    }
40
    }
42
);
41
);
(-)a/admin/categories.pl (-1 lines)
Lines 42-48 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
42
        template_name   => "admin/categories.tt",
42
        template_name   => "admin/categories.tt",
43
        query           => $input,
43
        query           => $input,
44
        type            => "intranet",
44
        type            => "intranet",
45
        authnotrequired => 0,
46
        flagsrequired   => { parameters => 'manage_patron_categories' },
45
        flagsrequired   => { parameters => 'manage_patron_categories' },
47
        debug           => 1,
46
        debug           => 1,
48
    }
47
    }
(-)a/admin/check_budget_parent.pl (-1 lines)
Lines 40-46 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
40
    {   template_name   => "acqui/ajax.tt",
40
    {   template_name   => "acqui/ajax.tt",
41
        query           => $input,
41
        query           => $input,
42
        type            => "intranet",
42
        type            => "intranet",
43
        authnotrequired => 0,
44
        debug           => 0,
43
        debug           => 0,
45
    }
44
    }
46
);
45
);
(-)a/admin/check_parent_total.pl (-1 lines)
Lines 46-52 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
46
    {   template_name   => "acqui/ajax.tt",
46
    {   template_name   => "acqui/ajax.tt",
47
        query           => $input,
47
        query           => $input,
48
        type            => "intranet",
48
        type            => "intranet",
49
        authnotrequired => 0,
50
        debug           => 0,
49
        debug           => 0,
51
    }
50
    }
52
);
51
);
(-)a/admin/checkmarc.pl (-1 lines)
Lines 32-38 my ($template, $borrowernumber, $cookie) Link Here
32
    = get_template_and_user({template_name => "admin/checkmarc.tt",
32
    = get_template_and_user({template_name => "admin/checkmarc.tt",
33
			     query => $input,
33
			     query => $input,
34
			     type => "intranet",
34
			     type => "intranet",
35
			     authnotrequired => 0,
36
                 flagsrequired => { parameters => 'manage_marc_frameworks' },
35
                 flagsrequired => { parameters => 'manage_marc_frameworks' },
37
			     debug => 1,
36
			     debug => 1,
38
			     });
37
			     });
(-)a/admin/cities.pl (-1 lines)
Lines 36-42 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
36
    {   template_name   => "admin/cities.tt",
36
    {   template_name   => "admin/cities.tt",
37
        query           => $input,
37
        query           => $input,
38
        type            => "intranet",
38
        type            => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { parameters => 'manage_cities' },
39
        flagsrequired   => { parameters => 'manage_cities' },
41
        debug           => 1,
40
        debug           => 1,
42
    }
41
    }
(-)a/admin/classsources.pl (-1 lines)
Lines 49-55 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
49
        template_name   => "admin/classsources.tt",
49
        template_name   => "admin/classsources.tt",
50
        query           => $input,
50
        query           => $input,
51
        type            => "intranet",
51
        type            => "intranet",
52
        authnotrequired => 0,
53
        flagsrequired   => { parameters => 'manage_classifications' },
52
        flagsrequired   => { parameters => 'manage_classifications' },
54
        debug           => 1,
53
        debug           => 1,
55
    }
54
    }
(-)a/admin/clone-rules.pl (-1 lines)
Lines 40-46 my ($template, $loggedinuser, $cookie) Link Here
40
    = get_template_and_user({template_name => "admin/clone-rules.tt",
40
    = get_template_and_user({template_name => "admin/clone-rules.tt",
41
                            query => $input,
41
                            query => $input,
42
                            type => "intranet",
42
                            type => "intranet",
43
                            authnotrequired => 0,
44
                            flagsrequired => {parameters => 'manage_circ_rules'},
43
                            flagsrequired => {parameters => 'manage_circ_rules'},
45
                            debug => 1,
44
                            debug => 1,
46
                            });
45
                            });
(-)a/admin/columns_settings.pl (-1 lines)
Lines 14-20 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
14
        template_name   => "admin/columns_settings.tt",
14
        template_name   => "admin/columns_settings.tt",
15
        query           => $input,
15
        query           => $input,
16
        type            => "intranet",
16
        type            => "intranet",
17
        authnotrequired => 0,
18
        flagsrequired   => { parameters => 'manage_column_config' },
17
        flagsrequired   => { parameters => 'manage_column_config' },
19
        debug           => 1,
18
        debug           => 1,
20
    }
19
    }
(-)a/admin/currency.pl (-1 lines)
Lines 39-45 our ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
39
    {   template_name   => 'admin/currency.tt',
39
    {   template_name   => 'admin/currency.tt',
40
        query           => $input,
40
        query           => $input,
41
        type            => 'intranet',
41
        type            => 'intranet',
42
        authnotrequired => 0,
43
        flagsrequired   => { acquisition => 'currencies_manage' },
42
        flagsrequired   => { acquisition => 'currencies_manage' },
44
    }
43
    }
45
);
44
);
(-)a/admin/debit_types.pl (-1 lines)
Lines 38-44 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
38
        template_name   => "admin/debit_types.tt",
38
        template_name   => "admin/debit_types.tt",
39
        query           => $input,
39
        query           => $input,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => { parameters => 'parameters_remaining_permissions' },
41
        flagsrequired   => { parameters => 'parameters_remaining_permissions' },
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
(-)a/admin/didyoumean.pl (-1 lines)
Lines 15-21 my ($template, $loggedinuser, $cookie) Link Here
15
    = get_template_and_user({template_name => "admin/didyoumean.tt",
15
    = get_template_and_user({template_name => "admin/didyoumean.tt",
16
            query => $input,
16
            query => $input,
17
            type => "intranet",
17
            type => "intranet",
18
            authnotrequired => 0,
19
            flagsrequired => {parameters => 'manage_didyoumean'},
18
            flagsrequired => {parameters => 'manage_didyoumean'},
20
            debug => 1,
19
            debug => 1,
21
            });
20
            });
(-)a/admin/edi_accounts.pl (-1 lines)
Lines 32-38 our ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => 'admin/edi_accounts.tt',
32
        template_name   => 'admin/edi_accounts.tt',
33
        query           => $input,
33
        query           => $input,
34
        type            => 'intranet',
34
        type            => 'intranet',
35
        authnotrequired => 0,
36
        flagsrequired   => { acquisition => 'edi_manage' },
35
        flagsrequired   => { acquisition => 'edi_manage' },
37
    }
36
    }
38
);
37
);
(-)a/admin/edi_ean_accounts.pl (-1 lines)
Lines 30-36 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
30
        template_name   => 'admin/edi_ean_accounts.tt',
30
        template_name   => 'admin/edi_ean_accounts.tt',
31
        query           => $input,
31
        query           => $input,
32
        type            => 'intranet',
32
        type            => 'intranet',
33
        authnotrequired => 0,
34
        flagsrequired   => { acquisition => 'edi_manage' },
33
        flagsrequired   => { acquisition => 'edi_manage' },
35
    }
34
    }
36
);
35
);
(-)a/admin/item_circulation_alerts.pl (-1 lines)
Lines 43-49 sub show { Link Here
43
            template_name   => "admin/item_circulation_alerts.tt",
43
            template_name   => "admin/item_circulation_alerts.tt",
44
            query           => $input,
44
            query           => $input,
45
            type            => "intranet",
45
            type            => "intranet",
46
            authnotrequired => 0,
47
            flagsrequired   => { parameters => 'item_circ_alerts' },
46
            flagsrequired   => { parameters => 'item_circ_alerts' },
48
            debug           => defined($input->param('debug')),
47
            debug           => defined($input->param('debug')),
49
        }
48
        }
(-)a/admin/items_search_field.pl (-1 lines)
Lines 30-36 my ($template, $borrowernumber, $cookie) = get_template_and_user({ Link Here
30
    template_name => 'admin/items_search_field.tt',
30
    template_name => 'admin/items_search_field.tt',
31
    query => $cgi,
31
    query => $cgi,
32
    type => 'intranet',
32
    type => 'intranet',
33
    authnotrequired => 0,
34
    flagsrequired   => { parameters => 'manage_item_search_fields' },
33
    flagsrequired   => { parameters => 'manage_item_search_fields' },
35
});
34
});
36
35
(-)a/admin/items_search_fields.pl (-1 lines)
Lines 30-36 my ($template, $borrowernumber, $cookie) = get_template_and_user({ Link Here
30
    template_name => 'admin/items_search_fields.tt',
30
    template_name => 'admin/items_search_fields.tt',
31
    query => $cgi,
31
    query => $cgi,
32
    type => 'intranet',
32
    type => 'intranet',
33
    authnotrequired => 0,
34
    flagsrequired   => { parameters => 'manage_item_search_fields' },
33
    flagsrequired   => { parameters => 'manage_item_search_fields' },
35
});
34
});
36
35
(-)a/admin/itemtypes.pl (-1 lines)
Lines 45-51 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
45
    {   template_name   => "admin/itemtypes.tt",
45
    {   template_name   => "admin/itemtypes.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { parameters => 'manage_itemtypes' },
48
        flagsrequired   => { parameters => 'manage_itemtypes' },
50
        debug           => 1,
49
        debug           => 1,
51
    }
50
    }
(-)a/admin/koha2marclinks.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( Link Here
36
        template_name   => "admin/koha2marclinks.tt",
36
        template_name   => "admin/koha2marclinks.tt",
37
        query           => $input,
37
        query           => $input,
38
        type            => "intranet",
38
        type            => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
39
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
41
        debug           => 1,
40
        debug           => 1,
42
    }
41
    }
(-)a/admin/library_groups.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "admin/library_groups.tt",
34
        template_name   => "admin/library_groups.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { parameters => 'manage_libraries' },
37
        flagsrequired   => { parameters => 'manage_libraries' },
39
        debug           => 1,
38
        debug           => 1,
40
    }
39
    }
(-)a/admin/localization.pl (-1 lines)
Lines 30-36 my $query = new CGI; Link Here
30
30
31
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
31
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
32
    {   template_name   => "admin/localization.tt",
32
    {   template_name   => "admin/localization.tt",
33
        authnotrequired => 0,
34
        flagsrequired   => { parameters => 'manage_itemtypes' },
33
        flagsrequired   => { parameters => 'manage_itemtypes' },
35
        query           => $query,
34
        query           => $query,
36
        type            => "intranet",
35
        type            => "intranet",
(-)a/admin/marc_subfields_structure.pl (-1 lines)
Lines 74-80 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
74
        template_name   => "admin/marc_subfields_structure.tt",
74
        template_name   => "admin/marc_subfields_structure.tt",
75
        query           => $input,
75
        query           => $input,
76
        type            => "intranet",
76
        type            => "intranet",
77
        authnotrequired => 0,
78
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
77
        flagsrequired   => { parameters => 'manage_marc_frameworks' },
79
        debug           => 1,
78
        debug           => 1,
80
    }
79
    }
(-)a/admin/marctagstructure.pl (-1 lines)
Lines 52-58 my ($template, $loggedinuser, $cookie) Link Here
52
    = get_template_and_user({template_name => "admin/marctagstructure.tt",
52
    = get_template_and_user({template_name => "admin/marctagstructure.tt",
53
			     query => $input,
53
			     query => $input,
54
			     type => "intranet",
54
			     type => "intranet",
55
			     authnotrequired => 0,
56
                 flagsrequired => { parameters => 'manage_marc_frameworks' },
55
                 flagsrequired => { parameters => 'manage_marc_frameworks' },
57
			     debug => 1,
56
			     debug => 1,
58
			     });
57
			     });
(-)a/admin/matching-rules.pl (-1 lines)
Lines 37-43 my ($template, $loggedinuser, $cookie) Link Here
37
    = get_template_and_user({template_name => "admin/matching-rules.tt",
37
    = get_template_and_user({template_name => "admin/matching-rules.tt",
38
                 query => $input,
38
                 query => $input,
39
                 type => "intranet",
39
                 type => "intranet",
40
                 authnotrequired => 0,
41
                 flagsrequired => { parameters => 'manage_matching_rules' },
40
                 flagsrequired => { parameters => 'manage_matching_rules' },
42
                 debug => 1,
41
                 debug => 1,
43
                 });
42
                 });
(-)a/admin/oai_set_mappings.pl (-1 lines)
Lines 44-50 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { Link Here
44
    template_name   => 'admin/oai_set_mappings.tt',
44
    template_name   => 'admin/oai_set_mappings.tt',
45
    query           => $input,
45
    query           => $input,
46
    type            => 'intranet',
46
    type            => 'intranet',
47
    authnotrequired => 0,
48
    flagsrequired   => { 'parameters' => 'manage_oai_sets' },
47
    flagsrequired   => { 'parameters' => 'manage_oai_sets' },
49
    debug           => 1,
48
    debug           => 1,
50
} );
49
} );
(-)a/admin/oai_sets.pl (-1 lines)
Lines 40-46 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { Link Here
40
    template_name   => 'admin/oai_sets.tt',
40
    template_name   => 'admin/oai_sets.tt',
41
    query           => $input,
41
    query           => $input,
42
    type            => 'intranet',
42
    type            => 'intranet',
43
    authnotrequired => 0,
44
    flagsrequired   => { 'parameters' => 'manage_oai_sets' },
43
    flagsrequired   => { 'parameters' => 'manage_oai_sets' },
45
    debug           => 1,
44
    debug           => 1,
46
} );
45
} );
(-)a/admin/overdrive.pl (-1 lines)
Lines 35-41 our ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
35
    {   template_name   => 'admin/overdrive.tt',
35
    {   template_name   => 'admin/overdrive.tt',
36
        query           => $input,
36
        query           => $input,
37
        type            => 'intranet',
37
        type            => 'intranet',
38
        authnotrequired => 0,
39
        flagsrequired   => { parameters => 'parameters_remaining_permissions' },
38
        flagsrequired   => { parameters => 'parameters_remaining_permissions' },
40
    }
39
    }
41
);
40
);
(-)a/admin/patron-attr-types.pl (-1 lines)
Lines 44-50 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
44
    {   template_name   => "admin/patron-attr-types.tt",
44
    {   template_name   => "admin/patron-attr-types.tt",
45
        query           => $input,
45
        query           => $input,
46
        type            => "intranet",
46
        type            => "intranet",
47
        authnotrequired => 0,
48
        flagsrequired => { parameters => 'manage_patron_attributes' }
47
        flagsrequired => { parameters => 'manage_patron_attributes' }
49
    }
48
    }
50
);
49
);
(-)a/admin/preferences.pl (-1 lines)
Lines 301-307 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
301
    {   template_name   => "admin/preferences.tt",
301
    {   template_name   => "admin/preferences.tt",
302
        query           => $input,
302
        query           => $input,
303
        type            => "intranet",
303
        type            => "intranet",
304
        authnotrequired => 0,
305
        flagsrequired   => { parameters => 'manage_sysprefs' },
304
        flagsrequired   => { parameters => 'manage_sysprefs' },
306
        debug           => 1,
305
        debug           => 1,
307
    }
306
    }
(-)a/admin/printers.pl (-1 lines)
Lines 69-75 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
69
        template_name   => "admin/printers.tt",
69
        template_name   => "admin/printers.tt",
70
        query           => $input,
70
        query           => $input,
71
        type            => "intranet",
71
        type            => "intranet",
72
        authnotrequired => 0,
73
        flagsrequired   => {parameters => '*'},
72
        flagsrequired   => {parameters => '*'},
74
        debug           => 1,
73
        debug           => 1,
75
    }
74
    }
(-)a/admin/searchengine/elasticsearch/mappings.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
36
    {   template_name   => 'admin/searchengine/elasticsearch/mappings.tt',
36
    {   template_name   => 'admin/searchengine/elasticsearch/mappings.tt',
37
        query           => $input,
37
        query           => $input,
38
        type            => 'intranet',
38
        type            => 'intranet',
39
        authnotrequired => 0,
40
        flagsrequired   => { parameters => 'manage_search_engine_config' },
39
        flagsrequired   => { parameters => 'manage_search_engine_config' },
41
    }
40
    }
42
);
41
);
(-)a/admin/share_content.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "admin/share_content.tt",
32
        template_name   => "admin/share_content.tt",
33
        query           => $query,
33
        query           => $query,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired   => { parameters => 'manage_mana' },
35
        flagsrequired   => { parameters => 'manage_mana' },
37
        debug           => 1,
36
        debug           => 1,
38
    }
37
    }
(-)a/admin/smart-rules.pl (-1 lines)
Lines 43-49 my ($template, $loggedinuser, $cookie) Link Here
43
    = get_template_and_user({template_name => "admin/smart-rules.tt",
43
    = get_template_and_user({template_name => "admin/smart-rules.tt",
44
                            query => $input,
44
                            query => $input,
45
                            type => "intranet",
45
                            type => "intranet",
46
                            authnotrequired => 0,
47
                            flagsrequired => {parameters => 'manage_circ_rules'},
46
                            flagsrequired => {parameters => 'manage_circ_rules'},
48
                            debug => 1,
47
                            debug => 1,
49
                            });
48
                            });
(-)a/admin/sms_providers.pl (-1 lines)
Lines 35-41 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
35
        template_name   => "admin/sms_providers.tt",
35
        template_name   => "admin/sms_providers.tt",
36
        query           => $cgi,
36
        query           => $cgi,
37
        type            => "intranet",
37
        type            => "intranet",
38
        authnotrequired => 0,
39
        flagsrequired   => { parameters => 'manage_sms_providers' },
38
        flagsrequired   => { parameters => 'manage_sms_providers' },
40
        debug           => 1,
39
        debug           => 1,
41
    }
40
    }
(-)a/admin/sru_modmapping.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { Link Here
31
    template_name => $type eq "authority" ? "admin/sru_modmapping_auth.tt" : "admin/sru_modmapping.tt",
31
    template_name => $type eq "authority" ? "admin/sru_modmapping_auth.tt" : "admin/sru_modmapping.tt",
32
    query => $input,
32
    query => $input,
33
    type => "intranet",
33
    type => "intranet",
34
    authnotrequired => 0,
35
    flagsrequired   => { parameters => 'manage_search_targets' },
34
    flagsrequired   => { parameters => 'manage_search_targets' },
36
});
35
});
37
36
(-)a/admin/systempreferences.pl (-1 lines)
Lines 215-221 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
215
    {   template_name   => "admin/systempreferences.tt",
215
    {   template_name   => "admin/systempreferences.tt",
216
        query           => $input,
216
        query           => $input,
217
        type            => "intranet",
217
        type            => "intranet",
218
        authnotrequired => 0,
219
        flagsrequired   => { parameters => 'manage_sysprefs' },
218
        flagsrequired   => { parameters => 'manage_sysprefs' },
220
        debug           => 1,
219
        debug           => 1,
221
    }
220
    }
(-)a/admin/transport-cost-matrix.pl (-1 lines)
Lines 36-42 my ($template, $loggedinuser, $cookie) Link Here
36
    = get_template_and_user({template_name => "admin/transport-cost-matrix.tt",
36
    = get_template_and_user({template_name => "admin/transport-cost-matrix.tt",
37
                            query => $input,
37
                            query => $input,
38
                            type => "intranet",
38
                            type => "intranet",
39
                            authnotrequired => 0,
40
                            flagsrequired => { parameters => 'manage_transfers' },
39
                            flagsrequired => { parameters => 'manage_transfers' },
41
                            debug => 1,
40
                            debug => 1,
42
                            });
41
                            });
(-)a/admin/usage_statistics.pl (-1 lines)
Lines 29-35 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
29
        template_name   => "admin/usage_statistics.tt",
29
        template_name   => "admin/usage_statistics.tt",
30
        query           => $query,
30
        query           => $query,
31
        type            => "intranet",
31
        type            => "intranet",
32
        authnotrequired => 0,
33
        flagsrequired   => { parameters => 'manage_usage_stats' },
32
        flagsrequired   => { parameters => 'manage_usage_stats' },
34
        debug           => 1,
33
        debug           => 1,
35
    }
34
    }
(-)a/admin/z3950servers.pl (-1 lines)
Lines 44-50 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { Link Here
44
    template_name => "admin/z3950servers.tt",
44
    template_name => "admin/z3950servers.tt",
45
    query => $input,
45
    query => $input,
46
    type => "intranet",
46
    type => "intranet",
47
    authnotrequired => 0,
48
    flagsrequired => { parameters => 'manage_search_targets' },
47
    flagsrequired => { parameters => 'manage_search_targets' },
49
    debug => 1,
48
    debug => 1,
50
});
49
});
(-)a/authorities/auth_finder.pl (-1 lines)
Lines 46-52 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
46
        : 'authorities/auth_finder.tt',
46
        : 'authorities/auth_finder.tt',
47
        query           => $query,
47
        query           => $query,
48
        type            => 'intranet',
48
        type            => 'intranet',
49
        authnotrequired => 0,
50
        flagsrequired   => { catalogue => 1 },
49
        flagsrequired   => { catalogue => 1 },
51
    }
50
    }
52
);
51
);
(-)a/authorities/authorities-home.pl (-3 lines)
Lines 54-60 if ( $op eq "delete" ) { Link Here
54
            template_name   => "authorities/authorities-home.tt",
54
            template_name   => "authorities/authorities-home.tt",
55
            query           => $query,
55
            query           => $query,
56
            type            => 'intranet',
56
            type            => 'intranet',
57
            authnotrequired => 0,
58
            flagsrequired   => { catalogue => 1 },
57
            flagsrequired   => { catalogue => 1 },
59
            debug           => 1,
58
            debug           => 1,
60
        }
59
        }
Lines 105-111 if ( $op eq "do_search" ) { Link Here
105
            template_name   => "authorities/searchresultlist.tt",
104
            template_name   => "authorities/searchresultlist.tt",
106
            query           => $query,
105
            query           => $query,
107
            type            => 'intranet',
106
            type            => 'intranet',
108
            authnotrequired => 0,
109
            flagsrequired   => { catalogue => 1 },
107
            flagsrequired   => { catalogue => 1 },
110
            debug           => 1,
108
            debug           => 1,
111
        }
109
        }
Lines 204-210 if ( $op eq '' ) { Link Here
204
            template_name   => "authorities/authorities-home.tt",
202
            template_name   => "authorities/authorities-home.tt",
205
            query           => $query,
203
            query           => $query,
206
            type            => 'intranet',
204
            type            => 'intranet',
207
            authnotrequired => 0,
208
            flagsrequired   => { catalogue => 1 },
205
            flagsrequired   => { catalogue => 1 },
209
            debug           => 1,
206
            debug           => 1,
210
        }
207
        }
(-)a/authorities/authorities.pl (-1 lines)
Lines 571-577 my ($template, $loggedinuser, $cookie) Link Here
571
    = get_template_and_user({template_name => "authorities/authorities.tt",
571
    = get_template_and_user({template_name => "authorities/authorities.tt",
572
                            query => $input,
572
                            query => $input,
573
                            type => "intranet",
573
                            type => "intranet",
574
                            authnotrequired => 0,
575
                            flagsrequired => {editauthorities => 1},
574
                            flagsrequired => {editauthorities => 1},
576
                            debug => 1,
575
                            debug => 1,
577
                            });
576
                            });
(-)a/authorities/blinddetail-biblio-search.pl (-1 lines)
Lines 64-70 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
64
        template_name   => "authorities/blinddetail-biblio-search.tt",
64
        template_name   => "authorities/blinddetail-biblio-search.tt",
65
        query           => $query,
65
        query           => $query,
66
        type            => "intranet",
66
        type            => "intranet",
67
        authnotrequired => 0,
68
        flagsrequired   => { editcatalogue => 'edit_catalogue' },
67
        flagsrequired   => { editcatalogue => 'edit_catalogue' },
69
    }
68
    }
70
);
69
);
(-)a/authorities/detail-biblio-search.pl (-1 lines)
Lines 67-73 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
67
        template_name   => "authorities/detail-biblio-search.tt",
67
        template_name   => "authorities/detail-biblio-search.tt",
68
        query           => $query,
68
        query           => $query,
69
        type            => "intranet",
69
        type            => "intranet",
70
        authnotrequired => 0,
71
        flagsrequired   => { catalogue => 1 },
70
        flagsrequired   => { catalogue => 1 },
72
        debug           => 1,
71
        debug           => 1,
73
    }
72
    }
(-)a/authorities/detail.pl (-1 lines)
Lines 173-179 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
173
        template_name   => "authorities/detail.tt",
173
        template_name   => "authorities/detail.tt",
174
        query           => $query,
174
        query           => $query,
175
        type            => "intranet",
175
        type            => "intranet",
176
        authnotrequired => 0,
177
        flagsrequired   => { catalogue => 1 },
176
        flagsrequired   => { catalogue => 1 },
178
        debug           => 1,
177
        debug           => 1,
179
    }
178
    }
(-)a/authorities/export.pl (-1 lines)
Lines 13-19 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
13
        template_name   => "tools/export.tt",
13
        template_name   => "tools/export.tt",
14
        query           => $query,
14
        query           => $query,
15
        type            => "intranet",
15
        type            => "intranet",
16
        authnotrequired => 0,
17
        flagsrequired   => { catalogue => 1 },
16
        flagsrequired   => { catalogue => 1 },
18
        debug           => 1,
17
        debug           => 1,
19
    }
18
    }
(-)a/authorities/merge.pl (-1 lines)
Lines 39-45 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
39
        template_name   => "authorities/merge.tt",
39
        template_name   => "authorities/merge.tt",
40
        query           => $input,
40
        query           => $input,
41
        type            => "intranet",
41
        type            => "intranet",
42
        authnotrequired => 0,
43
        flagsrequired   => { editauthorities => 1 },
42
        flagsrequired   => { editauthorities => 1 },
44
    }
43
    }
45
);
44
);
(-)a/basket/downloadcart.pl (-1 lines)
Lines 39-45 my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( Link Here
39
        template_name   => "basket/downloadcart.tt",
39
        template_name   => "basket/downloadcart.tt",
40
        query           => $query,
40
        query           => $query,
41
        type            => "intranet",
41
        type            => "intranet",
42
        authnotrequired => 0,
43
        flagsrequired   => { catalogue => 1 },
42
        flagsrequired   => { catalogue => 1 },
44
    }
43
    }
45
);
44
);
(-)a/basket/sendbasket.pl (-1 lines)
Lines 39-45 my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( Link Here
39
        template_name   => "basket/sendbasketform.tt",
39
        template_name   => "basket/sendbasketform.tt",
40
        query           => $query,
40
        query           => $query,
41
        type            => "intranet",
41
        type            => "intranet",
42
        authnotrequired => 0,
43
        flagsrequired   => { catalogue => 1 },
42
        flagsrequired   => { catalogue => 1 },
44
    }
43
    }
45
);
44
);
(-)a/catalogue/ISBDdetail.pl (-1 lines)
Lines 64-70 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
64
        template_name => "catalogue/ISBDdetail.tt",
64
        template_name => "catalogue/ISBDdetail.tt",
65
        query         => $query,
65
        query         => $query,
66
        type          => "intranet",
66
        type          => "intranet",
67
	authnotrequired => 0,
68
	flagsrequired   => { catalogue => 1 },
67
	flagsrequired   => { catalogue => 1 },
69
    }
68
    }
70
);
69
);
(-)a/catalogue/MARCdetail.pl (-1 lines)
Lines 80-86 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
80
        template_name   => "catalogue/MARCdetail.tt",
80
        template_name   => "catalogue/MARCdetail.tt",
81
        query           => $query,
81
        query           => $query,
82
        type            => "intranet",
82
        type            => "intranet",
83
        authnotrequired => 0,
84
        flagsrequired   => { catalogue => 1 },
83
        flagsrequired   => { catalogue => 1 },
85
        debug           => 1,
84
        debug           => 1,
86
    }
85
    }
(-)a/catalogue/detail.pl (-1 lines)
Lines 58-64 my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user( Link Here
58
    template_name   =>  'catalogue/detail.tt',
58
    template_name   =>  'catalogue/detail.tt',
59
        query           => $query,
59
        query           => $query,
60
        type            => "intranet",
60
        type            => "intranet",
61
        authnotrequired => 0,
62
        flagsrequired   => { catalogue => 1 },
61
        flagsrequired   => { catalogue => 1 },
63
    }
62
    }
64
);
63
);
(-)a/catalogue/export.pl (-1 lines)
Lines 15-21 my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ Link Here
15
    template_name   => "tools/export.tt",
15
    template_name   => "tools/export.tt",
16
    query           => $query,
16
    query           => $query,
17
    type            => "intranet",
17
    type            => "intranet",
18
    authnotrequired => 0,
19
    flagsrequired   => { catalogue => 1 },
18
    flagsrequired   => { catalogue => 1 },
20
    debug           => 1,
19
    debug           => 1,
21
    });
20
    });
(-)a/catalogue/imageviewer.pl (-1 lines)
Lines 37-43 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
37
        template_name   => "catalogue/imageviewer.tt",
37
        template_name   => "catalogue/imageviewer.tt",
38
        query           => $query,
38
        query           => $query,
39
        type            => "intranet",
39
        type            => "intranet",
40
        authnotrequired => 0,
41
        flagsrequired   => { catalogue => 1 },
40
        flagsrequired   => { catalogue => 1 },
42
    }
41
    }
43
);
42
);
(-)a/catalogue/issuehistory.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
36
        template_name   => "catalogue/issuehistory.tt",
36
        template_name   => "catalogue/issuehistory.tt",
37
        query           => $query,
37
        query           => $query,
38
        type            => "intranet",
38
        type            => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { catalogue => 1 },
39
        flagsrequired   => { catalogue => 1 },
41
    }
40
    }
42
);
41
);
(-)a/catalogue/itemsearch.pl (-1 lines)
Lines 93-99 my ($template, $borrowernumber, $cookie) = get_template_and_user({ Link Here
93
    template_name => $template_name,
93
    template_name => $template_name,
94
    query => $cgi,
94
    query => $cgi,
95
    type => 'intranet',
95
    type => 'intranet',
96
    authnotrequired => 0,
97
    flagsrequired   => { catalogue => 1 },
96
    flagsrequired   => { catalogue => 1 },
98
});
97
});
99
98
(-)a/catalogue/labeledMARCdetail.pl (-1 lines)
Lines 49-55 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
49
        template_name   => "catalogue/labeledMARCdetail.tt",
49
        template_name   => "catalogue/labeledMARCdetail.tt",
50
        query           => $query,
50
        query           => $query,
51
        type            => "intranet",
51
        type            => "intranet",
52
        authnotrequired => 0,
53
        flagsrequired   => { catalogue => 1 },
52
        flagsrequired   => { catalogue => 1 },
54
        debug           => 1,
53
        debug           => 1,
55
    }
54
    }
(-)a/catalogue/moredetail.pl (-1 lines)
Lines 45-51 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
45
        template_name   => 'catalogue/moredetail.tt',
45
        template_name   => 'catalogue/moredetail.tt',
46
        query           => $query,
46
        query           => $query,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { catalogue => 1 },
48
        flagsrequired   => { catalogue => 1 },
50
    }
49
    }
51
);
50
);
(-)a/catalogue/search-history.pl (-1 lines)
Lines 31-37 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
31
    template_name   => 'catalogue/search-history.tt',
31
    template_name   => 'catalogue/search-history.tt',
32
    query           => $cgi,
32
    query           => $cgi,
33
    type            => "intranet",
33
    type            => "intranet",
34
    authnotrequired => 0,
35
    flagsrequired   => {catalogue => 1},
34
    flagsrequired   => {catalogue => 1},
36
});
35
});
37
36
(-)a/catalogue/search.pl (-1 lines)
Lines 182-188 my ($template, $borrowernumber, $cookie) = get_template_and_user({ Link Here
182
    template_name => $template_name,
182
    template_name => $template_name,
183
    query => $cgi,
183
    query => $cgi,
184
    type => "intranet",
184
    type => "intranet",
185
    authnotrequired => 0,
186
    flagsrequired   => { catalogue => 1 },
185
    flagsrequired   => { catalogue => 1 },
187
    }
186
    }
188
);
187
);
(-)a/catalogue/showmarc.pl (-1 lines)
Lines 41-47 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
41
    template_name   => "catalogue/showmarc.tt",
41
    template_name   => "catalogue/showmarc.tt",
42
    query           => $input,
42
    query           => $input,
43
    type            => "intranet",
43
    type            => "intranet",
44
    authnotrequired => 0,
45
    flagsrequired   => { catalogue => 1  },
44
    flagsrequired   => { catalogue => 1  },
46
    debug           => 1,
45
    debug           => 1,
47
  }
46
  }
(-)a/catalogue/stockrotation.pl (-1 lines)
Lines 57-63 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
57
        template_name   => 'catalogue/stockrotation.tt',
57
        template_name   => 'catalogue/stockrotation.tt',
58
        query           => $input,
58
        query           => $input,
59
        type            => 'intranet',
59
        type            => 'intranet',
60
        authnotrequired => 0,
61
        flagsrequired   => {
60
        flagsrequired   => {
62
            catalogue => 1,
61
            catalogue => 1,
63
            stockrotation => 'manage_rota_items',
62
            stockrotation => 'manage_rota_items',
(-)a/cataloguing/addbiblio.pl (-1 lines)
Lines 720-726 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
720
        template_name   => "cataloguing/addbiblio.tt",
720
        template_name   => "cataloguing/addbiblio.tt",
721
        query           => $input,
721
        query           => $input,
722
        type            => "intranet",
722
        type            => "intranet",
723
        authnotrequired => 0,
724
        flagsrequired   => { editcatalogue => $userflags },
723
        flagsrequired   => { editcatalogue => $userflags },
725
    }
724
    }
726
);
725
);
(-)a/cataloguing/addbooks.pl (-1 lines)
Lines 56-62 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
56
        template_name   => "cataloguing/addbooks.tt",
56
        template_name   => "cataloguing/addbooks.tt",
57
        query           => $input,
57
        query           => $input,
58
        type            => "intranet",
58
        type            => "intranet",
59
        authnotrequired => 0,
60
        flagsrequired   => { editcatalogue => '*' },
59
        flagsrequired   => { editcatalogue => '*' },
61
        debug           => 1,
60
        debug           => 1,
62
    }
61
    }
(-)a/cataloguing/additem.pl (-1 lines)
Lines 412-418 my ($template, $loggedinuser, $cookie) Link Here
412
    = get_template_and_user({template_name => "cataloguing/additem.tt",
412
    = get_template_and_user({template_name => "cataloguing/additem.tt",
413
                 query => $input,
413
                 query => $input,
414
                 type => "intranet",
414
                 type => "intranet",
415
                 authnotrequired => 0,
416
                 flagsrequired => {editcatalogue => $userflags},
415
                 flagsrequired => {editcatalogue => $userflags},
417
                 debug => 1,
416
                 debug => 1,
418
                 });
417
                 });
(-)a/cataloguing/editor.pl (-1 lines)
Lines 40-46 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
40
        template_name   => 'cataloguing/editor.tt',
40
        template_name   => 'cataloguing/editor.tt',
41
        query           => $input,
41
        query           => $input,
42
        type            => 'intranet',
42
        type            => 'intranet',
43
        authnotrequired => 0,
44
        flagsrequired   => {
43
        flagsrequired   => {
45
            editcatalogue => {
44
            editcatalogue => {
46
                'edit_catalogue'  => 1,
45
                'edit_catalogue'  => 1,
(-)a/cataloguing/linkitem.pl (-1 lines)
Lines 40-46 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
40
        template_name   => "cataloguing/linkitem.tt",
40
        template_name   => "cataloguing/linkitem.tt",
41
        query           => $query,
41
        query           => $query,
42
        type            => "intranet",
42
        type            => "intranet",
43
        authnotrequired => 0,
44
        flagsrequired   => { editcatalogue => 'edit_catalogue' },
43
        flagsrequired   => { editcatalogue => 'edit_catalogue' },
45
        debug           => 1,
44
        debug           => 1,
46
    }
45
    }
(-)a/cataloguing/merge.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        template_name   => "cataloguing/merge.tt",
45
        template_name   => "cataloguing/merge.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { editcatalogue => 'edit_catalogue' },
48
        flagsrequired   => { editcatalogue => 'edit_catalogue' },
50
    }
49
    }
51
);
50
);
(-)a/cataloguing/moveitem.pl (-1 lines)
Lines 52-58 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
52
        template_name   => "cataloguing/moveitem.tt",
52
        template_name   => "cataloguing/moveitem.tt",
53
        query           => $query,
53
        query           => $query,
54
        type            => "intranet",
54
        type            => "intranet",
55
        authnotrequired => 0,
56
        flagsrequired   => { editcatalogue => 'edit_items' },
55
        flagsrequired   => { editcatalogue => 'edit_items' },
57
        debug           => 1,
56
        debug           => 1,
58
    }
57
    }
(-)a/cataloguing/value_builder/EXAMPLE.pl (-1 lines)
Lines 116-122 my $launcher= sub { Link Here
116
        template_name => "cataloguing/value_builder/EXAMPLE.tt",
116
        template_name => "cataloguing/value_builder/EXAMPLE.tt",
117
        query => $cgi,
117
        query => $cgi,
118
        type => "intranet",
118
        type => "intranet",
119
        authnotrequired => 0,
120
        flagsrequired => {editcatalogue => '*'},
119
        flagsrequired => {editcatalogue => '*'},
121
    });
120
    });
122
    $template->param(
121
    $template->param(
(-)a/cataloguing/value_builder/callnumber-KU.pl (-1 lines)
Lines 70-76 my $launcher = sub { Link Here
70
        template_name   => "cataloguing/value_builder/ajax.tt",
70
        template_name   => "cataloguing/value_builder/ajax.tt",
71
        query           => $input,
71
        query           => $input,
72
        type            => "intranet",
72
        type            => "intranet",
73
        authnotrequired => 0,
74
        flagsrequired   => {editcatalogue => '*'},
73
        flagsrequired   => {editcatalogue => '*'},
75
        debug           => 1,
74
        debug           => 1,
76
    });
75
    });
(-)a/cataloguing/value_builder/callnumber.pl (-1 lines)
Lines 68-74 my $launcher = sub { Link Here
68
        template_name   => "cataloguing/value_builder/ajax.tt",
68
        template_name   => "cataloguing/value_builder/ajax.tt",
69
        query           => $input,
69
        query           => $input,
70
        type            => "intranet",
70
        type            => "intranet",
71
        authnotrequired => 0,
72
        flagsrequired   => {editcatalogue => '*'},
71
        flagsrequired   => {editcatalogue => '*'},
73
        debug           => 1,
72
        debug           => 1,
74
    });
73
    });
(-)a/cataloguing/value_builder/cn_browser.pl (-1 lines)
Lines 56-62 my $launcher = sub { Link Here
56
        {   template_name   => "cataloguing/value_builder/cn_browser.tt",
56
        {   template_name   => "cataloguing/value_builder/cn_browser.tt",
57
            query           => $cgi,
57
            query           => $cgi,
58
            type            => "intranet",
58
            type            => "intranet",
59
            authnotrequired => 0,
60
            flagsrequired   => { catalogue => 1 },
59
            flagsrequired   => { catalogue => 1 },
61
        }
60
        }
62
    );
61
    );
(-)a/cataloguing/value_builder/macles.pl (-1 lines)
Lines 162-168 my $launcher = sub { Link Here
162
        = get_template_and_user({template_name => "cataloguing/value_builder/macles.tt",
162
        = get_template_and_user({template_name => "cataloguing/value_builder/macles.tt",
163
                    query => $input,
163
                    query => $input,
164
                    type => "intranet",
164
                    type => "intranet",
165
                    authnotrequired => 0,
166
                    flagsrequired => {editcatalogue => '*'},
165
                    flagsrequired => {editcatalogue => '*'},
167
                    debug => 1,
166
                    debug => 1,
168
                    });
167
                    });
(-)a/cataloguing/value_builder/marc21_field_006.pl (-1 lines)
Lines 60-66 my $launcher = sub { Link Here
60
        {   template_name   => "cataloguing/value_builder/marc21_field_006.tt",
60
        {   template_name   => "cataloguing/value_builder/marc21_field_006.tt",
61
            query           => $input,
61
            query           => $input,
62
            type            => "intranet",
62
            type            => "intranet",
63
            authnotrequired => 0,
64
            flagsrequired   => { editcatalogue => '*' },
63
            flagsrequired   => { editcatalogue => '*' },
65
            debug           => 1,
64
            debug           => 1,
66
        }
65
        }
(-)a/cataloguing/value_builder/marc21_field_007.pl (-1 lines)
Lines 59-65 my $launcher = sub { Link Here
59
        {   template_name   => "cataloguing/value_builder/marc21_field_007.tt",
59
        {   template_name   => "cataloguing/value_builder/marc21_field_007.tt",
60
            query           => $input,
60
            query           => $input,
61
            type            => "intranet",
61
            type            => "intranet",
62
            authnotrequired => 0,
63
            flagsrequired   => { editcatalogue => '*' },
62
            flagsrequired   => { editcatalogue => '*' },
64
            debug           => 1,
63
            debug           => 1,
65
        }
64
        }
(-)a/cataloguing/value_builder/marc21_field_008.pl (-1 lines)
Lines 139-145 my $launcher = sub { Link Here
139
        {   template_name   => "cataloguing/value_builder/marc21_field_008.tt",
139
        {   template_name   => "cataloguing/value_builder/marc21_field_008.tt",
140
            query           => $input,
140
            query           => $input,
141
            type            => "intranet",
141
            type            => "intranet",
142
            authnotrequired => 0,
143
            flagsrequired   => { editcatalogue => '*' },
142
            flagsrequired   => { editcatalogue => '*' },
144
            debug           => 1,
143
            debug           => 1,
145
        }
144
        }
(-)a/cataloguing/value_builder/marc21_field_008_authorities.pl (-1 lines)
Lines 81-87 my $launcher = sub { Link Here
81
    = get_template_and_user({template_name => "cataloguing/value_builder/marc21_field_008_authorities.tt",
81
    = get_template_and_user({template_name => "cataloguing/value_builder/marc21_field_008_authorities.tt",
82
                 query => $input,
82
                 query => $input,
83
                 type => "intranet",
83
                 type => "intranet",
84
                 authnotrequired => 0,
85
                 flagsrequired => {editcatalogue => '*'},
84
                 flagsrequired => {editcatalogue => '*'},
86
                 debug => 1,
85
                 debug => 1,
87
                 });
86
                 });
(-)a/cataloguing/value_builder/marc21_field_008_classifications.pl (-1 lines)
Lines 70-76 my $launcher = sub { Link Here
70
        template_name => "cataloguing/value_builder/marc21_field_008_classifications.tt",
70
        template_name => "cataloguing/value_builder/marc21_field_008_classifications.tt",
71
        query => $input,
71
        query => $input,
72
        type => "intranet",
72
        type => "intranet",
73
        authnotrequired => 0,
74
        flagsrequired => { editcatalogue => '*' },
73
        flagsrequired => { editcatalogue => '*' },
75
        debug => 1,
74
        debug => 1,
76
    });
75
    });
(-)a/cataloguing/value_builder/marc21_leader.pl (-1 lines)
Lines 63-69 my $launcher = sub { Link Here
63
        {   template_name   => "cataloguing/value_builder/marc21_leader.tt",
63
        {   template_name   => "cataloguing/value_builder/marc21_leader.tt",
64
            query           => $input,
64
            query           => $input,
65
            type            => "intranet",
65
            type            => "intranet",
66
            authnotrequired => 0,
67
            flagsrequired   => { editcatalogue => '*' },
66
            flagsrequired   => { editcatalogue => '*' },
68
            debug           => 1,
67
            debug           => 1,
69
        }
68
        }
(-)a/cataloguing/value_builder/marc21_leader_authorities.pl (-1 lines)
Lines 66-72 my $launcher = sub { Link Here
66
        {   template_name   => "cataloguing/value_builder/marc21_leader_authorities.tt",
66
        {   template_name   => "cataloguing/value_builder/marc21_leader_authorities.tt",
67
            query           => $input,
67
            query           => $input,
68
            type            => "intranet",
68
            type            => "intranet",
69
            authnotrequired => 0,
70
            flagsrequired   => { editcatalogue => '*' },
69
            flagsrequired   => { editcatalogue => '*' },
71
            debug           => 1,
70
            debug           => 1,
72
        }
71
        }
(-)a/cataloguing/value_builder/marc21_linking_section.pl (-3 lines)
Lines 78-84 my $launcher = sub { Link Here
78
            {   template_name   => "cataloguing/value_builder/marc21_linking_section.tt",
78
            {   template_name   => "cataloguing/value_builder/marc21_linking_section.tt",
79
                query           => $query,
79
                query           => $query,
80
                type            => "intranet",
80
                type            => "intranet",
81
                authnotrequired => 0,
82
                flagsrequired   => { editcatalogue => '*' },
81
                flagsrequired   => { editcatalogue => '*' },
83
                debug           => 1,
82
                debug           => 1,
84
            }
83
            }
Lines 199-205 my $launcher = sub { Link Here
199
            {   template_name   => "cataloguing/value_builder/marc21_linking_section.tt",
198
            {   template_name   => "cataloguing/value_builder/marc21_linking_section.tt",
200
                query           => $query,
199
                query           => $query,
201
                type            => 'intranet',
200
                type            => 'intranet',
202
                authnotrequired => 0,
203
                debug           => 1,
201
                debug           => 1,
204
            }
202
            }
205
        );
203
        );
Lines 307-313 my $launcher = sub { Link Here
307
            {   template_name   => "cataloguing/value_builder/marc21_linking_section.tt",
305
            {   template_name   => "cataloguing/value_builder/marc21_linking_section.tt",
308
                query           => $query,
306
                query           => $query,
309
                type            => "intranet",
307
                type            => "intranet",
310
                authnotrequired => 0,
311
            }
308
            }
312
        );
309
        );
313
310
(-)a/cataloguing/value_builder/normarc_field_007.pl (-1 lines)
Lines 55-61 my ($template, $loggedinuser, $cookie) Link Here
55
    = get_template_and_user({template_name => "cataloguing/value_builder/normarc_field_007.tt",
55
    = get_template_and_user({template_name => "cataloguing/value_builder/normarc_field_007.tt",
56
			     query => $input,
56
			     query => $input,
57
			     type => "intranet",
57
			     type => "intranet",
58
			     authnotrequired => 0,
59
			     flagsrequired => {editcatalogue => 1},
58
			     flagsrequired => {editcatalogue => 1},
60
			     debug => 1,
59
			     debug => 1,
61
			     });
60
			     });
(-)a/cataloguing/value_builder/normarc_field_008.pl (-1 lines)
Lines 79-85 sub plugin { Link Here
79
        {   template_name   => "cataloguing/value_builder/normarc_field_008.tt",
79
        {   template_name   => "cataloguing/value_builder/normarc_field_008.tt",
80
            query           => $input,
80
            query           => $input,
81
            type            => "intranet",
81
            type            => "intranet",
82
            authnotrequired => 0,
83
            flagsrequired   => { editcatalogue => 1 },
82
            flagsrequired   => { editcatalogue => 1 },
84
            debug           => 1,
83
            debug           => 1,
85
        }
84
        }
(-)a/cataloguing/value_builder/normarc_leader.pl (-1 lines)
Lines 64-70 my ($template, $loggedinuser, $cookie) Link Here
64
    = get_template_and_user({template_name => "cataloguing/value_builder/normarc_leader.tt",
64
    = get_template_and_user({template_name => "cataloguing/value_builder/normarc_leader.tt",
65
			     query => $input,
65
			     query => $input,
66
			     type => "intranet",
66
			     type => "intranet",
67
			     authnotrequired => 0,
68
			     flagsrequired => {editcatalogue => 1},
67
			     flagsrequired => {editcatalogue => 1},
69
			     debug => 1,
68
			     debug => 1,
70
			     });
69
			     });
(-)a/cataloguing/value_builder/stocknumberAV.pl (-1 lines)
Lines 75-81 my $launcher = sub { Link Here
75
        {   template_name   => "cataloguing/value_builder/ajax.tt",
75
        {   template_name   => "cataloguing/value_builder/ajax.tt",
76
            query           => $input,
76
            query           => $input,
77
            type            => "intranet",
77
            type            => "intranet",
78
            authnotrequired => 0,
79
            flagsrequired   => { editcatalogue => '*' },
78
            flagsrequired   => { editcatalogue => '*' },
80
            debug           => 1,
79
            debug           => 1,
81
        }
80
        }
(-)a/cataloguing/value_builder/stocknumberam123.pl (-1 lines)
Lines 69-75 my $launcher = sub { Link Here
69
        template_name   => "cataloguing/value_builder/ajax.tt",
69
        template_name   => "cataloguing/value_builder/ajax.tt",
70
        query           => $input,
70
        query           => $input,
71
        type            => "intranet",
71
        type            => "intranet",
72
        authnotrequired => 0,
73
        flagsrequired   => {editcatalogue => '*'},
72
        flagsrequired   => {editcatalogue => '*'},
74
        debug           => 1,
73
        debug           => 1,
75
    });
74
    });
(-)a/cataloguing/value_builder/unimarc_field_010.pl (-1 lines)
Lines 60-66 sub plugin { Link Here
60
            = get_template_and_user({template_name => "cataloguing/value_builder/ajax.tt",
60
            = get_template_and_user({template_name => "cataloguing/value_builder/ajax.tt",
61
                                    query => $input,
61
                                    query => $input,
62
                                    type => "intranet",
62
                                    type => "intranet",
63
                                    authnotrequired => 0,
64
                                    flagsrequired => {editcatalogue => '*'},
63
                                    flagsrequired => {editcatalogue => '*'},
65
                                    debug => 1,
64
                                    debug => 1,
66
                                    });
65
                                    });
(-)a/cataloguing/value_builder/unimarc_field_100.pl (-1 lines)
Lines 65-71 sub plugin { Link Here
65
            template_name => "cataloguing/value_builder/unimarc_field_100.tt",
65
            template_name => "cataloguing/value_builder/unimarc_field_100.tt",
66
            query         => $input,
66
            query         => $input,
67
            type          => "intranet",
67
            type          => "intranet",
68
            authnotrequired => 0,
69
            flagsrequired   => { editcatalogue => '*' },
68
            flagsrequired   => { editcatalogue => '*' },
70
            debug           => 1,
69
            debug           => 1,
71
        }
70
        }
(-)a/cataloguing/value_builder/unimarc_field_100_authorities.pl (-1 lines)
Lines 62-68 sub plugin { Link Here
62
            template_name => "cataloguing/value_builder/unimarc_field_100_authorities.tt",
62
            template_name => "cataloguing/value_builder/unimarc_field_100_authorities.tt",
63
            query         => $input,
63
            query         => $input,
64
            type          => "intranet",
64
            type          => "intranet",
65
            authnotrequired => 0,
66
            flagsrequired   => { editcatalogue => '*' },
65
            flagsrequired   => { editcatalogue => '*' },
67
            debug           => 1,
66
            debug           => 1,
68
        }
67
        }
(-)a/cataloguing/value_builder/unimarc_field_105.pl (-1 lines)
Lines 56-62 sub plugin { Link Here
56
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_105.tt",
56
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_105.tt",
57
			     query => $input,
57
			     query => $input,
58
			     type => "intranet",
58
			     type => "intranet",
59
			     authnotrequired => 0,
60
			     flagsrequired => {editcatalogue => '*'},
59
			     flagsrequired => {editcatalogue => '*'},
61
			     debug => 1,
60
			     debug => 1,
62
			     });
61
			     });
(-)a/cataloguing/value_builder/unimarc_field_106.pl (-1 lines)
Lines 52-58 my ($template, $loggedinuser, $cookie) Link Here
52
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_106.tt",
52
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_106.tt",
53
			     query => $input,
53
			     query => $input,
54
			     type => "intranet",
54
			     type => "intranet",
55
			     authnotrequired => 0,
56
			     flagsrequired => {editcatalogue => '*'},
55
			     flagsrequired => {editcatalogue => '*'},
57
			     debug => 1,
56
			     debug => 1,
58
			     });
57
			     });
(-)a/cataloguing/value_builder/unimarc_field_110.pl (-1 lines)
Lines 55-61 my ($template, $loggedinuser, $cookie) Link Here
55
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_110.tt",
55
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_110.tt",
56
			     query => $input,
56
			     query => $input,
57
			     type => "intranet",
57
			     type => "intranet",
58
			     authnotrequired => 0,
59
			     flagsrequired => {editcatalogue => '*'},
58
			     flagsrequired => {editcatalogue => '*'},
60
			     debug => 1,
59
			     debug => 1,
61
			     });
60
			     });
(-)a/cataloguing/value_builder/unimarc_field_115a.pl (-1 lines)
Lines 62-68 sub plugin { Link Here
62
              "cataloguing/value_builder/unimarc_field_115a.tt",
62
              "cataloguing/value_builder/unimarc_field_115a.tt",
63
            query           => $input,
63
            query           => $input,
64
            type            => "intranet",
64
            type            => "intranet",
65
            authnotrequired => 0,
66
            flagsrequired   => { editcatalogue => '*' },
65
            flagsrequired   => { editcatalogue => '*' },
67
            debug           => 1,
66
            debug           => 1,
68
        }
67
        }
(-)a/cataloguing/value_builder/unimarc_field_115b.pl (-1 lines)
Lines 56-62 sub plugin { Link Here
56
              "cataloguing/value_builder/unimarc_field_115b.tt",
56
              "cataloguing/value_builder/unimarc_field_115b.tt",
57
            query           => $input,
57
            query           => $input,
58
            type            => "intranet",
58
            type            => "intranet",
59
            authnotrequired => 0,
60
            flagsrequired   => { editcatalogue => '*' },
59
            flagsrequired   => { editcatalogue => '*' },
61
            debug           => 1,
60
            debug           => 1,
62
        }
61
        }
(-)a/cataloguing/value_builder/unimarc_field_116.pl (-1 lines)
Lines 55-61 sub plugin { Link Here
55
            template_name => "cataloguing/value_builder/unimarc_field_116.tt",
55
            template_name => "cataloguing/value_builder/unimarc_field_116.tt",
56
            query         => $input,
56
            query         => $input,
57
            type          => "intranet",
57
            type          => "intranet",
58
            authnotrequired => 0,
59
            flagsrequired   => { editcatalogue => '*' },
58
            flagsrequired   => { editcatalogue => '*' },
60
            debug           => 1,
59
            debug           => 1,
61
        }
60
        }
(-)a/cataloguing/value_builder/unimarc_field_117.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_117.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_117.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_120.pl (-1 lines)
Lines 58-64 my ($template, $loggedinuser, $cookie) Link Here
58
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_120.tt",
58
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_120.tt",
59
			     query => $input,
59
			     query => $input,
60
			     type => "intranet",
60
			     type => "intranet",
61
			     authnotrequired => 0,
62
			     flagsrequired => {editcatalogue => '*'},
61
			     flagsrequired => {editcatalogue => '*'},
63
			     debug => 1,
62
			     debug => 1,
64
			     });
63
			     });
(-)a/cataloguing/value_builder/unimarc_field_121a.pl (-1 lines)
Lines 57-63 my ($template, $loggedinuser, $cookie) Link Here
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_121a.tt",
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_121a.tt",
58
			     query => $input,
58
			     query => $input,
59
			     type => "intranet",
59
			     type => "intranet",
60
			     authnotrequired => 0,
61
			     flagsrequired => {editcatalogue => '*'},
60
			     flagsrequired => {editcatalogue => '*'},
62
			     debug => 1,
61
			     debug => 1,
63
			     });
62
			     });
(-)a/cataloguing/value_builder/unimarc_field_121b.pl (-1 lines)
Lines 53-59 my ($template, $loggedinuser, $cookie) Link Here
53
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_121b.tt",
53
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_121b.tt",
54
			     query => $input,
54
			     query => $input,
55
			     type => "intranet",
55
			     type => "intranet",
56
			     authnotrequired => 0,
57
			     flagsrequired => {editcatalogue => '*'},
56
			     flagsrequired => {editcatalogue => '*'},
58
			     debug => 1,
57
			     debug => 1,
59
			     });
58
			     });
(-)a/cataloguing/value_builder/unimarc_field_122.pl (-1 lines)
Lines 53-59 my ($template, $loggedinuser, $cookie) Link Here
53
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_122.tt",
53
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_122.tt",
54
			     query => $input,
54
			     query => $input,
55
			     type => "intranet",
55
			     type => "intranet",
56
			     authnotrequired => 0,
57
			     flagsrequired => {editcatalogue => '*'},
56
			     flagsrequired => {editcatalogue => '*'},
58
			     debug => 1,
57
			     debug => 1,
59
			     });
58
			     });
(-)a/cataloguing/value_builder/unimarc_field_123a.pl (-1 lines)
Lines 53-59 my ($template, $loggedinuser, $cookie) Link Here
53
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123a.tt",
53
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123a.tt",
54
			     query => $input,
54
			     query => $input,
55
			     type => "intranet",
55
			     type => "intranet",
56
			     authnotrequired => 0,
57
			     flagsrequired => {editcatalogue => '*'},
56
			     flagsrequired => {editcatalogue => '*'},
58
			     debug => 1,
57
			     debug => 1,
59
			     });
58
			     });
(-)a/cataloguing/value_builder/unimarc_field_123d.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_123e.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_123f.pl (-1 lines)
Lines 55-61 my ($template, $loggedinuser, $cookie) Link Here
55
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt",
55
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt",
56
			     query => $input,
56
			     query => $input,
57
			     type => "intranet",
57
			     type => "intranet",
58
			     authnotrequired => 0,
59
			     flagsrequired => {editcatalogue => '*'},
58
			     flagsrequired => {editcatalogue => '*'},
60
			     debug => 1,
59
			     debug => 1,
61
			     });
60
			     });
(-)a/cataloguing/value_builder/unimarc_field_123g.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123g.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_123i.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123i_j.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_123i_j.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_123j.pl (-1 lines)
Lines 57-63 sub plugin { Link Here
57
            template_name => "cataloguing/value_builder/unimarc_field_123i_j.tt",
57
            template_name => "cataloguing/value_builder/unimarc_field_123i_j.tt",
58
			query => $input,
58
			query => $input,
59
			type => "intranet",
59
			type => "intranet",
60
			authnotrequired => 0,
61
			flagsrequired => {editcatalogue => '*'},
60
			flagsrequired => {editcatalogue => '*'},
62
			debug => 1,
61
			debug => 1,
63
		}
62
		}
(-)a/cataloguing/value_builder/unimarc_field_124.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_124a.pl (-1 lines)
Lines 55-61 my ($input) = @_; Link Here
55
            template_name   => "cataloguing/value_builder/unimarc_field_124a.tt",
55
            template_name   => "cataloguing/value_builder/unimarc_field_124a.tt",
56
            query           => $input,
56
            query           => $input,
57
            type            => "intranet",
57
            type            => "intranet",
58
            authnotrequired => 0,
59
            flagsrequired   => { editcatalogue => '*' },
58
            flagsrequired   => { editcatalogue => '*' },
60
            debug           => 1,
59
            debug           => 1,
61
        }
60
        }
(-)a/cataloguing/value_builder/unimarc_field_124b.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124b.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124b.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_124c.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124c.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124c.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_124d.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124d.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124d.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_124e.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124e.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124e.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_124f.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124f.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124f.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_124g.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124g.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_124g.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_125.pl (-1 lines)
Lines 60-66 my ($template, $loggedinuser, $cookie) Link Here
60
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt",
60
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt",
61
			     query => $input,
61
			     query => $input,
62
			     type => "intranet",
62
			     type => "intranet",
63
			     authnotrequired => 0,
64
			     flagsrequired => {editcatalogue => '*'},
63
			     flagsrequired => {editcatalogue => '*'},
65
			     debug => 1,
64
			     debug => 1,
66
			     });
65
			     });
(-)a/cataloguing/value_builder/unimarc_field_125a.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_125a.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_125a.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_125b.pl (-1 lines)
Lines 57-63 my ($template, $loggedinuser, $cookie) Link Here
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_125b.tt",
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_125b.tt",
58
			     query => $input,
58
			     query => $input,
59
			     type => "intranet",
59
			     type => "intranet",
60
			     authnotrequired => 0,
61
			     flagsrequired => {editcatalogue => '*'},
60
			     flagsrequired => {editcatalogue => '*'},
62
			     debug => 1,
61
			     debug => 1,
63
			     });
62
			     });
(-)a/cataloguing/value_builder/unimarc_field_126.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_100.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_126a.pl (-1 lines)
Lines 57-63 my ($template, $loggedinuser, $cookie) Link Here
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_126a.tt",
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_126a.tt",
58
			     query => $input,
58
			     query => $input,
59
			     type => "intranet",
59
			     type => "intranet",
60
			     authnotrequired => 0,
61
			     flagsrequired => {editcatalogue => '*'},
60
			     flagsrequired => {editcatalogue => '*'},
62
			     debug => 1,
61
			     debug => 1,
63
			     });
62
			     });
(-)a/cataloguing/value_builder/unimarc_field_126b.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_126b.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_126b.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_127.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_127.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_127.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_128a.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128a.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128a.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_128b.pl (-1 lines)
Lines 57-63 my ($template, $loggedinuser, $cookie) Link Here
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128b.tt",
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128b.tt",
58
			     query => $input,
58
			     query => $input,
59
			     type => "intranet",
59
			     type => "intranet",
60
			     authnotrequired => 0,
61
			     flagsrequired => {editcatalogue => '*'},
60
			     flagsrequired => {editcatalogue => '*'},
62
			     debug => 1,
61
			     debug => 1,
63
			     });
62
			     });
(-)a/cataloguing/value_builder/unimarc_field_128c.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128c.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_128c.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_130.pl (-1 lines)
Lines 58-64 my ($template, $loggedinuser, $cookie) Link Here
58
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_130.tt",
58
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_130.tt",
59
			     query => $input,
59
			     query => $input,
60
			     type => "intranet",
60
			     type => "intranet",
61
			     authnotrequired => 0,
62
			     flagsrequired => {editcatalogue => '*'},
61
			     flagsrequired => {editcatalogue => '*'},
63
			     debug => 1,
62
			     debug => 1,
64
			     });
63
			     });
(-)a/cataloguing/value_builder/unimarc_field_135a.pl (-1 lines)
Lines 57-63 my ($template, $loggedinuser, $cookie) Link Here
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_135a.tt",
57
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_135a.tt",
58
			     query => $input,
58
			     query => $input,
59
			     type => "intranet",
59
			     type => "intranet",
60
			     authnotrequired => 0,
61
			     flagsrequired => {editcatalogue => '*'},
60
			     flagsrequired => {editcatalogue => '*'},
62
			     debug => 1,
61
			     debug => 1,
63
			     });
62
			     });
(-)a/cataloguing/value_builder/unimarc_field_140.pl (-1 lines)
Lines 58-64 my ($template, $loggedinuser, $cookie) Link Here
58
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_140.tt",
58
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_140.tt",
59
			     query => $input,
59
			     query => $input,
60
			     type => "intranet",
60
			     type => "intranet",
61
			     authnotrequired => 0,
62
			     flagsrequired => {editcatalogue => '*'},
61
			     flagsrequired => {editcatalogue => '*'},
63
			     debug => 1,
62
			     debug => 1,
64
			     });
63
			     });
(-)a/cataloguing/value_builder/unimarc_field_141.pl (-1 lines)
Lines 54-60 my ($template, $loggedinuser, $cookie) Link Here
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_141.tt",
54
    = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_141.tt",
55
			     query => $input,
55
			     query => $input,
56
			     type => "intranet",
56
			     type => "intranet",
57
			     authnotrequired => 0,
58
			     flagsrequired => {editcatalogue => '*'},
57
			     flagsrequired => {editcatalogue => '*'},
59
			     debug => 1,
58
			     debug => 1,
60
			     });
59
			     });
(-)a/cataloguing/value_builder/unimarc_field_210c.pl (-2 lines)
Lines 94-100 my ($input) = @_; Link Here
94
            = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_210c.tt",
94
            = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_210c.tt",
95
                    query => $query,
95
                    query => $query,
96
                    type => 'intranet',
96
                    type => 'intranet',
97
                    authnotrequired => 0,
98
                    flagsrequired => {editcatalogue => '*'},
97
                    flagsrequired => {editcatalogue => '*'},
99
                    debug => 1,
98
                    debug => 1,
100
                    });
99
                    });
Lines 125-131 my ($input) = @_; Link Here
125
            = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_210c.tt",
124
            = get_template_and_user({template_name => "cataloguing/value_builder/unimarc_field_210c.tt",
126
                    query => $query,
125
                    query => $query,
127
                    type => 'intranet',
126
                    type => 'intranet',
128
                    authnotrequired => 0,
129
                    flagsrequired => {editcatalogue => '*'},
127
                    flagsrequired => {editcatalogue => '*'},
130
                    debug => 1,
128
                    debug => 1,
131
                    });
129
                    });
(-)a/cataloguing/value_builder/unimarc_field_210c_bis.pl (-1 lines)
Lines 74-80 sub plugin { Link Here
74
        {   template_name   => "cataloguing/value_builder/unimarc_field_210c_bis.tt",
74
        {   template_name   => "cataloguing/value_builder/unimarc_field_210c_bis.tt",
75
            query           => $input,
75
            query           => $input,
76
            type            => "intranet",
76
            type            => "intranet",
77
            authnotrequired => 0,
78
            flagsrequired   => { editcatalogue => '*' },
77
            flagsrequired   => { editcatalogue => '*' },
79
            debug           => 1,
78
            debug           => 1,
80
        }
79
        }
(-)a/cataloguing/value_builder/unimarc_field_225a.pl (-1 lines)
Lines 103-109 sub plugin { Link Here
103
              "cataloguing/value_builder/unimarc_field_225a.tt",
103
              "cataloguing/value_builder/unimarc_field_225a.tt",
104
            query           => $input,
104
            query           => $input,
105
            type            => "intranet",
105
            type            => "intranet",
106
            authnotrequired => 0,
107
            flagsrequired   => { editcatalogue => '*' },
106
            flagsrequired   => { editcatalogue => '*' },
108
            debug           => 1,
107
            debug           => 1,
109
        }
108
        }
(-)a/cataloguing/value_builder/unimarc_field_225a_bis.pl (-1 lines)
Lines 52-58 sub plugin { Link Here
52
        template_name   => "cataloguing/value_builder/unimarc_field_225a_bis.tt",
52
        template_name   => "cataloguing/value_builder/unimarc_field_225a_bis.tt",
53
        query           => $input,
53
        query           => $input,
54
        type            => "intranet",
54
        type            => "intranet",
55
        authnotrequired => 0,
56
        flagsrequired   => { editcatalogue => '*' },
55
        flagsrequired   => { editcatalogue => '*' },
57
        debug           => 1,
56
        debug           => 1,
58
    });
57
    });
(-)a/cataloguing/value_builder/unimarc_field_4XX.pl (-3 lines)
Lines 89-95 sub plugin { Link Here
89
                  "cataloguing/value_builder/unimarc_field_4XX.tt",
89
                  "cataloguing/value_builder/unimarc_field_4XX.tt",
90
                query           => $query,
90
                query           => $query,
91
                type            => "intranet",
91
                type            => "intranet",
92
                authnotrequired => 0,
93
                flagsrequired   => { editcatalogue => '*' },
92
                flagsrequired   => { editcatalogue => '*' },
94
                debug           => 1,
93
                debug           => 1,
95
            }
94
            }
Lines 383-389 sub plugin { Link Here
383
                  "cataloguing/value_builder/unimarc_field_4XX.tt",
382
                  "cataloguing/value_builder/unimarc_field_4XX.tt",
384
                query           => $query,
383
                query           => $query,
385
                type            => 'intranet',
384
                type            => 'intranet',
386
                authnotrequired => 0,
387
                debug           => 1,
385
                debug           => 1,
388
            }
386
            }
389
        );
387
        );
Lines 512-518 sub plugin { Link Here
512
                  "cataloguing/value_builder/unimarc_field_4XX.tt",
510
                  "cataloguing/value_builder/unimarc_field_4XX.tt",
513
                query           => $query,
511
                query           => $query,
514
                type            => "intranet",
512
                type            => "intranet",
515
                authnotrequired => 0,
516
            }
513
            }
517
        );
514
        );
518
515
(-)a/cataloguing/value_builder/unimarc_field_686a.pl (-1 lines)
Lines 56-62 my ($input) = @_; Link Here
56
            template_name   => "cataloguing/value_builder/unimarc_field_686a.tt",
56
            template_name   => "cataloguing/value_builder/unimarc_field_686a.tt",
57
            query           => $input,
57
            query           => $input,
58
            type            => "intranet",
58
            type            => "intranet",
59
            authnotrequired => 0,
60
            flagsrequired   => { editcatalogue => '*' },
59
            flagsrequired   => { editcatalogue => '*' },
61
            debug           => 1,
60
            debug           => 1,
62
        }
61
        }
(-)a/cataloguing/value_builder/unimarc_field_700-4.pl (-1 lines)
Lines 59-65 my ($input) = @_; Link Here
59
            template_name   => "cataloguing/value_builder/unimarc_field_700-4.tt",
59
            template_name   => "cataloguing/value_builder/unimarc_field_700-4.tt",
60
            query           => $input,
60
            query           => $input,
61
            type            => "intranet",
61
            type            => "intranet",
62
            authnotrequired => 0,
63
            flagsrequired   => { editcatalogue => '*' },
62
            flagsrequired   => { editcatalogue => '*' },
64
            debug           => 1,
63
            debug           => 1,
65
        }
64
        }
(-)a/cataloguing/value_builder/unimarc_leader.pl (-1 lines)
Lines 64-70 sub plugin { Link Here
64
            template_name   => "cataloguing/value_builder/unimarc_leader.tt",
64
            template_name   => "cataloguing/value_builder/unimarc_leader.tt",
65
            query           => $input,
65
            query           => $input,
66
            type            => "intranet",
66
            type            => "intranet",
67
            authnotrequired => 0,
68
            flagsrequired   => { editcatalogue => '*' },
67
            flagsrequired   => { editcatalogue => '*' },
69
            debug           => 1,
68
            debug           => 1,
70
        }
69
        }
(-)a/circ/add_message.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
31
    {   template_name   => "circ/circulation.tt",
31
    {   template_name   => "circ/circulation.tt",
32
        query           => $input,
32
        query           => $input,
33
        type            => "intranet",
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired   => { borrowers => 'edit_borrowers' },
34
        flagsrequired   => { borrowers => 'edit_borrowers' },
36
        debug           => 1,
35
        debug           => 1,
37
    }
36
    }
(-)a/circ/article-request-slip.pl (-1 lines)
Lines 37-43 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
37
        template_name   => "circ/printslip.tt",
37
        template_name   => "circ/printslip.tt",
38
        query           => $cgi,
38
        query           => $cgi,
39
        type            => "intranet",
39
        type            => "intranet",
40
        authnotrequired => 0,
41
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
40
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
42
    }
41
    }
43
);
42
);
(-)a/circ/article-requests.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
31
        template_name   => "circ/article-requests.tt",
31
        template_name   => "circ/article-requests.tt",
32
        query           => $query,
32
        query           => $query,
33
        type            => "intranet",
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
34
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
36
    }
35
    }
37
);
36
);
(-)a/circ/bookcount.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        template_name   => "circ/bookcount.tt",
45
        template_name   => "circ/bookcount.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
48
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
50
        debug           => 1,
49
        debug           => 1,
51
    }
50
    }
(-)a/circ/branchoverdues.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user({ Link Here
45
        template_name   => "circ/branchoverdues.tt",
45
        template_name   => "circ/branchoverdues.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
48
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
50
        debug           => 1,
49
        debug           => 1,
51
});
50
});
(-)a/circ/branchtransfers.pl (-1 lines)
Lines 59-65 my ($template, $user, $cookie, $flags ) = get_template_and_user( Link Here
59
        template_name   => "circ/branchtransfers.tt",
59
        template_name   => "circ/branchtransfers.tt",
60
        query           => $query,
60
        query           => $query,
61
        type            => "intranet",
61
        type            => "intranet",
62
        authnotrequired => 0,
63
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
62
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
64
    }
63
    }
65
);
64
);
(-)a/circ/checkout-notes.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "circ/checkout-notes.tt",
32
        template_name   => "circ/checkout-notes.tt",
33
        query           => $query,
33
        query           => $query,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired   => { circulate => "manage_checkout_notes" },
35
        flagsrequired   => { circulate => "manage_checkout_notes" },
37
    }
36
    }
38
);
37
);
(-)a/circ/circulation-home.pl (-1 lines)
Lines 30-36 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( Link Here
30
        template_name   => "circ/circulation-home.tt",
30
        template_name   => "circ/circulation-home.tt",
31
        query           => $query,
31
        query           => $query,
32
        type            => "intranet",
32
        type            => "intranet",
33
        authnotrequired => 0,
34
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
33
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
35
    }
34
    }
36
);
35
);
(-)a/circ/circulation.pl (-1 lines)
Lines 138-144 my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( Link Here
138
        template_name   => $template_name,
138
        template_name   => $template_name,
139
        query           => $query,
139
        query           => $query,
140
        type            => "intranet",
140
        type            => "intranet",
141
        authnotrequired => 0,
142
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
141
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
143
    }
142
    }
144
);
143
);
(-)a/circ/del_message.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
31
    {   template_name   => "circ/circulation.tt",
31
    {   template_name   => "circ/circulation.tt",
32
        query           => $input,
32
        query           => $input,
33
        type            => "intranet",
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired   => { borrowers => 'edit_borrowers' },
34
        flagsrequired   => { borrowers => 'edit_borrowers' },
36
        debug           => 1,
35
        debug           => 1,
37
    }
36
    }
(-)a/circ/hold-transfer-slip.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        template_name   => "circ/printslip.tt",
45
        template_name   => "circ/printslip.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
48
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
50
        debug           => $debug,
49
        debug           => $debug,
51
    }
50
    }
(-)a/circ/offline-mf.pl (-1 lines)
Lines 27-33 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
27
        template_name   => "circ/offline-mf.tt",
27
        template_name   => "circ/offline-mf.tt",
28
        query           => $query,
28
        query           => $query,
29
        type            => "intranet",
29
        type            => "intranet",
30
        authnotrequired => 0,
31
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
30
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
32
    }
31
    }
33
);
32
);
(-)a/circ/offline.pl (-1 lines)
Lines 29-35 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
29
        template_name   => "circ/offline.tt",
29
        template_name   => "circ/offline.tt",
30
        query           => $query,
30
        query           => $query,
31
        type            => "intranet",
31
        type            => "intranet",
32
        authnotrequired => 0,
33
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
32
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
34
    }
33
    }
35
);
34
);
(-)a/circ/on-site_checkouts.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
31
        template_name   => "circ/on-site_checkouts.tt",
31
        template_name   => "circ/on-site_checkouts.tt",
32
        query           => $cgi,
32
        query           => $cgi,
33
        type            => "intranet",
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired => {circulate => "circulate_remaining_permissions"},
34
        flagsrequired => {circulate => "circulate_remaining_permissions"},
36
    }
35
    }
37
);
36
);
(-)a/circ/overdue.pl (-1 lines)
Lines 71-77 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
71
        template_name   => "circ/overdue.tt",
71
        template_name   => "circ/overdue.tt",
72
        query           => $input,
72
        query           => $input,
73
        type            => "intranet",
73
        type            => "intranet",
74
        authnotrequired => 0,
75
        flagsrequired   => { circulate => "overdues_report" },
74
        flagsrequired   => { circulate => "overdues_report" },
76
        debug           => 1,
75
        debug           => 1,
77
    }
76
    }
(-)a/circ/pendingreserves.pl (-1 lines)
Lines 46-52 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
46
        template_name   => "circ/pendingreserves.tt",
46
        template_name   => "circ/pendingreserves.tt",
47
        query           => $input,
47
        query           => $input,
48
        type            => "intranet",
48
        type            => "intranet",
49
        authnotrequired => 0,
50
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
49
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
51
        debug           => 1,
50
        debug           => 1,
52
    }
51
    }
(-)a/circ/renew.pl (-1 lines)
Lines 36-42 my ( $template, $librarian, $cookie, $flags ) = get_template_and_user( Link Here
36
        template_name   => "circ/renew.tt",
36
        template_name   => "circ/renew.tt",
37
        query           => $cgi,
37
        query           => $cgi,
38
        type            => "intranet",
38
        type            => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
39
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
41
    }
40
    }
42
);
41
);
(-)a/circ/request-article.pl (-1 lines)
Lines 35-41 my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user( Link Here
35
        template_name   => "circ/request-article.tt",
35
        template_name   => "circ/request-article.tt",
36
        query           => $cgi,
36
        query           => $cgi,
37
        type            => "intranet",
37
        type            => "intranet",
38
        authnotrequired => 0,
39
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
38
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
40
    }
39
    }
41
);
40
);
(-)a/circ/reserveratios.pl (-1 lines)
Lines 43-49 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
43
        template_name   => "circ/reserveratios.tt",
43
        template_name   => "circ/reserveratios.tt",
44
        query           => $input,
44
        query           => $input,
45
        type            => "intranet",
45
        type            => "intranet",
46
        authnotrequired => 0,
47
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
46
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
48
        debug           => 1,
47
        debug           => 1,
49
    }
48
    }
(-)a/circ/returns.pl (-1 lines)
Lines 63-69 my ( $template, $librarian, $cookie, $flags ) = get_template_and_user( Link Here
63
        template_name   => "circ/returns.tt",
63
        template_name   => "circ/returns.tt",
64
        query           => $query,
64
        query           => $query,
65
        type            => "intranet",
65
        type            => "intranet",
66
        authnotrequired => 0,
67
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
66
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
68
    }
67
    }
69
);
68
);
(-)a/circ/selectbranchprinter.pl (-1 lines)
Lines 37-43 my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user({ Link Here
37
    query           => $query,
37
    query           => $query,
38
    type            => "intranet",
38
    type            => "intranet",
39
    debug           => 1,
39
    debug           => 1,
40
    authnotrequired => 0,
41
    flagsrequired   => { catalogue => 1, },
40
    flagsrequired   => { catalogue => 1, },
42
});
41
});
43
42
(-)a/circ/transfer-slip.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        template_name   => "circ/printslip.tt",
45
        template_name   => "circ/printslip.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
48
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
50
        debug           => $debug,
49
        debug           => $debug,
51
    }
50
    }
(-)a/circ/transferstoreceive.pl (-1 lines)
Lines 49-55 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
49
        template_name   => "circ/transferstoreceive.tt",
49
        template_name   => "circ/transferstoreceive.tt",
50
        query           => $input,
50
        query           => $input,
51
        type            => "intranet",
51
        type            => "intranet",
52
        authnotrequired => 0,
53
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
52
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
54
        debug           => 1,
53
        debug           => 1,
55
    }
54
    }
(-)a/circ/view_holdsqueue.pl (-1 lines)
Lines 38-44 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
38
        template_name   => "circ/view_holdsqueue.tt",
38
        template_name   => "circ/view_holdsqueue.tt",
39
        query           => $query,
39
        query           => $query,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
41
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
(-)a/circ/waitingreserves.pl (-1 lines)
Lines 55-61 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
55
        template_name   => "circ/waitingreserves.tt",
55
        template_name   => "circ/waitingreserves.tt",
56
        query           => $input,
56
        query           => $input,
57
        type            => "intranet",
57
        type            => "intranet",
58
        authnotrequired => 0,
59
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
58
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
60
        debug           => 1,
59
        debug           => 1,
61
    }
60
    }
(-)a/clubs/club-enrollments.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => 'clubs/club-enrollments.tt',
32
        template_name   => 'clubs/club-enrollments.tt',
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => 'intranet',
34
        type            => 'intranet',
35
        authnotrequired => 0,
36
        flagsrequired   => { clubs => 'edit_clubs' },
35
        flagsrequired   => { clubs => 'edit_clubs' },
37
    }
36
    }
38
);
37
);
(-)a/clubs/clubs-add-modify.pl (-1 lines)
Lines 35-41 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
35
        template_name   => 'clubs/clubs-add-modify.tt',
35
        template_name   => 'clubs/clubs-add-modify.tt',
36
        query           => $cgi,
36
        query           => $cgi,
37
        type            => 'intranet',
37
        type            => 'intranet',
38
        authnotrequired => 0,
39
        flagsrequired   => { clubs => 'edit_clubs' },
38
        flagsrequired   => { clubs => 'edit_clubs' },
40
    }
39
    }
41
);
40
);
(-)a/clubs/clubs.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "clubs/clubs.tt",
34
        template_name   => "clubs/clubs.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { clubs => '*' },
37
        flagsrequired   => { clubs => '*' },
39
    }
38
    }
40
);
39
);
(-)a/clubs/patron-clubs-tab.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "clubs/patron-clubs-tab.tt",
34
        template_name   => "clubs/patron-clubs-tab.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { clubs => '*' },
37
        flagsrequired   => { clubs => '*' },
39
    }
38
    }
40
);
39
);
(-)a/clubs/patron-enroll.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "clubs/patron-enroll.tt",
32
        template_name   => "clubs/patron-enroll.tt",
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired   => { clubs => '*' },
35
        flagsrequired   => { clubs => '*' },
37
    }
36
    }
38
);
37
);
(-)a/clubs/templates-add-modify.pl (-1 lines)
Lines 39-45 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
39
        template_name   => 'clubs/templates-add-modify.tt',
39
        template_name   => 'clubs/templates-add-modify.tt',
40
        query           => $cgi,
40
        query           => $cgi,
41
        type            => 'intranet',
41
        type            => 'intranet',
42
        authnotrequired => 0,
43
        flagsrequired   => { clubs => 'edit_templates' },
42
        flagsrequired   => { clubs => 'edit_templates' },
44
    }
43
    }
45
);
44
);
(-)a/course_reserves/add_items.pl (-1 lines)
Lines 52-58 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
52
    {   template_name   => "course_reserves/$tmpl",
52
    {   template_name   => "course_reserves/$tmpl",
53
        query           => $cgi,
53
        query           => $cgi,
54
        type            => "intranet",
54
        type            => "intranet",
55
        authnotrequired => 0,
56
        flagsrequired   => { coursereserves => 'add_reserves' },
55
        flagsrequired   => { coursereserves => 'add_reserves' },
57
    }
56
    }
58
);
57
);
(-)a/course_reserves/batch_add_items.pl (-1 lines)
Lines 47-53 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
47
        template_name   => "course_reserves/batch_add_items.tt",
47
        template_name   => "course_reserves/batch_add_items.tt",
48
        query           => $cgi,
48
        query           => $cgi,
49
        type            => "intranet",
49
        type            => "intranet",
50
        authnotrequired => 0,
51
        flagsrequired   => { coursereserves => 'add_reserves' },
50
        flagsrequired   => { coursereserves => 'add_reserves' },
52
    }
51
    }
53
);
52
);
(-)a/course_reserves/course-details.pl (-1 lines)
Lines 41-47 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
41
    {   template_name   => "course_reserves/$tmpl",
41
    {   template_name   => "course_reserves/$tmpl",
42
        query           => $cgi,
42
        query           => $cgi,
43
        type            => "intranet",
43
        type            => "intranet",
44
        authnotrequired => 0,
45
        flagsrequired   => $flagsrequired,
44
        flagsrequired   => $flagsrequired,
46
    }
45
    }
47
);
46
);
(-)a/course_reserves/course-reserves.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "course_reserves/course-reserves.tt",
34
        template_name   => "course_reserves/course-reserves.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { catalogue => 1 },
37
        flagsrequired   => { catalogue => 1 },
39
    }
38
    }
40
);
39
);
(-)a/course_reserves/course.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
    {   template_name   => "course_reserves/course.tt",
34
    {   template_name   => "course_reserves/course.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { coursereserves => 'manage_courses' },
37
        flagsrequired   => { coursereserves => 'manage_courses' },
39
    }
38
    }
40
);
39
);
(-)a/course_reserves/mod_course.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
    {   template_name   => "about.tt",
32
    {   template_name   => "about.tt",
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired   => { coursereserves => 'manage_courses' },
35
        flagsrequired   => { coursereserves => 'manage_courses' },
37
    }
36
    }
38
);
37
);
(-)a/installer/install.pl (-1 lines)
Lines 49-55 if ( defined($language) ) { Link Here
49
        template_name => "installer/step" . ( $step ? $step : 1 ) . ".tt",
49
        template_name => "installer/step" . ( $step ? $step : 1 ) . ".tt",
50
        query         => $query,
50
        query         => $query,
51
        type          => "intranet",
51
        type          => "intranet",
52
        authnotrequired => 0,
53
        debug           => 1,
52
        debug           => 1,
54
    }
53
    }
55
);
54
);
(-)a/installer/onboarding.pl (-1 lines)
Lines 354-360 my ( $template, $loggedinuser ); Link Here
354
        template_name   => "onboarding/onboardingstep${step}.tt",
354
        template_name   => "onboarding/onboardingstep${step}.tt",
355
        query           => $input,
355
        query           => $input,
356
        type            => "intranet",
356
        type            => "intranet",
357
        authnotrequired => 0,
358
        debug           => 1,
357
        debug           => 1,
359
    }
358
    }
360
);
359
);
(-)a/labels/label-create-pdf.pl (-1 lines)
Lines 32-38 my ( undef, $loggedinuser, $cookie ) = get_template_and_user({ Link Here
32
								     template_name   => "labels/label-home.tt",
32
								     template_name   => "labels/label-home.tt",
33
								     query           => $cgi,
33
								     query           => $cgi,
34
								     type            => "intranet",
34
								     type            => "intranet",
35
								     authnotrequired => 0,
36
								     flagsrequired   => { tools => 'label_creator' },
35
								     flagsrequired   => { tools => 'label_creator' },
37
								     debug           => 1,
36
								     debug           => 1,
38
								     });
37
								     });
(-)a/labels/label-edit-batch.pl (-1 lines)
Lines 36-42 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
36
        template_name   => "labels/label-edit-batch.tt",
36
        template_name   => "labels/label-edit-batch.tt",
37
        query           => $cgi,
37
        query           => $cgi,
38
        type            => "intranet",
38
        type            => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { catalogue => 1 },
39
        flagsrequired   => { catalogue => 1 },
41
        debug           => 1,
40
        debug           => 1,
42
    }
41
    }
(-)a/labels/label-edit-layout.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "labels/label-edit-layout.tt",
34
        template_name   => "labels/label-edit-layout.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { catalogue => 1 },
37
        flagsrequired   => { catalogue => 1 },
39
        debug           => 1,
38
        debug           => 1,
40
    }
39
    }
(-)a/labels/label-edit-profile.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "labels/label-edit-profile.tt",
33
        template_name   => "labels/label-edit-profile.tt",
34
        query           => $cgi,
34
        query           => $cgi,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { catalogue => 1 },
36
        flagsrequired   => { catalogue => 1 },
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
(-)a/labels/label-edit-range.pl (-1 lines)
Lines 30-36 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
30
        template_name   => "labels/label-edit-range.tt",
30
        template_name   => "labels/label-edit-range.tt",
31
        query           => $cgi,
31
        query           => $cgi,
32
        type            => "intranet",
32
        type            => "intranet",
33
        authnotrequired => 0,
34
        flagsrequired   => { catalogue => 1 },
33
        flagsrequired   => { catalogue => 1 },
35
        debug           => 1,
34
        debug           => 1,
36
    }
35
    }
(-)a/labels/label-edit-template.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "labels/label-edit-template.tt",
33
        template_name   => "labels/label-edit-template.tt",
34
        query           => $cgi,
34
        query           => $cgi,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { catalogue => 1 },
36
        flagsrequired   => { catalogue => 1 },
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
(-)a/labels/label-home.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
31
        template_name   => "labels/label-home.tt",
31
        template_name   => "labels/label-home.tt",
32
        query           => $cgi,
32
        query           => $cgi,
33
        type            => "intranet",
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired   => { catalogue => 1 },
34
        flagsrequired   => { catalogue => 1 },
36
        debug           => 1,
35
        debug           => 1,
37
    }
36
    }
(-)a/labels/label-item-search.pl (-2 lines)
Lines 159-165 if ($show_results) { Link Here
159
            template_name   => "labels/result.tt",
159
            template_name   => "labels/result.tt",
160
            query           => $query,
160
            query           => $query,
161
            type            => "intranet",
161
            type            => "intranet",
162
            authnotrequired => 0,
163
            flagsrequired   => { borrowers => 'edit_borrowers' },
162
            flagsrequired   => { borrowers => 'edit_borrowers' },
164
            flagsrequired   => { catalogue => 1 },
163
            flagsrequired   => { catalogue => 1 },
165
            debug           => 1,
164
            debug           => 1,
Lines 239-245 else { Link Here
239
            template_name   => "labels/search.tt",
238
            template_name   => "labels/search.tt",
240
            query           => $query,
239
            query           => $query,
241
            type            => "intranet",
240
            type            => "intranet",
242
            authnotrequired => 0,
243
            flagsrequired   => { catalogue => 1 },
241
            flagsrequired   => { catalogue => 1 },
244
            debug           => 1,
242
            debug           => 1,
245
        }
243
        }
(-)a/labels/label-manage.pl (-1 lines)
Lines 36-42 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
36
        template_name   => "labels/label-manage.tt",
36
        template_name   => "labels/label-manage.tt",
37
        query           => $cgi,
37
        query           => $cgi,
38
        type            => "intranet",
38
        type            => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { catalogue => 1 },
39
        flagsrequired   => { catalogue => 1 },
41
        debug           => 1,
40
        debug           => 1,
42
    }
41
    }
(-)a/labels/label-print.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "labels/label-print.tt",
34
        template_name   => "labels/label-print.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { catalogue => 1 },
37
        flagsrequired   => { catalogue => 1 },
39
        debug           => 1,
38
        debug           => 1,
40
    }
39
    }
(-)a/labels/spinelabel-home.pl (-1 lines)
Lines 28-34 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
28
    {   template_name   => "labels/spinelabel-home.tt",
28
    {   template_name   => "labels/spinelabel-home.tt",
29
        query           => $query,
29
        query           => $query,
30
        type            => "intranet",
30
        type            => "intranet",
31
        authnotrequired => 0,
32
        flagsrequired   => { catalogue => 1 },
31
        flagsrequired   => { catalogue => 1 },
33
        debug           => 1,
32
        debug           => 1,
34
    }
33
    }
(-)a/labels/spinelabel-print.pl (-1 lines)
Lines 26-32 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
26
    {   template_name   => "labels/spinelabel-print.tt",
26
    {   template_name   => "labels/spinelabel-print.tt",
27
        query           => $query,
27
        query           => $query,
28
        type            => "intranet",
28
        type            => "intranet",
29
        authnotrequired => 0,
30
        flagsrequired   => { catalogue => 1 },
29
        flagsrequired   => { catalogue => 1 },
31
        debug           => 1,
30
        debug           => 1,
32
    }
31
    }
(-)a/mainpage.pl (-1 lines)
Lines 39-45 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
39
        template_name   => "intranet-main.tt",
39
        template_name   => "intranet-main.tt",
40
        query           => $query,
40
        query           => $query,
41
        type            => "intranet",
41
        type            => "intranet",
42
        authnotrequired => 0,
43
        flagsrequired   => { catalogue => 1, },
42
        flagsrequired   => { catalogue => 1, },
44
    }
43
    }
45
);
44
);
(-)a/members/accountline-details.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "members/accountline-details.tt",
33
        template_name   => "members/accountline-details.tt",
34
        query           => $input,
34
        query           => $input,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => {
36
        flagsrequired   => {
38
            borrowers     => 'edit_borrowers',
37
            borrowers     => 'edit_borrowers',
39
            updatecharges => 'remaining_permissions'
38
            updatecharges => 'remaining_permissions'
(-)a/members/apikeys.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
    {   template_name   => 'members/apikeys.tt',
34
    {   template_name   => 'members/apikeys.tt',
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => 'intranet',
36
        type            => 'intranet',
37
        authnotrequired => 0,
38
        flagsrequired   => { borrowers => 'edit_borrowers' },
37
        flagsrequired   => { borrowers => 'edit_borrowers' },
39
    }
38
    }
40
);
39
);
(-)a/members/boraccount.pl (-1 lines)
Lines 41-47 my ($template, $loggedinuser, $cookie) = get_template_and_user( Link Here
41
        template_name   => "members/boraccount.tt",
41
        template_name   => "members/boraccount.tt",
42
        query           => $input,
42
        query           => $input,
43
        type            => "intranet",
43
        type            => "intranet",
44
        authnotrequired => 0,
45
        flagsrequired   => { borrowers     => 'edit_borrowers',
44
        flagsrequired   => { borrowers     => 'edit_borrowers',
46
                             updatecharges => 'remaining_permissions'},
45
                             updatecharges => 'remaining_permissions'},
47
        debug           => 1,
46
        debug           => 1,
(-)a/members/deletemem.pl (-1 lines)
Lines 38-44 my ($template, $loggedinuser, $cookie) Link Here
38
                = get_template_and_user({template_name => "members/deletemem.tt",
38
                = get_template_and_user({template_name => "members/deletemem.tt",
39
                                        query => $input,
39
                                        query => $input,
40
                                        type => "intranet",
40
                                        type => "intranet",
41
                                        authnotrequired => 0,
42
                                        flagsrequired => {borrowers => 'edit_borrowers'},
41
                                        flagsrequired => {borrowers => 'edit_borrowers'},
43
                                        debug => 1,
42
                                        debug => 1,
44
                                        });
43
                                        });
(-)a/members/discharge.pl (-1 lines)
Lines 47-53 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user({ Link Here
47
    template_name   => 'members/discharge.tt',
47
    template_name   => 'members/discharge.tt',
48
    query           => $input,
48
    query           => $input,
49
    type            => 'intranet',
49
    type            => 'intranet',
50
    authnotrequired => 0,
51
    flagsrequired   => { 'borrowers' => 'edit_borrowers' },
50
    flagsrequired   => { 'borrowers' => 'edit_borrowers' },
52
});
51
});
53
52
(-)a/members/discharges.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user({ Link Here
32
    template_name   => "members/discharges.tt",
32
    template_name   => "members/discharges.tt",
33
    query           => $input,
33
    query           => $input,
34
    type            => "intranet",
34
    type            => "intranet",
35
    authnotrequired => 0,
36
    flagsrequired   => { borrowers => 'edit_borrowers' },
35
    flagsrequired   => { borrowers => 'edit_borrowers' },
37
});
36
});
38
37
(-)a/members/files.pl (-1 lines)
Lines 38-44 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
38
        template_name   => "members/files.tt",
38
        template_name   => "members/files.tt",
39
        query           => $cgi,
39
        query           => $cgi,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => { borrowers => 'edit_borrowers' },
41
        flagsrequired   => { borrowers => 'edit_borrowers' },
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
(-)a/members/guarantor_search.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( Link Here
34
    {   template_name   => "common/patron_search.tt",
34
    {   template_name   => "common/patron_search.tt",
35
        query           => $input,
35
        query           => $input,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { borrowers => 'edit_borrowers' },
37
        flagsrequired   => { borrowers => 'edit_borrowers' },
39
    }
38
    }
40
);
39
);
(-)a/members/holdshistory.pl (-1 lines)
Lines 33-39 my @all_holds; Link Here
33
my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/holdshistory.tt",
33
my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/holdshistory.tt",
34
                query => $input,
34
                query => $input,
35
                type => "intranet",
35
                type => "intranet",
36
                authnotrequired => 0,
37
                flagsrequired => {borrowers => 'edit_borrowers'},
36
                flagsrequired => {borrowers => 'edit_borrowers'},
38
                debug => 1,
37
                debug => 1,
39
                });
38
                });
(-)a/members/housebound.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        template_name   => 'members/housebound.tt',
45
        template_name   => 'members/housebound.tt',
46
        query           => $input,
46
        query           => $input,
47
        type            => 'intranet',
47
        type            => 'intranet',
48
        authnotrequired => 0,
49
        flagsrequired   => { borrowers => 'edit_borrowers' },
48
        flagsrequired   => { borrowers => 'edit_borrowers' },
50
    }
49
    }
51
);
50
);
(-)a/members/ill-requests.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
31
        template_name   => "members/ill-requests.tt",
31
        template_name   => "members/ill-requests.tt",
32
        query           => $input,
32
        query           => $input,
33
        type            => "intranet",
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired   => { borrowers => 'edit_borrowers' },
34
        flagsrequired   => { borrowers => 'edit_borrowers' },
36
        debug           => 1,
35
        debug           => 1,
37
    }
36
    }
(-)a/members/mancredit.pl (-1 lines)
Lines 44-50 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
44
        template_name   => "members/mancredit.tt",
44
        template_name   => "members/mancredit.tt",
45
        query           => $input,
45
        query           => $input,
46
        type            => "intranet",
46
        type            => "intranet",
47
        authnotrequired => 0,
48
        flagsrequired   => {
47
        flagsrequired   => {
49
            borrowers     => 'edit_borrowers',
48
            borrowers     => 'edit_borrowers',
50
            updatecharges => 'remaining_permissions'
49
            updatecharges => 'remaining_permissions'
(-)a/members/maninvoice.pl (-1 lines)
Lines 44-50 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
44
        template_name   => "members/maninvoice.tt",
44
        template_name   => "members/maninvoice.tt",
45
        query           => $input,
45
        query           => $input,
46
        type            => "intranet",
46
        type            => "intranet",
47
        authnotrequired => 0,
48
        flagsrequired   => {
47
        flagsrequired   => {
49
            borrowers     => 'edit_borrowers',
48
            borrowers     => 'edit_borrowers',
50
            updatecharges => 'remaining_permissions'
49
            updatecharges => 'remaining_permissions'
(-)a/members/member-flags.pl (-1 lines)
Lines 38-44 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
38
        template_name   => "members/member-flags.tt",
38
        template_name   => "members/member-flags.tt",
39
        query           => $input,
39
        query           => $input,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => $flagsrequired,
41
        flagsrequired   => $flagsrequired,
43
        debug           => 1,
42
        debug           => 1,
44
});
43
});
(-)a/members/member-password.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie, $staffflags ) = get_template_and_user( Link Here
32
        template_name   => "members/member-password.tt",
32
        template_name   => "members/member-password.tt",
33
        query           => $input,
33
        query           => $input,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired   => { borrowers => 'edit_borrowers' },
35
        flagsrequired   => { borrowers => 'edit_borrowers' },
37
        debug           => 1,
36
        debug           => 1,
38
    }
37
    }
(-)a/members/member.pl (-1 lines)
Lines 37-43 my ($template, $loggedinuser, $cookie) Link Here
37
    = get_template_and_user({template_name => "members/member.tt",
37
    = get_template_and_user({template_name => "members/member.tt",
38
                 query => $input,
38
                 query => $input,
39
                 type => "intranet",
39
                 type => "intranet",
40
                 authnotrequired => 0,
41
                 flagsrequired => {borrowers => 'edit_borrowers'},
40
                 flagsrequired => {borrowers => 'edit_borrowers'},
42
                 });
41
                 });
43
42
(-)a/members/memberentry.pl (-1 lines)
Lines 66-72 my ($template, $loggedinuser, $cookie) Link Here
66
    = get_template_and_user({template_name => "members/memberentrygen.tt",
66
    = get_template_and_user({template_name => "members/memberentrygen.tt",
67
           query => $input,
67
           query => $input,
68
           type => "intranet",
68
           type => "intranet",
69
           authnotrequired => 0,
70
           flagsrequired => {borrowers => 'edit_borrowers'},
69
           flagsrequired => {borrowers => 'edit_borrowers'},
71
           debug => ($debug) ? 1 : 0,
70
           debug => ($debug) ? 1 : 0,
72
       });
71
       });
(-)a/members/members-home.pl (-1 lines)
Lines 34-40 my ($template, $loggedinuser, $cookie, $flags) Link Here
34
    = get_template_and_user({template_name => "members/member.tt",
34
    = get_template_and_user({template_name => "members/member.tt",
35
                 query => $query,
35
                 query => $query,
36
                 type => "intranet",
36
                 type => "intranet",
37
                 authnotrequired => 0,
38
                 flagsrequired => {borrowers => 'edit_borrowers'},
37
                 flagsrequired => {borrowers => 'edit_borrowers'},
39
                 debug => 1,
38
                 debug => 1,
40
                 });
39
                 });
(-)a/members/members-update-do.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "about.tt",
33
        template_name   => "about.tt",
34
        query           => $query,
34
        query           => $query,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { borrowers => 'edit_borrowers' },
36
        flagsrequired   => { borrowers => 'edit_borrowers' },
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
(-)a/members/members-update.pl (-1 lines)
Lines 37-43 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
37
    {   template_name   => "members/members-update.tt",
37
    {   template_name   => "members/members-update.tt",
38
        query           => $query,
38
        query           => $query,
39
        type            => "intranet",
39
        type            => "intranet",
40
        authnotrequired => 0,
41
        flagsrequired   => { borrowers => 'edit_borrowers' },
40
        flagsrequired   => { borrowers => 'edit_borrowers' },
42
        debug           => 1,
41
        debug           => 1,
43
    }
42
    }
(-)a/members/merge-patrons.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
33
        template_name   => "members/merge-patrons.tt",
33
        template_name   => "members/merge-patrons.tt",
34
        query           => $cgi,
34
        query           => $cgi,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { borrowers => 'edit_borrowers' },
36
        flagsrequired   => { borrowers => 'edit_borrowers' },
38
    }
37
    }
39
);
38
);
(-)a/members/moremember.pl (-1 lines)
Lines 69-75 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
69
        template_name   => $template_name,
69
        template_name   => $template_name,
70
        query           => $input,
70
        query           => $input,
71
        type            => "intranet",
71
        type            => "intranet",
72
        authnotrequired => 0,
73
        flagsrequired   => { borrowers => 'edit_borrowers' },
72
        flagsrequired   => { borrowers => 'edit_borrowers' },
74
        debug           => 1,
73
        debug           => 1,
75
    }
74
    }
(-)a/members/notices.pl (-1 lines)
Lines 42-48 my $borrower = $patron->unblessed; Link Here
42
my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/notices.tt",
42
my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/notices.tt",
43
				query => $input,
43
				query => $input,
44
				type => "intranet",
44
				type => "intranet",
45
				authnotrequired => 0,
46
                flagsrequired => {borrowers => 'edit_borrowers'},
45
                flagsrequired => {borrowers => 'edit_borrowers'},
47
				debug => 1,
46
				debug => 1,
48
				});
47
				});
(-)a/members/pay.pl (-1 lines)
Lines 50-56 our ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
50
    {   template_name   => 'members/pay.tt',
50
    {   template_name   => 'members/pay.tt',
51
        query           => $input,
51
        query           => $input,
52
        type            => 'intranet',
52
        type            => 'intranet',
53
        authnotrequired => 0,
54
        flagsrequired   => { borrowers => 'edit_borrowers', updatecharges => $updatecharges_permissions },
53
        flagsrequired   => { borrowers => 'edit_borrowers', updatecharges => $updatecharges_permissions },
55
        debug           => 1,
54
        debug           => 1,
56
    }
55
    }
(-)a/members/paycollect.pl (-1 lines)
Lines 47-53 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
47
    {   template_name   => 'members/paycollect.tt',
47
    {   template_name   => 'members/paycollect.tt',
48
        query           => $input,
48
        query           => $input,
49
        type            => 'intranet',
49
        type            => 'intranet',
50
        authnotrequired => 0,
51
        flagsrequired   => { borrowers => 'edit_borrowers', updatecharges => $updatecharges_permissions },
50
        flagsrequired   => { borrowers => 'edit_borrowers', updatecharges => $updatecharges_permissions },
52
        debug           => 1,
51
        debug           => 1,
53
    }
52
    }
(-)a/members/print_overdues.pl (-1 lines)
Lines 37-43 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
37
        template_name   => "circ/printslip.tt",
37
        template_name   => "circ/printslip.tt",
38
        query           => $input,
38
        query           => $input,
39
        type            => "intranet",
39
        type            => "intranet",
40
        authnotrequired => 0,
41
        flagsrequired   => $flagsrequired,
40
        flagsrequired   => $flagsrequired,
42
        debug           => 1,
41
        debug           => 1,
43
    }
42
    }
(-)a/members/printfeercpt.pl (-1 lines)
Lines 42-48 my ($template, $loggedinuser, $cookie) Link Here
42
    = get_template_and_user({template_name => "members/printfeercpt.tt",
42
    = get_template_and_user({template_name => "members/printfeercpt.tt",
43
                            query => $input,
43
                            query => $input,
44
                            type => "intranet",
44
                            type => "intranet",
45
                            authnotrequired => 0,
46
                            flagsrequired => {borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions'},
45
                            flagsrequired => {borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions'},
47
                            debug => 1,
46
                            debug => 1,
48
                            });
47
                            });
(-)a/members/printinvoice.pl (-1 lines)
Lines 39-45 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
39
    {   template_name   => "members/printinvoice.tt",
39
    {   template_name   => "members/printinvoice.tt",
40
        query           => $input,
40
        query           => $input,
41
        type            => "intranet",
41
        type            => "intranet",
42
        authnotrequired => 0,
43
        flagsrequired => { borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions' },
42
        flagsrequired => { borrowers => 'edit_borrowers', updatecharges => 'remaining_permissions' },
44
        debug           => 1,
43
        debug           => 1,
45
    }
44
    }
(-)a/members/printslip.pl (-1 lines)
Lines 66-72 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
66
        template_name   => "circ/printslip.tt",
66
        template_name   => "circ/printslip.tt",
67
        query           => $input,
67
        query           => $input,
68
        type            => "intranet",
68
        type            => "intranet",
69
        authnotrequired => 0,
70
        flagsrequired   => $flagsrequired,
69
        flagsrequired   => $flagsrequired,
71
        debug           => 1,
70
        debug           => 1,
72
    }
71
    }
(-)a/members/purchase-suggestions.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
    {   template_name   => "members/purchase-suggestions.tt",
33
    {   template_name   => "members/purchase-suggestions.tt",
34
        query           => $input,
34
        query           => $input,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { suggestions => 'suggestions_manage' },
36
        flagsrequired   => { suggestions => 'suggestions_manage' },
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
(-)a/members/readingrec.pl (-1 lines)
Lines 38-44 my $input = CGI->new; Link Here
38
my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/readingrec.tt",
38
my ($template, $loggedinuser, $cookie)= get_template_and_user({template_name => "members/readingrec.tt",
39
				query => $input,
39
				query => $input,
40
				type => "intranet",
40
				type => "intranet",
41
				authnotrequired => 0,
42
                flagsrequired => {borrowers => 'edit_borrowers'},
41
                flagsrequired => {borrowers => 'edit_borrowers'},
43
				debug => 1,
42
				debug => 1,
44
				});
43
				});
(-)a/members/routing-lists.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( Link Here
34
        template_name   => 'members/routing-lists.tt',
34
        template_name   => 'members/routing-lists.tt',
35
        query           => $query,
35
        query           => $query,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
37
        flagsrequired   => { circulate => 'circulate_remaining_permissions' },
39
    }
38
    }
40
);
39
);
(-)a/members/statistics.pl (-1 lines)
Lines 39-45 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
39
    {   template_name   => "members/statistics.tt",
39
    {   template_name   => "members/statistics.tt",
40
        query           => $input,
40
        query           => $input,
41
        type            => "intranet",
41
        type            => "intranet",
42
        authnotrequired => 0,
43
        flagsrequired   => { borrowers => 'edit_borrowers' },
42
        flagsrequired   => { borrowers => 'edit_borrowers' },
44
        debug           => 1,
43
        debug           => 1,
45
    }
44
    }
(-)a/members/summary-print.pl (-1 lines)
Lines 37-43 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
37
        template_name   => "members/moremember-print.tt",
37
        template_name   => "members/moremember-print.tt",
38
        query           => $input,
38
        query           => $input,
39
        type            => "intranet",
39
        type            => "intranet",
40
        authnotrequired => 0,
41
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
40
        flagsrequired   => { circulate => "circulate_remaining_permissions" },
42
        debug           => 1,
41
        debug           => 1,
43
    }
42
    }
(-)a/members/update-child.pl (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        template_name   => "members/update-child.tt",
45
        template_name   => "members/update-child.tt",
46
        query           => $input,
46
        query           => $input,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { borrowers => 'edit_borrowers' },
48
        flagsrequired   => { borrowers => 'edit_borrowers' },
50
        debug           => 1,
49
        debug           => 1,
51
    }
50
    }
(-)a/offline_circ/enqueue_koc.pl (-1 lines)
Lines 49-55 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
49
    template_name => "offline_circ/enqueue_koc.tt",
49
    template_name => "offline_circ/enqueue_koc.tt",
50
    query => $query,
50
    query => $query,
51
    type => "intranet",
51
    type => "intranet",
52
    authnotrequired => 0,
53
     flagsrequired   => { circulate => "circulate_remaining_permissions" },
52
     flagsrequired   => { circulate => "circulate_remaining_permissions" },
54
});
53
});
55
54
(-)a/offline_circ/list.pl (-1 lines)
Lines 38-44 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
38
    template_name => "offline_circ/list.tt",
38
    template_name => "offline_circ/list.tt",
39
    query => $query,
39
    query => $query,
40
    type => "intranet",
40
    type => "intranet",
41
    authnotrequired => 0,
42
    flagsrequired   => { circulate => "circulate_remaining_permissions" },
41
    flagsrequired   => { circulate => "circulate_remaining_permissions" },
43
});
42
});
44
43
(-)a/offline_circ/process.pl (-1 lines)
Lines 30-36 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
30
    template_name => "offline_circ/list.tt",
30
    template_name => "offline_circ/list.tt",
31
    query => $query,
31
    query => $query,
32
    type => "intranet",
32
    type => "intranet",
33
    authnotrequired => 0,
34
    flagsrequired   => { circulate => "circulate_remaining_permissions" },
33
    flagsrequired   => { circulate => "circulate_remaining_permissions" },
35
});
34
});
36
35
(-)a/offline_circ/process_koc.pl (-1 lines)
Lines 52-58 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
52
    template_name => "offline_circ/process_koc.tt",
52
    template_name => "offline_circ/process_koc.tt",
53
    query => $query,
53
    query => $query,
54
    type => "intranet",
54
    type => "intranet",
55
    authnotrequired => 0,
56
     flagsrequired   => { circulate => "circulate_remaining_permissions" },
55
     flagsrequired   => { circulate => "circulate_remaining_permissions" },
57
});
56
});
58
57
(-)a/opac/clubs/clubs-tab.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "clubs/clubs-tab.tt",
32
        template_name   => "clubs/clubs-tab.tt",
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => "opac",
34
        type            => "opac",
35
        authnotrequired => 0,
36
    }
35
    }
37
);
36
);
38
37
(-)a/opac/clubs/enroll.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "clubs/enroll.tt",
32
        template_name   => "clubs/enroll.tt",
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => "opac",
34
        type            => "opac",
35
        authnotrequired => 0,
36
    }
35
    }
37
);
36
);
38
37
(-)a/opac/opac-account-pay-paypal-return.pl (-1 lines)
Lines 44-50 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
44
        template_name   => "opac-account-pay-return.tt",
44
        template_name   => "opac-account-pay-return.tt",
45
        query           => $cgi,
45
        query           => $cgi,
46
        type            => "opac",
46
        type            => "opac",
47
        authnotrequired => 0,
48
        debug           => 1,
47
        debug           => 1,
49
    }
48
    }
50
);
49
);
(-)a/opac/opac-account-pay.pl (-1 lines)
Lines 58-64 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
58
        template_name   => "opac-account-pay-error.tt",
58
        template_name   => "opac-account-pay-error.tt",
59
        query           => $cgi,
59
        query           => $cgi,
60
        type            => "opac",
60
        type            => "opac",
61
        authnotrequired => 0,
62
        debug           => 1,
61
        debug           => 1,
63
    }
62
    }
64
);
63
);
(-)a/opac/opac-account.pl (-1 lines)
Lines 34-40 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "opac-account.tt",
34
        template_name   => "opac-account.tt",
35
        query           => $query,
35
        query           => $query,
36
        type            => "opac",
36
        type            => "opac",
37
        authnotrequired => 0,
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
40
);
39
);
(-)a/opac/opac-addbybiblionumber.pl (-1 lines)
Lines 52-58 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
52
    {   template_name   => "opac-addbybiblionumber.tt",
52
    {   template_name   => "opac-addbybiblionumber.tt",
53
        query           => $query,
53
        query           => $query,
54
        type            => "opac",
54
        type            => "opac",
55
        authnotrequired => 0,
56
    }
55
    }
57
);
56
);
58
57
(-)a/opac/opac-article-request-cancel.pl (-1 lines)
Lines 32-38 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "opac-account.tt",
32
        template_name   => "opac-account.tt",
33
        query           => $query,
33
        query           => $query,
34
        type            => "opac",
34
        type            => "opac",
35
        authnotrequired => 0,
36
        debug           => 1,
35
        debug           => 1,
37
    }
36
    }
38
);
37
);
(-)a/opac/opac-ics.pl (-1 lines)
Lines 41-47 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
41
        template_name   => "opac-ics.tt",
41
        template_name   => "opac-ics.tt",
42
        query           => $query,
42
        query           => $query,
43
        type            => "opac",
43
        type            => "opac",
44
        authnotrequired => 0,
45
        debug           => 1,
44
        debug           => 1,
46
    }
45
    }
47
);
46
);
(-)a/opac/opac-illrequests.pl (-1 lines)
Lines 46-52 my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ Link Here
46
    template_name   => "opac-illrequests.tt",
46
    template_name   => "opac-illrequests.tt",
47
    query           => $query,
47
    query           => $query,
48
    type            => "opac",
48
    type            => "opac",
49
    authnotrequired => 0,
50
});
49
});
51
50
52
# Are we able to actually work?
51
# Are we able to actually work?
(-)a/opac/opac-issue-note.pl (-1 lines)
Lines 38-44 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
38
        template_name   => "opac-issue-note.tt",
38
        template_name   => "opac-issue-note.tt",
39
        query           => $query,
39
        query           => $query,
40
        type            => "opac",
40
        type            => "opac",
41
        authnotrequired => 0,
42
        debug           => 1,
41
        debug           => 1,
43
    }
42
    }
44
);
43
);
(-)a/opac/opac-messaging.pl (-1 lines)
Lines 45-51 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
45
        template_name   => 'opac-messaging.tt',
45
        template_name   => 'opac-messaging.tt',
46
        query           => $query,
46
        query           => $query,
47
        type            => 'opac',
47
        type            => 'opac',
48
        authnotrequired => 0,
49
        debug           => 1,
48
        debug           => 1,
50
    }
49
    }
51
);
50
);
(-)a/opac/opac-modrequest-suspend.pl (-1 lines)
Lines 27-33 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
27
        template_name   => "opac-account.tt",
27
        template_name   => "opac-account.tt",
28
        query           => $query,
28
        query           => $query,
29
        type            => "opac",
29
        type            => "opac",
30
        authnotrequired => 0,
31
        debug           => 1,
30
        debug           => 1,
32
    }
31
    }
33
);
32
);
(-)a/opac/opac-modrequest.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
36
        template_name   => "opac-account.tt",
36
        template_name   => "opac-account.tt",
37
        query           => $query,
37
        query           => $query,
38
        type            => "opac",
38
        type            => "opac",
39
        authnotrequired => 0,
40
        debug           => 1,
39
        debug           => 1,
41
    }
40
    }
42
);
41
);
(-)a/opac/opac-mymessages.pl (-1 lines)
Lines 34-40 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
34
        template_name   => 'opac-mymessages.tt',
34
        template_name   => 'opac-mymessages.tt',
35
        query           => $query,
35
        query           => $query,
36
        type            => 'opac',
36
        type            => 'opac',
37
        authnotrequired => 0,
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
40
);
39
);
(-)a/opac/opac-passwd.pl (-1 lines)
Lines 38-44 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
38
        template_name   => "opac-passwd.tt",
38
        template_name   => "opac-passwd.tt",
39
        query           => $query,
39
        query           => $query,
40
        type            => "opac",
40
        type            => "opac",
41
        authnotrequired => 0,
42
        debug           => 1,
41
        debug           => 1,
43
    }
42
    }
44
);
43
);
(-)a/opac/opac-patron-consent.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user({ Link Here
36
    template_name   => "opac-patron-consent.tt",
36
    template_name   => "opac-patron-consent.tt",
37
    query           => $query,
37
    query           => $query,
38
    type            => "opac",
38
    type            => "opac",
39
    authnotrequired => 0,
40
});
39
});
41
40
42
my $patron = Koha::Patrons->find($borrowernumber);
41
my $patron = Koha::Patrons->find($borrowernumber);
(-)a/opac/opac-privacy.pl (-1 lines)
Lines 39-45 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
39
        template_name   => "opac-privacy.tt",
39
        template_name   => "opac-privacy.tt",
40
        query           => $query,
40
        query           => $query,
41
        type            => "opac",
41
        type            => "opac",
42
        authnotrequired => 0,
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
45
);
44
);
(-)a/opac/opac-readingrecord.pl (-1 lines)
Lines 48-54 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
48
        template_name   => "opac-readingrecord.tt",
48
        template_name   => "opac-readingrecord.tt",
49
        query           => $query,
49
        query           => $query,
50
        type            => "opac",
50
        type            => "opac",
51
        authnotrequired => 0,
52
        debug           => 1,
51
        debug           => 1,
53
    }
52
    }
54
);
53
);
(-)a/opac/opac-renew.pl (-1 lines)
Lines 39-45 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
39
        template_name   => "opac-user.tt",
39
        template_name   => "opac-user.tt",
40
        query           => $query,
40
        query           => $query,
41
        type            => "opac",
41
        type            => "opac",
42
        authnotrequired => 0,
43
        debug           => 1,
42
        debug           => 1,
44
	}
43
	}
45
); 
44
); 
(-)a/opac/opac-request-article.pl (-1 lines)
Lines 34-40 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "opac-request-article.tt",
34
        template_name   => "opac-request-article.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "opac",
36
        type            => "opac",
37
        authnotrequired => 0,
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
40
);
39
);
(-)a/opac/opac-reserve.pl (-1 lines)
Lines 60-66 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
60
        template_name   => "opac-reserve.tt",
60
        template_name   => "opac-reserve.tt",
61
        query           => $query,
61
        query           => $query,
62
        type            => "opac",
62
        type            => "opac",
63
        authnotrequired => 0,
64
        debug           => 1,
63
        debug           => 1,
65
    }
64
    }
66
);
65
);
(-)a/opac/opac-routing-lists.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
36
        template_name   => "opac-routing-lists.tt",
36
        template_name   => "opac-routing-lists.tt",
37
        query           => $query,
37
        query           => $query,
38
        type            => "opac",
38
        type            => "opac",
39
        authnotrequired => 0,
40
        debug           => 1,
39
        debug           => 1,
41
    }
40
    }
42
);
41
);
(-)a/opac/opac-sendbasket.pl (-1 lines)
Lines 43-49 my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( Link Here
43
        template_name   => "opac-sendbasketform.tt",
43
        template_name   => "opac-sendbasketform.tt",
44
        query           => $query,
44
        query           => $query,
45
        type            => "opac",
45
        type            => "opac",
46
        authnotrequired => 0,
47
    }
46
    }
48
);
47
);
49
48
(-)a/opac/opac-sendshelf.pl (-1 lines)
Lines 48-54 my ( $template, $borrowernumber, $cookie ) = get_template_and_user ( Link Here
48
        template_name   => "opac-sendshelfform.tt",
48
        template_name   => "opac-sendshelfform.tt",
49
        query           => $query,
49
        query           => $query,
50
        type            => "opac",
50
        type            => "opac",
51
        authnotrequired => 0,
52
    }
51
    }
53
);
52
);
54
53
(-)a/opac/opac-suggestions.pl (-1 lines)
Lines 75-81 else { Link Here
75
            template_name   => "opac-suggestions.tt",
75
            template_name   => "opac-suggestions.tt",
76
            query           => $input,
76
            query           => $input,
77
            type            => "opac",
77
            type            => "opac",
78
            authnotrequired => 0,
79
        }
78
        }
80
    );
79
    );
81
}
80
}
(-)a/opac/opac-user.pl (-1 lines)
Lines 72-78 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
72
        template_name   => "opac-user.tt",
72
        template_name   => "opac-user.tt",
73
        query           => $query,
73
        query           => $query,
74
        type            => "opac",
74
        type            => "opac",
75
        authnotrequired => 0,
76
        debug           => 1,
75
        debug           => 1,
77
    }
76
    }
78
);
77
);
(-)a/opac/sci/sci-main.pl (-1 lines)
Lines 40-46 $cgi->param( -name => 'sci_user_login', -values => [1] ); Link Here
40
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
40
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
41
    {
41
    {
42
        template_name   => "sci/sci-main.tt",
42
        template_name   => "sci/sci-main.tt",
43
        authnotrequired => 0,
44
        flagsrequired   => { self_check => 'self_checkin_module' },
43
        flagsrequired   => { self_check => 'self_checkin_module' },
45
        query           => $cgi,
44
        query           => $cgi,
46
        type            => "opac"
45
        type            => "opac"
(-)a/opac/sco/sco-main.pl (-1 lines)
Lines 78-84 $query->param(-name=>'sco_user_login',-values=>[1]); Link Here
78
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
78
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
79
    {
79
    {
80
        template_name   => "sco/sco-main.tt",
80
        template_name   => "sco/sco-main.tt",
81
        authnotrequired => 0,
82
        flagsrequired   => { self_check => "self_checkout_module" },
81
        flagsrequired   => { self_check => "self_checkout_module" },
83
        query           => $query,
82
        query           => $query,
84
        type            => "opac",
83
        type            => "opac",
(-)a/opac/svc/auth/googleopenidconnect (-1 lines)
Lines 81-87 sub loginfailed { Link Here
81
            template_name   => 'opac-user.tt',
81
            template_name   => 'opac-user.tt',
82
            query           => $cgi_query,
82
            query           => $cgi_query,
83
            type            => 'opac',
83
            type            => 'opac',
84
            authnotrequired => 0,
85
        }
84
        }
86
    );
85
    );
87
    $template->param( 'invalidGoogleOpenIDConnectLogin' => $reason );
86
    $template->param( 'invalidGoogleOpenIDConnectLogin' => $reason );
(-)a/patron_lists/add-modify.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "patron_lists/add-modify.tt",
32
        template_name   => "patron_lists/add-modify.tt",
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired => { tools => 'manage_patron_lists' },
35
        flagsrequired => { tools => 'manage_patron_lists' },
37
    }
36
    }
38
);
37
);
(-)a/patron_lists/delete.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "patron_lists/lists.tt",
32
        template_name   => "patron_lists/lists.tt",
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired => { tools => 'manage_patron_lists' },
35
        flagsrequired => { tools => 'manage_patron_lists' },
37
    }
36
    }
38
);
37
);
(-)a/patron_lists/list.pl (-1 lines)
Lines 33-39 my ( $template, $logged_in_user, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "patron_lists/list.tt",
33
        template_name   => "patron_lists/list.tt",
34
        query           => $cgi,
34
        query           => $cgi,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired => { tools => 'manage_patron_lists' },
36
        flagsrequired => { tools => 'manage_patron_lists' },
38
    }
37
    }
39
);
38
);
(-)a/patron_lists/lists.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "patron_lists/lists.tt",
32
        template_name   => "patron_lists/lists.tt",
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired => { tools => 'manage_patron_lists' },
35
        flagsrequired => { tools => 'manage_patron_lists' },
37
    }
36
    }
38
);
37
);
(-)a/patron_lists/patrons.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "patron_lists/add-modify.tt",
32
        template_name   => "patron_lists/add-modify.tt",
33
        query           => $cgi,
33
        query           => $cgi,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired => { tools => 'manage_patron_lists' },
35
        flagsrequired => { tools => 'manage_patron_lists' },
37
    }
36
    }
38
);
37
);
(-)a/patroncards/add_user_search.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( Link Here
34
    {   template_name   => "common/patron_search.tt",
34
    {   template_name   => "common/patron_search.tt",
35
        query           => $input,
35
        query           => $input,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { catalogue => 1 },
37
        flagsrequired   => { catalogue => 1 },
39
    }
38
    }
40
);
39
);
(-)a/patroncards/create-pdf.pl (-1 lines)
Lines 40-46 my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ Link Here
40
                                                                     template_name   => "labels/label-home.tt",
40
                                                                     template_name   => "labels/label-home.tt",
41
                                                                     query           => $cgi,
41
                                                                     query           => $cgi,
42
                                                                     type            => "intranet",
42
                                                                     type            => "intranet",
43
                                                                     authnotrequired => 0,
44
                                                                     flagsrequired   => { tools => 'label_creator' },
43
                                                                     flagsrequired   => { tools => 'label_creator' },
45
                                                                     debug           => 1,
44
                                                                     debug           => 1,
46
                                                                     });
45
                                                                     });
(-)a/patroncards/edit-batch.pl (-1 lines)
Lines 37-43 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
37
        template_name   => "patroncards/edit-batch.tt",
37
        template_name   => "patroncards/edit-batch.tt",
38
        query           => $cgi,
38
        query           => $cgi,
39
        type            => "intranet",
39
        type            => "intranet",
40
        authnotrequired => 0,
41
        flagsrequired   => { catalogue => 1 },
40
        flagsrequired   => { catalogue => 1 },
42
        debug           => 1,
41
        debug           => 1,
43
    }
42
    }
(-)a/patroncards/edit-layout.pl (-1 lines)
Lines 36-42 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
36
        template_name   => "patroncards/edit-layout.tt",
36
        template_name   => "patroncards/edit-layout.tt",
37
        query           => $cgi,
37
        query           => $cgi,
38
        type            => "intranet",
38
        type            => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { catalogue => 1 },
39
        flagsrequired   => { catalogue => 1 },
41
        debug           => 1,
40
        debug           => 1,
42
    }
41
    }
(-)a/patroncards/edit-profile.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "patroncards/edit-profile.tt",
33
        template_name   => "patroncards/edit-profile.tt",
34
        query           => $cgi,
34
        query           => $cgi,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { catalogue => 1 },
36
        flagsrequired   => { catalogue => 1 },
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
(-)a/patroncards/edit-template.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "patroncards/edit-template.tt",
34
        template_name   => "patroncards/edit-template.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { catalogue => 1 },
37
        flagsrequired   => { catalogue => 1 },
39
        debug           => 1,
38
        debug           => 1,
40
    }
39
    }
(-)a/patroncards/home.pl (-1 lines)
Lines 31-37 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
31
        template_name   => "patroncards/home.tt",
31
        template_name   => "patroncards/home.tt",
32
        query           => $cgi,
32
        query           => $cgi,
33
        type            => "intranet",
33
        type            => "intranet",
34
        authnotrequired => 0,
35
        flagsrequired   => { catalogue => 1 },
34
        flagsrequired   => { catalogue => 1 },
36
        debug           => 1,
35
        debug           => 1,
37
    }
36
    }
(-)a/patroncards/image-manage.pl (-1 lines)
Lines 19-25 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
19
                    template_name       => "patroncards/image-manage.tt",
19
                    template_name       => "patroncards/image-manage.tt",
20
                    query               => $cgi,
20
                    query               => $cgi,
21
                    type                => "intranet",
21
                    type                => "intranet",
22
                    authnotrequired     => 0,
23
                    flagsrequired       => {tools => 'batch_upload_patron_images'}, # FIXME: establish flag for patron card creator
22
                    flagsrequired       => {tools => 'batch_upload_patron_images'}, # FIXME: establish flag for patron card creator
24
                    debug               => 0,
23
                    debug               => 0,
25
                    });
24
                    });
(-)a/patroncards/manage.pl (-1 lines)
Lines 37-43 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
37
        template_name   => "patroncards/manage.tt",
37
        template_name   => "patroncards/manage.tt",
38
        query           => $cgi,
38
        query           => $cgi,
39
        type            => "intranet",
39
        type            => "intranet",
40
        authnotrequired => 0,
41
        flagsrequired   => { catalogue => 1 },
40
        flagsrequired   => { catalogue => 1 },
42
        debug           => 1,
41
        debug           => 1,
43
    }
42
    }
(-)a/patroncards/print.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "patroncards/print.tt",
33
        template_name   => "patroncards/print.tt",
34
        query           => $cgi,
34
        query           => $cgi,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { catalogue => 1 },
36
        flagsrequired   => { catalogue => 1 },
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
(-)a/plugins/plugins-home.pl (-1 lines)
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
36
    {   template_name => ($plugins_enabled) ? "plugins/plugins-home.tt" : "plugins/plugins-disabled.tt",
36
    {   template_name => ($plugins_enabled) ? "plugins/plugins-home.tt" : "plugins/plugins-disabled.tt",
37
        query         => $input,
37
        query         => $input,
38
        type          => "intranet",
38
        type          => "intranet",
39
        authnotrequired => 0,
40
        flagsrequired   => { plugins => '*' },
39
        flagsrequired   => { plugins => '*' },
41
        debug           => 1,
40
        debug           => 1,
42
    }
41
    }
(-)a/plugins/plugins-uninstall.pl (-1 lines)
Lines 38-44 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
38
    {   template_name   => "plugins/plugins-upload.tt",
38
    {   template_name   => "plugins/plugins-upload.tt",
39
        query           => $input,
39
        query           => $input,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => { plugins => 'manage' },
41
        flagsrequired   => { plugins => 'manage' },
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
(-)a/plugins/plugins-upload.pl (-1 lines)
Lines 38-44 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
38
    {   template_name => ($plugins_enabled) ? "plugins/plugins-upload.tt" : "plugins/plugins-disabled.tt",
38
    {   template_name => ($plugins_enabled) ? "plugins/plugins-upload.tt" : "plugins/plugins-disabled.tt",
39
        query         => $input,
39
        query         => $input,
40
        type          => "intranet",
40
        type          => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => { plugins => 'manage' },
41
        flagsrequired   => { plugins => 'manage' },
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
(-)a/plugins/run.pl (-1 lines)
Lines 38-44 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
38
    {   template_name   => "plugins/plugins-disabled.tt",
38
    {   template_name   => "plugins/plugins-disabled.tt",
39
        query           => $cgi,
39
        query           => $cgi,
40
        type            => "intranet",
40
        type            => "intranet",
41
        authnotrequired => 0,
42
        flagsrequired   => { plugins => $method },
41
        flagsrequired   => { plugins => $method },
43
        debug           => 1,
42
        debug           => 1,
44
    }
43
    }
(-)a/pos/pay.pl (-1 lines)
Lines 25-31 my ( $template, $loggedinuser, $cookie, $user_flags ) = get_template_and_user( Link Here
25
        template_name   => 'pos/pay.tt',
25
        template_name   => 'pos/pay.tt',
26
        query           => $input,
26
        query           => $input,
27
        type            => 'intranet',
27
        type            => 'intranet',
28
        authnotrequired => 0,
29
        flagsrequired   => { cash_management => 'takepayment' },
28
        flagsrequired   => { cash_management => 'takepayment' },
30
    }
29
    }
31
);
30
);
(-)a/pos/printreceipt.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "pos/printreceipt.tt",
33
        template_name   => "pos/printreceipt.tt",
34
        query           => $input,
34
        query           => $input,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
    }
36
    }
38
);
37
);
39
38
(-)a/reports/acquisitions_stats.pl (-1 lines)
Lines 66-72 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
66
        template_name   => $fullreportname,
66
        template_name   => $fullreportname,
67
        query           => $input,
67
        query           => $input,
68
        type            => "intranet",
68
        type            => "intranet",
69
        authnotrequired => 0,
70
        flagsrequired   => { reports => '*' },
69
        flagsrequired   => { reports => '*' },
71
        debug           => 1,
70
        debug           => 1,
72
    }
71
    }
(-)a/reports/bor_issues_top.pl (-1 lines)
Lines 58-64 my ($template, $borrowernumber, $cookie) Link Here
58
    = get_template_and_user({template_name => $fullreportname,
58
    = get_template_and_user({template_name => $fullreportname,
59
                query => $input,
59
                query => $input,
60
                type => "intranet",
60
                type => "intranet",
61
                authnotrequired => 0,
62
                flagsrequired => {reports => '*'},
61
                flagsrequired => {reports => '*'},
63
                debug => 1,
62
                debug => 1,
64
                });
63
                });
(-)a/reports/borrowers_out.pl (-1 lines)
Lines 58-64 my ($template, $borrowernumber, $cookie) Link Here
58
    = get_template_and_user({template_name => $fullreportname,
58
    = get_template_and_user({template_name => $fullreportname,
59
                query => $input,
59
                query => $input,
60
                type => "intranet",
60
                type => "intranet",
61
                authnotrequired => 0,
62
                flagsrequired => {reports => '*'},
61
                flagsrequired => {reports => '*'},
63
                debug => 1,
62
                debug => 1,
64
                });
63
                });
(-)a/reports/borrowers_stats.pl (-1 lines)
Lines 71-77 my ($template, $borrowernumber, $cookie) Link Here
71
	= get_template_and_user({template_name => $fullreportname,
71
	= get_template_and_user({template_name => $fullreportname,
72
				query => $input,
72
				query => $input,
73
				type => "intranet",
73
				type => "intranet",
74
				authnotrequired => 0,
75
				flagsrequired => {reports => '*'},
74
				flagsrequired => {reports => '*'},
76
				debug => 1,
75
				debug => 1,
77
				});
76
				});
(-)a/reports/cash_register_stats.pl (-1 lines)
Lines 37-43 my ($template, $borrowernumber, $cookie) = get_template_and_user({ Link Here
37
    template_name => "reports/cash_register_stats.tt",
37
    template_name => "reports/cash_register_stats.tt",
38
    query => $input,
38
    query => $input,
39
    type => "intranet",
39
    type => "intranet",
40
    authnotrequired => 0,
41
    flagsrequired => {reports => '*'},
40
    flagsrequired => {reports => '*'},
42
    debug => 1,
41
    debug => 1,
43
});
42
});
(-)a/reports/cat_issues_top.pl (-1 lines)
Lines 55-61 my ($template, $borrowernumber, $cookie) Link Here
55
    = get_template_and_user({template_name => $fullreportname,
55
    = get_template_and_user({template_name => $fullreportname,
56
                query => $input,
56
                query => $input,
57
                type => "intranet",
57
                type => "intranet",
58
                authnotrequired => 0,
59
                flagsrequired => { reports => '*'},
58
                flagsrequired => { reports => '*'},
60
                debug => 1,
59
                debug => 1,
61
                });
60
                });
(-)a/reports/catalogue_out.pl (-1 lines)
Lines 44-50 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
44
        template_name   => "reports/catalogue_out.tt",
44
        template_name   => "reports/catalogue_out.tt",
45
        query           => $input,
45
        query           => $input,
46
        type            => "intranet",
46
        type            => "intranet",
47
        authnotrequired => 0,
48
        flagsrequired   => { reports => 'execute_reports' },
47
        flagsrequired   => { reports => 'execute_reports' },
49
        debug           => 1,
48
        debug           => 1,
50
    }
49
    }
(-)a/reports/catalogue_stats.pl (-1 lines)
Lines 70-76 my ($template, $borrowernumber, $cookie) Link Here
70
	= get_template_and_user({template_name => $fullreportname,
70
	= get_template_and_user({template_name => $fullreportname,
71
				query => $input,
71
				query => $input,
72
				type => "intranet",
72
				type => "intranet",
73
				authnotrequired => 0,
74
				flagsrequired => {reports => '*'},
73
				flagsrequired => {reports => '*'},
75
				debug => 1,
74
				debug => 1,
76
				});
75
				});
(-)a/reports/dictionary.pl (-1 lines)
Lines 44-50 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
44
    {   template_name   => "reports/dictionary.tt",
44
    {   template_name   => "reports/dictionary.tt",
45
        query           => $input,
45
        query           => $input,
46
        type            => "intranet",
46
        type            => "intranet",
47
        authnotrequired => 0,
48
        flagsrequired   => { reports => '*' },
47
        flagsrequired   => { reports => '*' },
49
        debug           => 1,
48
        debug           => 1,
50
    }
49
    }
(-)a/reports/guided_reports.pl (-1 lines)
Lines 73-79 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
73
        template_name   => "reports/guided_reports_start.tt",
73
        template_name   => "reports/guided_reports_start.tt",
74
        query           => $input,
74
        query           => $input,
75
        type            => "intranet",
75
        type            => "intranet",
76
        authnotrequired => 0,
77
        flagsrequired   => { reports => $flagsrequired },
76
        flagsrequired   => { reports => $flagsrequired },
78
        debug           => 1,
77
        debug           => 1,
79
    }
78
    }
(-)a/reports/issues_avg_stats.pl (-1 lines)
Lines 66-72 my ($template, $borrowernumber, $cookie) Link Here
66
    = get_template_and_user({template_name => $fullreportname,
66
    = get_template_and_user({template_name => $fullreportname,
67
                query => $input,
67
                query => $input,
68
                type => "intranet",
68
                type => "intranet",
69
                authnotrequired => 0,
70
                flagsrequired => {reports => '*'},
69
                flagsrequired => {reports => '*'},
71
                debug => 1,
70
                debug => 1,
72
                    });
71
                    });
(-)a/reports/issues_stats.pl (-1 lines)
Lines 78-84 my ($template, $borrowernumber, $cookie) = get_template_and_user({ Link Here
78
	template_name => $fullreportname,
78
	template_name => $fullreportname,
79
	query => $input,
79
	query => $input,
80
	type => "intranet",
80
	type => "intranet",
81
	authnotrequired => 0,
82
	flagsrequired => {reports => '*'},
81
	flagsrequired => {reports => '*'},
83
	debug => 0,
82
	debug => 0,
84
});
83
});
(-)a/reports/itemslost.pl (-1 lines)
Lines 44-50 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
44
        template_name   => "reports/itemslost.tt",
44
        template_name   => "reports/itemslost.tt",
45
        query           => $query,
45
        query           => $query,
46
        type            => "intranet",
46
        type            => "intranet",
47
        authnotrequired => 0,
48
        flagsrequired   => { reports => '*' },
47
        flagsrequired   => { reports => '*' },
49
        debug           => 1,
48
        debug           => 1,
50
    }
49
    }
(-)a/reports/manager.pl (-1 lines)
Lines 34-40 my ($template, $borrowernumber, $cookie) Link Here
34
	= get_template_and_user({template_name => $fullreportname,
34
	= get_template_and_user({template_name => $fullreportname,
35
				query => $input,
35
				query => $input,
36
				type => "intranet",
36
				type => "intranet",
37
				authnotrequired => 0,
38
				flagsrequired => {reports => '*'},
37
				flagsrequired => {reports => '*'},
39
				debug => 1,
38
				debug => 1,
40
				});
39
				});
(-)a/reports/orders_by_fund.pl (-1 lines)
Lines 43-49 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
43
        template_name   => "reports/orders_by_budget.tt",
43
        template_name   => "reports/orders_by_budget.tt",
44
        query           => $query,
44
        query           => $query,
45
        type            => "intranet",
45
        type            => "intranet",
46
        authnotrequired => 0,
47
        flagsrequired   => { reports => '*' },
46
        flagsrequired   => { reports => '*' },
48
        debug           => 1,
47
        debug           => 1,
49
    }
48
    }
(-)a/reports/reports-home.pl (-1 lines)
Lines 30-36 my ($template, $loggedinuser, $cookie) Link Here
30
= get_template_and_user({template_name => "reports/reports-home.tt",
30
= get_template_and_user({template_name => "reports/reports-home.tt",
31
				query => $query,
31
				query => $query,
32
				type => "intranet",
32
				type => "intranet",
33
				authnotrequired => 0,
34
				flagsrequired => {reports => '*'},
33
				flagsrequired => {reports => '*'},
35
				debug => 1,
34
				debug => 1,
36
				});
35
				});
(-)a/reports/reserves_stats.pl (-1 lines)
Lines 66-72 my ($template, $borrowernumber, $cookie) = get_template_and_user({ Link Here
66
	template_name => $fullreportname,
66
	template_name => $fullreportname,
67
	query => $input,
67
	query => $input,
68
	type => "intranet",
68
	type => "intranet",
69
	authnotrequired => 0,
70
	flagsrequired => {reports => '*'},
69
	flagsrequired => {reports => '*'},
71
	debug => 0,
70
	debug => 0,
72
});
71
});
(-)a/reports/serials_stats.pl (-1 lines)
Lines 50-56 my ($template, $borrowernumber, $cookie) Link Here
50
	= get_template_and_user({template_name => $templatename,
50
	= get_template_and_user({template_name => $templatename,
51
				query => $input,
51
				query => $input,
52
				type => "intranet",
52
				type => "intranet",
53
				authnotrequired => 0,
54
				flagsrequired => {reports => '*'},
53
				flagsrequired => {reports => '*'},
55
				debug => 1,
54
				debug => 1,
56
				});
55
				});
(-)a/reserve/modrequest.pl (-1 lines)
Lines 35-41 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
35
        template_name   => "about.tt",
35
        template_name   => "about.tt",
36
        query           => $query,
36
        query           => $query,
37
        type            => "intranet",
37
        type            => "intranet",
38
        authnotrequired => 0,
39
        flagsrequired   => { catalogue => 1 },
38
        flagsrequired   => { catalogue => 1 },
40
        debug           => 1,
39
        debug           => 1,
41
    }
40
    }
(-)a/reserve/modrequest_suspendall.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "about.tt",
34
        template_name   => "about.tt",
35
        query           => $query,
35
        query           => $query,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { catalogue => 1 },
37
        flagsrequired   => { catalogue => 1 },
39
        debug           => 1,
38
        debug           => 1,
40
    }
39
    }
(-)a/reserve/request.pl (-1 lines)
Lines 62-68 my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user( Link Here
62
        template_name   => "reserve/request.tt",
62
        template_name   => "reserve/request.tt",
63
        query           => $input,
63
        query           => $input,
64
        type            => "intranet",
64
        type            => "intranet",
65
        authnotrequired => 0,
66
        flagsrequired   => { reserveforothers => 'place_holds' },
65
        flagsrequired   => { reserveforothers => 'place_holds' },
67
    }
66
    }
68
);
67
);
(-)a/reviews/reviewswaiting.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "reviews/reviewswaiting.tt",
32
        template_name   => "reviews/reviewswaiting.tt",
33
        query           => $query,
33
        query           => $query,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired   => { tools => 'moderate_comments' },
35
        flagsrequired   => { tools => 'moderate_comments' },
37
        debug           => 1,
36
        debug           => 1,
38
    }
37
    }
(-)a/rotating_collections/addItems.pl (-1 lines)
Lines 35-41 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
35
        template_name   => "rotating_collections/addItems.tt",
35
        template_name   => "rotating_collections/addItems.tt",
36
        query           => $query,
36
        query           => $query,
37
        type            => "intranet",
37
        type            => "intranet",
38
        authnotrequired => 0,
39
        flagsrequired   => { tools => 'rotating_collections' },
38
        flagsrequired   => { tools => 'rotating_collections' },
40
        debug           => 1,
39
        debug           => 1,
41
    }
40
    }
(-)a/rotating_collections/editCollections.pl (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "rotating_collections/editCollections.tt",
33
        template_name   => "rotating_collections/editCollections.tt",
34
        query           => $query,
34
        query           => $query,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { tools => 'rotating_collections' },
36
        flagsrequired   => { tools => 'rotating_collections' },
38
        debug           => 1,
37
        debug           => 1,
39
    }
38
    }
(-)a/rotating_collections/rotatingCollections.pl (-1 lines)
Lines 32-38 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
32
        template_name   => "rotating_collections/rotatingCollections.tt",
32
        template_name   => "rotating_collections/rotatingCollections.tt",
33
        query           => $query,
33
        query           => $query,
34
        type            => "intranet",
34
        type            => "intranet",
35
        authnotrequired => 0,
36
        flagsrequired   => { tools => 'rotating_collections' },
35
        flagsrequired   => { tools => 'rotating_collections' },
37
        debug           => 1,
36
        debug           => 1,
38
    }
37
    }
(-)a/rotating_collections/transferCollection.pl (-1 lines)
Lines 35-41 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
35
        template_name   => "rotating_collections/transferCollection.tt",
35
        template_name   => "rotating_collections/transferCollection.tt",
36
        query           => $query,
36
        query           => $query,
37
        type            => "intranet",
37
        type            => "intranet",
38
        authnotrequired => 0,
39
        flagsrequired   => { tools => 'rotating_collections' },
38
        flagsrequired   => { tools => 'rotating_collections' },
40
        debug           => 1,
39
        debug           => 1,
41
    }
40
    }
(-)a/serials/acqui-search-result.pl (-1 lines)
Lines 55-61 my ($template, $loggedinuser, $cookie) Link Here
55
    = get_template_and_user({template_name => "serials/acqui-search-result.tt",
55
    = get_template_and_user({template_name => "serials/acqui-search-result.tt",
56
                 query => $query,
56
                 query => $query,
57
                 type => "intranet",
57
                 type => "intranet",
58
                 authnotrequired => 0,
59
                 flagsrequired => {serials => '*'},
58
                 flagsrequired => {serials => '*'},
60
                 debug => 1,
59
                 debug => 1,
61
                 });
60
                 });
(-)a/serials/acqui-search.pl (-1 lines)
Lines 30-36 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
30
        template_name   => "serials/acqui-search.tt",
30
        template_name   => "serials/acqui-search.tt",
31
        query           => $query,
31
        query           => $query,
32
        type            => "intranet",
32
        type            => "intranet",
33
        authnotrequired => 0,
34
        flagsrequired   => { serials => '*' },
33
        flagsrequired   => { serials => '*' },
35
        debug           => 1,
34
        debug           => 1,
36
    }
35
    }
(-)a/serials/add_user_search.pl (-1 lines)
Lines 34-40 my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( Link Here
34
    {   template_name   => "common/patron_search.tt",
34
    {   template_name   => "common/patron_search.tt",
35
        query           => $input,
35
        query           => $input,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired => { serials => 'routing' },
37
        flagsrequired => { serials => 'routing' },
39
    }
38
    }
40
);
39
);
(-)a/serials/checkexpiration.pl (-1 lines)
Lines 59-65 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user ( Link Here
59
        template_name   => "serials/checkexpiration.tt",
59
        template_name   => "serials/checkexpiration.tt",
60
        query           => $query,
60
        query           => $query,
61
        type            => "intranet",
61
        type            => "intranet",
62
        authnotrequired => 0,
63
        flagsrequired   => { serials => 'check_expiration' },
62
        flagsrequired   => { serials => 'check_expiration' },
64
        debug           => 1,
63
        debug           => 1,
65
    }
64
    }
(-)a/serials/claims.pl (-1 lines)
Lines 43-49 my ($template, $loggedinuser, $cookie) Link Here
43
= get_template_and_user({template_name => 'serials/claims.tt',
43
= get_template_and_user({template_name => 'serials/claims.tt',
44
            query => $input,
44
            query => $input,
45
            type => 'intranet',
45
            type => 'intranet',
46
            authnotrequired => 0,
47
            flagsrequired => {serials => 'claim_serials'},
46
            flagsrequired => {serials => 'claim_serials'},
48
            debug => 1,
47
            debug => 1,
49
            });
48
            });
(-)a/serials/routing-preview.pl (-2 lines)
Lines 112-118 if($ok){ Link Here
112
= get_template_and_user({template_name => "serials/routing-preview-slip.tt",
112
= get_template_and_user({template_name => "serials/routing-preview-slip.tt",
113
				query => $query,
113
				query => $query,
114
				type => "intranet",
114
				type => "intranet",
115
				authnotrequired => 0,
116
				flagsrequired => {serials => '*'},
115
				flagsrequired => {serials => '*'},
117
				debug => 1,
116
				debug => 1,
118
				});
117
				});
Lines 121-127 if($ok){ Link Here
121
= get_template_and_user({template_name => "serials/routing-preview.tt",
120
= get_template_and_user({template_name => "serials/routing-preview.tt",
122
				query => $query,
121
				query => $query,
123
				type => "intranet",
122
				type => "intranet",
124
				authnotrequired => 0,
125
				flagsrequired => {serials => '*'},
123
				flagsrequired => {serials => '*'},
126
				debug => 1,
124
				debug => 1,
127
				});
125
				});
(-)a/serials/routing.pl (-1 lines)
Lines 56-62 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
56
        template_name   => 'serials/routing.tt',
56
        template_name   => 'serials/routing.tt',
57
        query           => $query,
57
        query           => $query,
58
        type            => 'intranet',
58
        type            => 'intranet',
59
        authnotrequired => 0,
60
        flagsrequired   => { serials => 'routing' },
59
        flagsrequired   => { serials => 'routing' },
61
    }
60
    }
62
);
61
);
(-)a/serials/serials-collection.pl (-1 lines)
Lines 43-49 my ($template, $loggedinuser, $cookie) Link Here
43
  = get_template_and_user({template_name => "serials/serials-collection.tt",
43
  = get_template_and_user({template_name => "serials/serials-collection.tt",
44
                            query => $query,
44
                            query => $query,
45
                            type => "intranet",
45
                            type => "intranet",
46
                            authnotrequired => 0,
47
                            flagsrequired => {serials => '*'},
46
                            flagsrequired => {serials => '*'},
48
                            debug => 1,
47
                            debug => 1,
49
                            });
48
                            });
(-)a/serials/serials-edit.pl (-1 lines)
Lines 122-128 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
122
        template_name   => 'serials/serials-edit.tt',
122
        template_name   => 'serials/serials-edit.tt',
123
        query           => $query,
123
        query           => $query,
124
        type            => 'intranet',
124
        type            => 'intranet',
125
        authnotrequired => 0,
126
        flagsrequired   => { serials => 'receive_serials' },
125
        flagsrequired   => { serials => 'receive_serials' },
127
        debug           => 1,
126
        debug           => 1,
128
    }
127
    }
(-)a/serials/serials-home.pl (-1 lines)
Lines 43-49 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
43
        template_name   => "serials/serials-home.tt",
43
        template_name   => "serials/serials-home.tt",
44
        query           => $query,
44
        query           => $query,
45
        type            => "intranet",
45
        type            => "intranet",
46
        authnotrequired => 0,
47
        flagsrequired   => { serials => '*' },
46
        flagsrequired   => { serials => '*' },
48
        debug           => 1,
47
        debug           => 1,
49
    }
48
    }
(-)a/serials/serials-search.pl (-1 lines)
Lines 62-68 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
62
        template_name   => "serials/serials-search.tt",
62
        template_name   => "serials/serials-search.tt",
63
        query           => $query,
63
        query           => $query,
64
        type            => "intranet",
64
        type            => "intranet",
65
        authnotrequired => 0,
66
        flagsrequired   => { serials => '*' },
65
        flagsrequired   => { serials => '*' },
67
        debug           => 1,
66
        debug           => 1,
68
    }
67
    }
(-)a/serials/showpredictionpattern.pl (-1 lines)
Lines 43-49 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { Link Here
43
    template_name   => 'serials/showpredictionpattern.tt',
43
    template_name   => 'serials/showpredictionpattern.tt',
44
    query           => $input,
44
    query           => $input,
45
    type            => 'intranet',
45
    type            => 'intranet',
46
    authnotrequired => 0,
47
    flagsrequired   => { 'serials' => '*' },
46
    flagsrequired   => { 'serials' => '*' },
48
} );
47
} );
49
48
(-)a/serials/subscription-add.pl (-1 lines)
Lines 56-62 our ($template, $loggedinuser, $cookie) Link Here
56
= get_template_and_user({template_name => "serials/subscription-add.tt",
56
= get_template_and_user({template_name => "serials/subscription-add.tt",
57
				query => $query,
57
				query => $query,
58
				type => "intranet",
58
				type => "intranet",
59
				authnotrequired => 0,
60
				flagsrequired => {serials => $permission},
59
				flagsrequired => {serials => $permission},
61
				debug => 1,
60
				debug => 1,
62
				});
61
				});
(-)a/serials/subscription-batchedit.pl (-1 lines)
Lines 35-41 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
35
    template_name => 'serials/subscription-batchedit.tt',
35
    template_name => 'serials/subscription-batchedit.tt',
36
    query => $cgi,
36
    query => $cgi,
37
    type => 'intranet',
37
    type => 'intranet',
38
    authnotrequired => 0,
39
    flagsrequired => {serials => 'edit_subscription'},
38
    flagsrequired => {serials => 'edit_subscription'},
40
});
39
});
41
40
(-)a/serials/subscription-bib-search.pl (-2 lines)
Lines 83-89 if ( $op eq "do_search" && $query ) { Link Here
83
            template_name   => "serials/result.tt",
83
            template_name   => "serials/result.tt",
84
            query           => $input,
84
            query           => $input,
85
            type            => "intranet",
85
            type            => "intranet",
86
            authnotrequired => 0,
87
            flagsrequired   => { catalogue => 1, serials => '*' },
86
            flagsrequired   => { catalogue => 1, serials => '*' },
88
            debug           => 1,
87
            debug           => 1,
89
        }
88
        }
Lines 192-198 else { Link Here
192
            template_name   => "serials/subscription-bib-search.tt",
191
            template_name   => "serials/subscription-bib-search.tt",
193
            query           => $input,
192
            query           => $input,
194
            type            => "intranet",
193
            type            => "intranet",
195
            authnotrequired => 0,
196
            flagsrequired   => { catalogue => 1, serials => '*' },
194
            flagsrequired   => { catalogue => 1, serials => '*' },
197
            debug           => 1,
195
            debug           => 1,
198
        }
196
        }
(-)a/serials/subscription-detail.pl (-1 lines)
Lines 59-65 my ($template, $loggedinuser, $cookie) Link Here
59
= get_template_and_user({template_name => "serials/subscription-detail.tt",
59
= get_template_and_user({template_name => "serials/subscription-detail.tt",
60
                query => $query,
60
                query => $query,
61
                type => "intranet",
61
                type => "intranet",
62
                authnotrequired => 0,
63
                flagsrequired => {serials => $permission},
62
                flagsrequired => {serials => $permission},
64
                debug => 1,
63
                debug => 1,
65
                });
64
                });
(-)a/serials/subscription-frequencies.pl (-1 lines)
Lines 41-47 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { Link Here
41
    template_name   => 'serials/subscription-frequencies.tt',
41
    template_name   => 'serials/subscription-frequencies.tt',
42
    query           => $input,
42
    query           => $input,
43
    type            => 'intranet',
43
    type            => 'intranet',
44
    authnotrequired => 0,
45
    flagsrequired   => { 'serials' => 1 },
44
    flagsrequired   => { 'serials' => 1 },
46
    debug           => 1,
45
    debug           => 1,
47
} );
46
} );
(-)a/serials/subscription-history.pl (-1 lines)
Lines 43-49 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { Link Here
43
    template_name   => 'serials/subscription-history.tt',
43
    template_name   => 'serials/subscription-history.tt',
44
    query           => $input,
44
    query           => $input,
45
    type            => 'intranet',
45
    type            => 'intranet',
46
    authnotrequired => 0,
47
    flagsrequired   => { 'serials' => 'edit_subscription' },
46
    flagsrequired   => { 'serials' => 'edit_subscription' },
48
    debug           => 1,
47
    debug           => 1,
49
} );
48
} );
(-)a/serials/subscription-numberpatterns.pl (-1 lines)
Lines 40-46 my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user( { Link Here
40
    template_name   => 'serials/subscription-numberpatterns.tt',
40
    template_name   => 'serials/subscription-numberpatterns.tt',
41
    query           => $input,
41
    query           => $input,
42
    type            => 'intranet',
42
    type            => 'intranet',
43
    authnotrequired => 0,
44
    flagsrequired   => { 'serials' => 1 }
43
    flagsrequired   => { 'serials' => 1 }
45
} );
44
} );
46
45
(-)a/serials/subscription-renew.pl (-1 lines)
Lines 68-74 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
68
        template_name   => "serials/subscription-renew.tt",
68
        template_name   => "serials/subscription-renew.tt",
69
        query           => $query,
69
        query           => $query,
70
        type            => "intranet",
70
        type            => "intranet",
71
        authnotrequired => 0,
72
        flagsrequired   => { serials => 'renew_subscription' },
71
        flagsrequired   => { serials => 'renew_subscription' },
73
        debug           => 1,
72
        debug           => 1,
74
    }
73
    }
(-)a/serials/viewalerts.pl (-1 lines)
Lines 32-38 my ($template, $loggedinuser, $cookie) Link Here
32
    = get_template_and_user({template_name => 'serials/viewalerts.tt',
32
    = get_template_and_user({template_name => 'serials/viewalerts.tt',
33
                 query => $input,
33
                 query => $input,
34
                 type => "intranet",
34
                 type => "intranet",
35
                 authnotrequired => 0,
36
                 flagsrequired => {serials => '*'},
35
                 flagsrequired => {serials => '*'},
37
                 debug => 1,
36
                 debug => 1,
38
                 });
37
                 });
(-)a/svc/convert_report (-1 lines)
Lines 33-39 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
33
        template_name   => "reports/convert_report.tt",
33
        template_name   => "reports/convert_report.tt",
34
        query           => $query,
34
        query           => $query,
35
        type            => "intranet",
35
        type            => "intranet",
36
        authnotrequired => 0,
37
        flagsrequired   => { reports => 'execute_reports' },
36
        flagsrequired   => { reports => 'execute_reports' },
38
    }
37
    }
39
);
38
);
(-)a/svc/letters/preview (-1 lines)
Lines 35-41 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
35
        template_name   => "tools/preview_letter.tt",
35
        template_name   => "tools/preview_letter.tt",
36
        query           => $input,
36
        query           => $input,
37
        type            => "intranet",
37
        type            => "intranet",
38
        authnotrequired => 0,
39
        flagsrequired   => { tools => 'edit_notices' },
38
        flagsrequired   => { tools => 'edit_notices' },
40
        debug           => 1,
39
        debug           => 1,
41
    }
40
    }
(-)a/svc/mana/search (-1 lines)
Lines 49-55 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
49
        template_name   => $templatename,
49
        template_name   => $templatename,
50
        query           => $input,
50
        query           => $input,
51
        type            => "intranet",
51
        type            => "intranet",
52
        authnotrequired => 0,
53
52
54
        # flagsrequired   => { serials => $permission },
53
        # flagsrequired   => { serials => $permission },
55
        flagsrequired => { serials => 'create_subscription' },
54
        flagsrequired => { serials => 'create_subscription' },
(-)a/svc/members/search (-1 lines)
Lines 35-41 my ($template, $user, $cookie) = get_template_and_user({ Link Here
35
    template_name   => scalar $input->param('template_path'),
35
    template_name   => scalar $input->param('template_path'),
36
    query           => $input,
36
    query           => $input,
37
    type            => "intranet",
37
    type            => "intranet",
38
    authnotrequired => 0,
39
    flagsrequired   => { borrowers => 'edit_borrowers' }
38
    flagsrequired   => { borrowers => 'edit_borrowers' }
40
});
39
});
41
40
(-)a/svc/report (-1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        template_name   => "intranet-main.tt",
45
        template_name   => "intranet-main.tt",
46
        query           => $query,
46
        query           => $query,
47
        type            => "intranet",
47
        type            => "intranet",
48
        authnotrequired => 0,
49
        flagsrequired   => { catalogue => 1, },
48
        flagsrequired   => { catalogue => 1, },
50
    }
49
    }
51
);
50
);
(-)a/svc/virtualshelves/search (-1 lines)
Lines 16-22 my ($template, $user, $cookie) = get_template_and_user({ Link Here
16
    template_name   => scalar $input->param('template_path'),
16
    template_name   => scalar $input->param('template_path'),
17
    query           => $input,
17
    query           => $input,
18
    type            => "intranet",
18
    type            => "intranet",
19
    authnotrequired => 0,
20
    flagsrequired   => { catalogue => 1 }
19
    flagsrequired   => { catalogue => 1 }
21
});
20
});
22
21
(-)a/t/db_dependent/Search/History.t (-2 lines)
Lines 441-447 my ( $template, $loggedinuser, $cookies ) = get_template_and_user( Link Here
441
        template_name   => "opac-user.tt",
441
        template_name   => "opac-user.tt",
442
        query           => $query,
442
        query           => $query,
443
        type            => "opac",
443
        type            => "opac",
444
        authnotrequired => 0,
445
        debug           => 1
444
        debug           => 1
446
    }
445
    }
447
);
446
);
Lines 467-473 $result = $schema->resultset('SearchHistory')->search()->count; Link Here
467
        template_name   => "opac-user.tt",
466
        template_name   => "opac-user.tt",
468
        query           => $query,
467
        query           => $query,
469
        type            => "opac",
468
        type            => "opac",
470
        authnotrequired => 0,
471
        debug           => 1
469
        debug           => 1
472
    }
470
    }
473
);
471
);
(-)a/tags/list.pl (-1 lines)
Lines 43-49 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
43
        query           => $query,
43
        query           => $query,
44
        type            => "intranet",
44
        type            => "intranet",
45
        debug           => 1,
45
        debug           => 1,
46
        authnotrequired => 0,
47
        flagsrequired   => $needed_flags,
46
        flagsrequired   => $needed_flags,
48
    }
47
    }
49
);
48
);
(-)a/tags/review.pl (-1 lines)
Lines 83-89 my ($template, $borrowernumber, $cookie) = get_template_and_user( Link Here
83
        query           => $input,
83
        query           => $input,
84
        type            => "intranet",
84
        type            => "intranet",
85
        debug           => 1,
85
        debug           => 1,
86
        authnotrequired => 0,
87
        flagsrequired   => $needed_flags,
86
        flagsrequired   => $needed_flags,
88
    }
87
    }
89
);
88
);
(-)a/tools/access_files.pl (-1 lines)
Lines 52-58 my ($template, $borrowernumber, $cookie) Link Here
52
    = get_template_and_user({template_name => "tools/access_files.tt",
52
    = get_template_and_user({template_name => "tools/access_files.tt",
53
                query => $input,
53
                query => $input,
54
                type => "intranet",
54
                type => "intranet",
55
                authnotrequired => 0,
56
                flagsrequired => { tools => 'access_files' },
55
                flagsrequired => { tools => 'access_files' },
57
                });
56
                });
58
57
(-)a/tools/automatic_item_modification_by_age.pl (-1 lines)
Lines 51-57 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
51
        template_name   => "tools/automatic_item_modification_by_age.tt",
51
        template_name   => "tools/automatic_item_modification_by_age.tt",
52
        query           => $cgi,
52
        query           => $cgi,
53
        type            => "intranet",
53
        type            => "intranet",
54
        authnotrequired => 0,
55
        flagsrequired   => { tools => 'items_batchmod' },
54
        flagsrequired   => { tools => 'items_batchmod' },
56
    }
55
    }
57
);
56
);
(-)a/tools/batchMod.pl (-1 lines)
Lines 70-76 my ($template, $loggedinuser, $cookie) Link Here
70
    = get_template_and_user({template_name => $template_name,
70
    = get_template_and_user({template_name => $template_name,
71
                 query => $input,
71
                 query => $input,
72
                 type => "intranet",
72
                 type => "intranet",
73
                 authnotrequired => 0,
74
                 flagsrequired => $template_flag,
73
                 flagsrequired => $template_flag,
75
                 });
74
                 });
76
75
(-)a/tools/batch_delete_records.pl (-1 lines)
Lines 41-47 my ($template, $loggedinuser, $cookie) = get_template_and_user({ Link Here
41
        template_name => 'tools/batch_delete_records.tt',
41
        template_name => 'tools/batch_delete_records.tt',
42
        query => $input,
42
        query => $input,
43
        type => "intranet",
43
        type => "intranet",
44
        authnotrequired => 0,
45
        flagsrequired => { tools => 'records_batchdel' },
44
        flagsrequired => { tools => 'records_batchdel' },
46
});
45
});
47
46
(-)a/tools/batch_record_modification.pl (-1 lines)
Lines 46-52 my ( $template, $loggedinuser, $cookie ) = get_template_and_user({ Link Here
46
        template_name => 'tools/batch_record_modification.tt',
46
        template_name => 'tools/batch_record_modification.tt',
47
        query => $input,
47
        query => $input,
48
        type => "intranet",
48
        type => "intranet",
49
        authnotrequired => 0,
50
        flagsrequired => { tools => 'records_batchmod' },
49
        flagsrequired => { tools => 'records_batchmod' },
51
});
50
});
52
51
(-)a/tools/cleanborrowers.pl (-1 lines)
Lines 79-85 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
79
    {   template_name   => "tools/cleanborrowers.tt",
79
    {   template_name   => "tools/cleanborrowers.tt",
80
        query           => $cgi,
80
        query           => $cgi,
81
        type            => "intranet",
81
        type            => "intranet",
82
        authnotrequired => 0,
83
        flagsrequired   => { tools => 'delete_anonymize_patrons', catalogue => 1 },
82
        flagsrequired   => { tools => 'delete_anonymize_patrons', catalogue => 1 },
84
    }
83
    }
85
);
84
);
(-)a/tools/csv-profiles.pl (-1 lines)
Lines 53-59 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
53
    {   template_name   => "tools/csv-profiles.tt",
53
    {   template_name   => "tools/csv-profiles.tt",
54
        query           => $input,
54
        query           => $input,
55
        type            => "intranet",
55
        type            => "intranet",
56
        authnotrequired => 0,
57
        flagsrequired   => { tools => 'manage_csv_profiles' },
56
        flagsrequired   => { tools => 'manage_csv_profiles' },
58
        debug           => 1,
57
        debug           => 1,
59
    }
58
    }
(-)a/tools/export.pl (-1 lines)
Lines 61-67 my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( Link Here
61
        template_name   => "tools/export.tt",
61
        template_name   => "tools/export.tt",
62
        query           => $query,
62
        query           => $query,
63
        type            => "intranet",
63
        type            => "intranet",
64
        authnotrequired => 0,
65
        flagsrequired   => { tools => 'export_catalog' },
64
        flagsrequired   => { tools => 'export_catalog' },
66
        debug           => 1,
65
        debug           => 1,
67
    }
66
    }
(-)a/tools/holidays.pl (-1 lines)
Lines 34-40 my ($template, $loggedinuser, $cookie) Link Here
34
    = get_template_and_user({template_name => "tools/holidays.tt",
34
    = get_template_and_user({template_name => "tools/holidays.tt",
35
                             type => "intranet",
35
                             type => "intranet",
36
                             query => $input,
36
                             query => $input,
37
                             authnotrequired => 0,
38
                             flagsrequired => {tools => 'edit_calendar'},
37
                             flagsrequired => {tools => 'edit_calendar'},
39
                             debug => 1,
38
                             debug => 1,
40
                           });
39
                           });
(-)a/tools/import_borrowers.pl (-1 lines)
Lines 73-79 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
73
        template_name   => "tools/import_borrowers.tt",
73
        template_name   => "tools/import_borrowers.tt",
74
        query           => $input,
74
        query           => $input,
75
        type            => "intranet",
75
        type            => "intranet",
76
        authnotrequired => 0,
77
        flagsrequired   => { tools => 'import_patrons' },
76
        flagsrequired   => { tools => 'import_patrons' },
78
        debug           => 1,
77
        debug           => 1,
79
    }
78
    }
(-)a/tools/inventory.pl (-1 lines)
Lines 62-68 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
62
    {   template_name   => "tools/inventory.tt",
62
    {   template_name   => "tools/inventory.tt",
63
        query           => $input,
63
        query           => $input,
64
        type            => "intranet",
64
        type            => "intranet",
65
        authnotrequired => 0,
66
        flagsrequired   => { tools => 'inventory' },
65
        flagsrequired   => { tools => 'inventory' },
67
        debug           => 1,
66
        debug           => 1,
68
    }
67
    }
(-)a/tools/koha-news.pl (-1 lines)
Lines 59-65 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
59
        template_name   => "tools/koha-news.tt",
59
        template_name   => "tools/koha-news.tt",
60
        query           => $cgi,
60
        query           => $cgi,
61
        type            => "intranet",
61
        type            => "intranet",
62
        authnotrequired => 0,
63
        flagsrequired   => { tools => 'edit_news' },
62
        flagsrequired   => { tools => 'edit_news' },
64
        debug           => 1,
63
        debug           => 1,
65
    }
64
    }
(-)a/tools/letter.pl (-1 lines)
Lines 76-82 our ( $template, $borrowernumber, $cookie, $staffflags ) = get_template_and_user Link Here
76
        template_name   => 'tools/letter.tt',
76
        template_name   => 'tools/letter.tt',
77
        query           => $input,
77
        query           => $input,
78
        type            => 'intranet',
78
        type            => 'intranet',
79
        authnotrequired => 0,
80
        flagsrequired   => { tools => 'edit_notices' },
79
        flagsrequired   => { tools => 'edit_notices' },
81
        debug           => 1,
80
        debug           => 1,
82
    }
81
    }
(-)a/tools/manage-marc-import.pl (-1 lines)
Lines 53-59 my ($template, $loggedinuser, $cookie) Link Here
53
    = get_template_and_user({template_name => "tools/manage-marc-import.tt",
53
    = get_template_and_user({template_name => "tools/manage-marc-import.tt",
54
                 query => $input,
54
                 query => $input,
55
                 type => "intranet",
55
                 type => "intranet",
56
                 authnotrequired => 0,
57
                 flagsrequired => {tools => 'manage_staged_marc'},
56
                 flagsrequired => {tools => 'manage_staged_marc'},
58
                 debug => 1,
57
                 debug => 1,
59
                 });
58
                 });
(-)a/tools/marc_modification_templates.pl (-1 lines)
Lines 35-41 my ($template, $loggedinuser, $cookie) Link Here
35
            template_name => "tools/marc_modification_templates.tt",
35
            template_name => "tools/marc_modification_templates.tt",
36
            query => $cgi,
36
            query => $cgi,
37
            type => "intranet",
37
            type => "intranet",
38
            authnotrequired => 0,
39
            flagsrequired => { tools => 'marc_modification_templates' },
38
            flagsrequired => { tools => 'marc_modification_templates' },
40
            debug => 1,
39
            debug => 1,
41
    });
40
    });
(-)a/tools/modborrowers.pl (-1 lines)
Lines 47-53 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
47
    {   template_name   => "tools/modborrowers.tt",
47
    {   template_name   => "tools/modborrowers.tt",
48
        query           => $input,
48
        query           => $input,
49
        type            => "intranet",
49
        type            => "intranet",
50
        authnotrequired => 0,
51
        flagsrequired   => { tools => "edit_patrons" },
50
        flagsrequired   => { tools => "edit_patrons" },
52
    }
51
    }
53
);
52
);
(-)a/tools/overduerules.pl (-1 lines)
Lines 62-68 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
62
        template_name   => "tools/overduerules.tt",
62
        template_name   => "tools/overduerules.tt",
63
        query           => $input,
63
        query           => $input,
64
        type            => "intranet",
64
        type            => "intranet",
65
        authnotrequired => 0,
66
        flagsrequired   => { tools => 'edit_notice_status_triggers' },
65
        flagsrequired   => { tools => 'edit_notice_status_triggers' },
67
        debug           => 1,
66
        debug           => 1,
68
    }
67
    }
(-)a/tools/picture-upload.pl (-1 lines)
Lines 41-47 my ($template, $loggedinuser, $cookie) Link Here
41
    = get_template_and_user({template_name => "tools/picture-upload.tt",
41
    = get_template_and_user({template_name => "tools/picture-upload.tt",
42
					query => $input,
42
					query => $input,
43
					type => "intranet",
43
					type => "intranet",
44
					authnotrequired => 0,
45
					flagsrequired => { tools => 'batch_upload_patron_images'},
44
					flagsrequired => { tools => 'batch_upload_patron_images'},
46
					debug => 0,
45
					debug => 0,
47
					});
46
					});
(-)a/tools/quotes-upload.pl (-1 lines)
Lines 34-40 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "tools/quotes-upload.tt",
34
        template_name   => "tools/quotes-upload.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { tools => 'edit_quotes' },
37
        flagsrequired   => { tools => 'edit_quotes' },
39
        debug           => 1,
38
        debug           => 1,
40
    }
39
    }
(-)a/tools/quotes.pl (-1 lines)
Lines 34-40 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
34
        template_name   => "tools/quotes.tt",
34
        template_name   => "tools/quotes.tt",
35
        query           => $cgi,
35
        query           => $cgi,
36
        type            => "intranet",
36
        type            => "intranet",
37
        authnotrequired => 0,
38
        flagsrequired   => { tools => 'edit_quotes' },
37
        flagsrequired   => { tools => 'edit_quotes' },
39
        debug           => 1,
38
        debug           => 1,
40
    }
39
    }
(-)a/tools/scheduler.pl (-1 lines)
Lines 49-55 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
49
        template_name   => "tools/scheduler.tt",
49
        template_name   => "tools/scheduler.tt",
50
        query           => $input,
50
        query           => $input,
51
        type            => "intranet",
51
        type            => "intranet",
52
        authnotrequired => 0,
53
        flagsrequired   => { tools => 'schedule_tasks' },
52
        flagsrequired   => { tools => 'schedule_tasks' },
54
        debug           => 1,
53
        debug           => 1,
55
    }
54
    }
(-)a/tools/showdiffmarc.pl (-1 lines)
Lines 55-61 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
55
        template_name   => "tools/showdiffmarc.tt",
55
        template_name   => "tools/showdiffmarc.tt",
56
        query           => $input,
56
        query           => $input,
57
        type            => "intranet",
57
        type            => "intranet",
58
        authnotrequired => 0,
59
        flagsrequired   => { tools => 'manage_staged_marc' },
58
        flagsrequired   => { tools => 'manage_staged_marc' },
60
        debug           => 1,
59
        debug           => 1,
61
    }
60
    }
(-)a/tools/stage-marc-import.pl (-1 lines)
Lines 66-72 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
66
        template_name   => "tools/stage-marc-import.tt",
66
        template_name   => "tools/stage-marc-import.tt",
67
        query           => $input,
67
        query           => $input,
68
        type            => "intranet",
68
        type            => "intranet",
69
        authnotrequired => 0,
70
        flagsrequired   => { tools => 'stage_marc_import' },
69
        flagsrequired   => { tools => 'stage_marc_import' },
71
        debug           => 1,
70
        debug           => 1,
72
    }
71
    }
(-)a/tools/stockrotation.pl (-1 lines)
Lines 55-61 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
55
            tools => '*',
55
            tools => '*',
56
            stockrotation => '*',
56
            stockrotation => '*',
57
        },
57
        },
58
        authnotrequired => 0
59
    }
58
    }
60
);
59
);
61
60
(-)a/tools/tools-home.pl (-1 lines)
Lines 29-35 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
29
        template_name   => "tools/tools-home.tt",
29
        template_name   => "tools/tools-home.tt",
30
        query           => $query,
30
        query           => $query,
31
        type            => "intranet",
31
        type            => "intranet",
32
        authnotrequired => 0,
33
        flagsrequired   => { tools => '*' },
32
        flagsrequired   => { tools => '*' },
34
        debug           => 1,
33
        debug           => 1,
35
    }
34
    }
(-)a/tools/upload-cover-image.pl (-1 lines)
Lines 59-65 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
59
        template_name   => "tools/upload-images.tt",
59
        template_name   => "tools/upload-images.tt",
60
        query           => $input,
60
        query           => $input,
61
        type            => "intranet",
61
        type            => "intranet",
62
        authnotrequired => 0,
63
        flagsrequired   => { tools => 'upload_local_cover_images' },
62
        flagsrequired   => { tools => 'upload_local_cover_images' },
64
        debug           => 0,
63
        debug           => 0,
65
    }
64
    }
(-)a/tools/upload.pl (-1 lines)
Lines 41-47 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
41
    {   template_name   => "tools/upload.tt",
41
    {   template_name   => "tools/upload.tt",
42
        query           => $input,
42
        query           => $input,
43
        type            => "intranet",
43
        type            => "intranet",
44
        authnotrequired => 0,
45
        flagsrequired   => { tools => 'upload_general_files' },
44
        flagsrequired   => { tools => 'upload_general_files' },
46
    }
45
    }
47
);
46
);
(-)a/tools/viewlog.pl (-1 lines)
Lines 67-73 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
67
        template_name   => "tools/viewlog.tt",
67
        template_name   => "tools/viewlog.tt",
68
        query           => $input,
68
        query           => $input,
69
        type            => "intranet",
69
        type            => "intranet",
70
        authnotrequired => 0,
71
        flagsrequired   => { tools => 'view_system_logs' },
70
        flagsrequired   => { tools => 'view_system_logs' },
72
        debug           => 1,
71
        debug           => 1,
73
    }
72
    }
(-)a/virtualshelves/addbybiblionumber.pl (-1 lines)
Lines 87-93 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
87
    {   template_name   => "virtualshelves/addbybiblionumber.tt",
87
    {   template_name   => "virtualshelves/addbybiblionumber.tt",
88
        query           => $query,
88
        query           => $query,
89
        type            => "intranet",
89
        type            => "intranet",
90
        authnotrequired => 0,
91
        flagsrequired   => { catalogue => 1 },
90
        flagsrequired   => { catalogue => 1 },
92
    }
91
    }
93
);
92
);
(-)a/virtualshelves/downloadshelf.pl (-1 lines)
Lines 40-46 my ( $template, $loggedinuser, $cookie ) = get_template_and_user ( Link Here
40
        template_name   => "virtualshelves/downloadshelf.tt",
40
        template_name   => "virtualshelves/downloadshelf.tt",
41
        query           => $query,
41
        query           => $query,
42
        type            => "intranet",
42
        type            => "intranet",
43
        authnotrequired => 0,
44
        flagsrequired   => { catalogue => 1 },
43
        flagsrequired   => { catalogue => 1 },
45
    }
44
    }
46
);
45
);
(-)a/virtualshelves/sendshelf.pl (-2 lines)
Lines 40-46 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
40
        template_name   => "virtualshelves/sendshelfform.tt",
40
        template_name   => "virtualshelves/sendshelfform.tt",
41
        query           => $query,
41
        query           => $query,
42
        type            => "intranet",
42
        type            => "intranet",
43
        authnotrequired => 0,
44
        flagsrequired   => { catalogue => 1 },
43
        flagsrequired   => { catalogue => 1 },
45
    }
44
    }
46
);
45
);
Lines 64-70 if ($email) { Link Here
64
        template_name   => "virtualshelves/sendshelf.tt",
63
        template_name   => "virtualshelves/sendshelf.tt",
65
        query           => $query,
64
        query           => $query,
66
        type            => "intranet",
65
        type            => "intranet",
67
        authnotrequired => 0,
68
        flagsrequired   => { catalogue => 1 },
66
        flagsrequired   => { catalogue => 1 },
69
        }
67
        }
70
    );
68
    );
(-)a/virtualshelves/shelves.pl (-2 lines)
Lines 43-49 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
43
    {   template_name   => "virtualshelves/shelves.tt",
43
    {   template_name   => "virtualshelves/shelves.tt",
44
        query           => $query,
44
        query           => $query,
45
        type            => "intranet",
45
        type            => "intranet",
46
        authnotrequired => 0,
47
        flagsrequired   => { catalogue => 1 },
46
        flagsrequired   => { catalogue => 1 },
48
    }
47
    }
49
);
48
);
50
- 

Return to bug 24663