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

(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 267-272 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
267
('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'),
267
('IndependentBranches','0',NULL,'If ON, increases security between libraries','YesNo'),
268
('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'),
268
('IndependentBranchesPatronModifications','0', NULL, 'Show only modification request for the logged in branch','YesNo'),
269
('IndependentBranchesTransfers','0', NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo'),
269
('IndependentBranchesTransfers','0', NULL, 'Allow non-superlibrarians to transfer items between libraries','YesNo'),
270
('IndependentBranchesLoggedInLibrary','0', NULL, 'Allow only superlibrarians the ability to set or change their logged in location','YesNo'),
270
('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'),
271
('IntranetCatalogSearchPulldown','0', NULL, 'Show a search field pulldown for \"Search the catalog\" boxes','YesNo'),
271
('RecordedBooksClientSecret','','30','Client key for RecordedBooks integration','Free'),
272
('RecordedBooksClientSecret','','30','Client key for RecordedBooks integration','Free'),
272
('RecordedBooksDomain','','','RecordedBooks domain','Free'),
273
('RecordedBooksDomain','','','RecordedBooks domain','Free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref (+7 lines)
Lines 131-136 Administration: Link Here
131
              choices:
131
              choices:
132
                  1: "Yes"
132
                  1: "Yes"
133
                  0: "No"
133
                  0: "No"
134
        -
135
            - "Prevent staff (but not superlibrarians) from setting or changing their logged in location:"
136
            - pref: IndependentBranchesLoggedInLibrary
137
              default: 0
138
              choices:
139
                  1: "Yes"
140
                  0: "No"
134
        -
141
        -
135
            - "Prevent staff (but not superlibrarians) from transfering items to other libraries: "
142
            - "Prevent staff (but not superlibrarians) from transfering items to other libraries: "
136
            - pref: IndependentBranchesTransfers
143
            - pref: IndependentBranchesTransfers
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt (-1 / +1 lines)
Lines 75-81 Link Here
75
    <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" autocomplete="off" />
75
    <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" autocomplete="off" />
76
    </p>
76
    </p>
77
77
78
    [% UNLESS IndependentBranches %]
78
    [% UNLESS Koha.Preference('IndependentBranchesLoggedInLibrary') %]
79
        <p>
79
        <p>
80
            <label for="branch">Library:</label>
80
            <label for="branch">Library:</label>
81
            <select name="branch" id="branch" class="input" tabindex="3">
81
            <select name="branch" id="branch" class="input" tabindex="3">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt (-3 / +1 lines)
Lines 39-45 Link Here
39
                    <li>
39
                    <li>
40
                        <a class="circ-button" href="/cgi-bin/koha/circ/renew.pl"><i class="fa fa-retweet"></i> Renew</a>
40
                        <a class="circ-button" href="/cgi-bin/koha/circ/renew.pl"><i class="fa fa-retweet"></i> Renew</a>
41
                    </li>
41
                    </li>
42
                    [% UNLESS IndependentBranches %]
42
                    [% IF !Koha.Preference('IndependentBranchesLoggedInLibrary') || CAN_user_superlibrarian %]
43
                        <li>
43
                        <li>
44
                            [% IF Koha.Preference('UseCirculationDesks') %]
44
                            [% IF Koha.Preference('UseCirculationDesks') %]
45
                            <a class="circ-button" href="/cgi-bin/koha/circ/set-library.pl"><i class="fa fa-home"></i> Set library and desk</a>
45
                            <a class="circ-button" href="/cgi-bin/koha/circ/set-library.pl"><i class="fa fa-home"></i> Set library and desk</a>
Lines 113-119 Link Here
113
                [% END %]
113
                [% END %]
114
114
115
                <h3>Transfers</h3>
115
                <h3>Transfers</h3>
116
117
                <ul class="buttons-list">
116
                <ul class="buttons-list">
118
                    [% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
117
                    [% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
119
                        <li>
118
                        <li>
120
- 

Return to bug 29887