Lines 107-116
$(document).ready(function () {
Link Here
|
107 |
<div id="yui-main"> |
107 |
<div id="yui-main"> |
108 |
|
108 |
|
109 |
<div class="yui-g"> |
109 |
<div class="yui-g"> |
110 |
[% IF !Koha.Preference('AnonymousPatron') %] |
110 |
|
111 |
[% IF Koha.Preference('OPACPrivacy') %] |
111 |
[% IF privacy == 2 AND NOT Koha.Preference('AnonymousPatron') %] |
112 |
<div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div> |
112 |
<div class="dialog alert"><strong>Error:</strong> This patron has requested a privacy on returning item but the AnonymousPatron pref is not set correctly.</div> |
113 |
[% END %] |
113 |
[% ELSIF NOT Koha.Preference('AnonymousPatron') AND Koha.Preference('OPACPrivacy') %] |
|
|
114 |
<div class="dialog alert"><strong>Error:</strong> The system preference OPACPrivacy is set but AnonymousPatron is not! Please correct this before continuing circulation.</div> |
114 |
[% END %] |
115 |
[% END %] |
115 |
|
116 |
|
116 |
[% IF additional_materials %] |
117 |
[% IF additional_materials %] |
117 |
- |
|
|