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