Lines 140-161
function validate1(date) {
Link Here
|
140 |
<div id="yui-main"> |
140 |
<div id="yui-main"> |
141 |
<div class="yui-b"> |
141 |
<div class="yui-b"> |
142 |
[% INCLUDE 'members-toolbar.inc' %] |
142 |
[% INCLUDE 'members-toolbar.inc' %] |
|
|
143 |
|
143 |
[% IF ( error ) %] |
144 |
[% IF ( error ) %] |
144 |
<div class="dialog alert"> |
145 |
<div class="dialog alert"> |
145 |
[% IF ( AUTH_UPDATE_FAILED ) %] |
146 |
[% IF ( error == 'AUTH_UPDATE_FAILED' ) %] |
146 |
<h3>Userid / Password update failed</h3> |
147 |
<h3>Userid / Password update failed</h3> |
147 |
<strong>Insufficient privileges.</strong> |
148 |
<strong>Insufficient privileges.</strong> |
148 |
<p>Other fields updated.</p> |
149 |
<p>Other fields updated.</p> |
149 |
[% END %] |
150 |
[% END %] |
150 |
[% IF ( CANT_DELETE_STAFF ) %] |
151 |
[% IF ( error == 'CANT_DELETE_STAFF' ) %] |
151 |
<h3>Unable to delete staff user</h3> |
152 |
<h3>Unable to delete staff user</h3> |
152 |
<p>Insufficient privileges.</p> |
153 |
<p>Insufficient privileges.</p> |
153 |
[% END %] |
154 |
[% END %] |
154 |
[% IF ( CANT_DELETE_OTHERLIBRARY ) %] |
155 |
[% IF ( error == 'CANT_DELETE_YOURSELF' ) %] |
|
|
156 |
<h3>Not allowed to delete own account</h3> |
157 |
<p>Deleting your own account would lock you out from Koha.</p> |
158 |
[% END %] |
159 |
[% IF ( error == 'CANT_DELETE_OTHERLIBRARY' ) %] |
155 |
<h3>Unable to delete patrons from other libraries with current settings</h3> |
160 |
<h3>Unable to delete patrons from other libraries with current settings</h3> |
156 |
<p>Insufficient privileges.</p> |
161 |
<p>Insufficient privileges.</p> |
157 |
[% END %] |
162 |
[% END %] |
158 |
[% IF ( CANT_DELETE ) %] |
163 |
[% IF ( error == 'CANT_DELETE' ) %] |
159 |
<h3>Unable to delete patron</h3> |
164 |
<h3>Unable to delete patron</h3> |
160 |
<p>Insufficient privileges.</p> |
165 |
<p>Insufficient privileges.</p> |
161 |
[% END %] |
166 |
[% END %] |