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

(-)a/installer/data/mysql/mandatory/sysprefs.sql (-1 / +1 lines)
Lines 116-122 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
116
('BiblioDefaultView','normal','normal|marc|isbd','Choose the default detail view in the catalog; choose between normal, marc or isbd','Choice'),
116
('BiblioDefaultView','normal','normal|marc|isbd','Choose the default detail view in the catalog; choose between normal, marc or isbd','Choice'),
117
('BiblioItemtypeInfo','0','0','Control which itemtype info displays for biblio level itemtypes','YesNo'),
117
('BiblioItemtypeInfo','0','0','Control which itemtype info displays for biblio level itemtypes','YesNo'),
118
('BibtexExportAdditionalFields',  '', NULL ,  'Define additional BibTex tags to export from MARC records in YAML format as an associative array with either a marc tag/subfield combination as the value, or a list of tag/subfield combinations.',  'textarea'),
118
('BibtexExportAdditionalFields',  '', NULL ,  'Define additional BibTex tags to export from MARC records in YAML format as an associative array with either a marc tag/subfield combination as the value, or a list of tag/subfield combinations.',  'textarea'),
119
('BlockExpiredPatronOpacActions','','hold,renew','Specific actions expired patrons of this category are blocked from performing or if the BlockExpiredPatronOpacActions system preference is to be followed','multiple'),
119
('BlockExpiredPatronOpacActions','','hold,renew','Specific actions expired patrons of this category are blocked from performing. OPAC actions blocked based on the patron category take priority over this preference.','multiple'),
120
('BlockReturnOfLostItems','0','0','If enabled, items that are marked as lost cannot be returned.','YesNo'),
120
('BlockReturnOfLostItems','0','0','If enabled, items that are marked as lost cannot be returned.','YesNo'),
121
('BlockReturnOfWithdrawnItems','1','0','If enabled, items that are marked as withdrawn cannot be returned.','YesNo'),
121
('BlockReturnOfWithdrawnItems','1','0','If enabled, items that are marked as withdrawn cannot be returned.','YesNo'),
122
('BorrowerMandatoryField','surname|cardnumber',NULL,'Choose the mandatory fields for a patron\'s account','free'),
122
('BorrowerMandatoryField','surname|cardnumber',NULL,'Choose the mandatory fields for a patron\'s account','free'),
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss (+5 lines)
Lines 179-184 fieldset { Link Here
179
                        width:auto;
179
                        width:auto;
180
                    }
180
                    }
181
                }
181
                }
182
183
                ul>li.hide-radio.selected {
184
                    color: initial;
185
                    background-color: initial;
186
                }
182
            }
187
            }
183
        }
188
        }
184
189
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-7 / +6 lines)
Lines 341-356 Link Here
341
                      [% END %]
341
                      [% END %]
342
                    </select>
342
                    </select>
343
                </li>
343
                </li>
344
                <li><label for="block_expired">Block expired patrons actions:</label>
344
                <li><label for="block_expired">Block expired patron OPAC actions:</label>
345
                    <select name="BlockExpiredPatronOpacActions" id="block_expired" multiple="multiple">
345
                    <select name="BlockExpiredPatronOpacActions" id="block_expired" multiple="multiple">
346
                        <optgroup label="Follow system preference">
346
                        <optgroup label="Follow system preference">
347
                        [% IF not category or category.BlockExpiredPatronOpacActions_contains('follow_syspref_BlockExpiredPatronOpacActions') %]
347
                        [% IF category and category.BlockExpiredPatronOpacActions_contains('follow_syspref_BlockExpiredPatronOpacActions') %]
348
                            <option value="follow_syspref_BlockExpiredPatronOpacActions" selected="selected"> Follow system preference BlockExpiredPatronOpacActions </option>
348
                            <option value="follow_syspref_BlockExpiredPatronOpacActions" selected="selected"> Block actions specified in BlockExpiredPatronOpacActions </option>
349
                        [% ELSE %]
349
                        [% ELSE %]
350
                            <option value="follow_syspref_BlockExpiredPatronOpacActions"> BlockExpiredPatronOpacActions </option>
350
                            <option value="follow_syspref_BlockExpiredPatronOpacActions"> Block actions in BlockExpiredPatronOpacActions </option>
351
                        [% END %]
351
                        [% END %]
352
                        </optgroup>
352
                        </optgroup>
353
                        <optgroup label="Specific actions">
353
                        <optgroup label="Block specific actions">
354
                        [% IF category and category.BlockExpiredPatronOpacActions_contains('hold') %]
354
                        [% IF category and category.BlockExpiredPatronOpacActions_contains('hold') %]
355
                            <option value="hold" selected="selected"> Placing a hold on an item </option>
355
                            <option value="hold" selected="selected"> Placing a hold on an item </option>
356
                        [% ELSE %]
356
                        [% ELSE %]
Lines 364-371 Link Here
364
                        </optgroup>
364
                        </optgroup>
365
                    </select>
365
                    </select>
366
                    <div class="hint">
366
                    <div class="hint">
367
                        Choose whether patrons of this category be blocked from public catalog actions such as renewing and placing holds when their cards have expired.
367
                        Choose which OPAC actions, if any, are blocked for expired patrons of this category. Alternatively, the system preference <a href="/cgi-bin/koha/admin/preferences.pl?tab=&op=search&searchfield=BlockExpiredPatronOpacActions">BlockExpiredPatronOpacActions</a> can be used instead.
368
                    </div>
369
                </li>
368
                </li>
370
                [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' )  %]
369
                [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' )  %]
371
                  <li><label for="checkprevcheckout">Check for previous checkouts: </label>
370
                  <li><label for="checkprevcheckout">Check for previous checkouts: </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-2 / +2 lines)
Lines 635-645 OPAC: Link Here
635
                  1: Allow
635
                  1: Allow
636
            - "OPAC users to share private lists with other patrons."
636
            - "OPAC users to share private lists with other patrons."
637
        -
637
        -
638
            - "Expired patrons are blocked from performing the following actions in the OPAC:"
638
            - pref: BlockExpiredPatronOpacActions
639
            - pref: BlockExpiredPatronOpacActions
639
              multiple:
640
              multiple:
640
                  renew: "Renewing an item"
641
                  renew: "Renewing an item"
641
                  hold: "Placing a hold on an item"
642
                  hold: "Placing a hold on an item"
642
            - expired patrons from OPAC actions such as placing a hold or renewing. Note that the setting for a patron category takes priority over this system preference.
643
            - "<p>Please note: OPAC actions blocked based on the patron category take priority over this preference.</p>"
643
        -
644
        -
644
            - The cleanup_database.pl cronjob automatically deletes unaccepted private list share invites after
645
            - The cleanup_database.pl cronjob automatically deletes unaccepted private list share invites after
645
            - pref: PurgeListShareInvitesOlderThan
646
            - pref: PurgeListShareInvitesOlderThan
646
- 

Return to bug 36453