Bug 17014 - Remove more event attributes from patron templates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / patroncards-errors.inc
1 [% IF ( error || CGI.param('pdferr') )  %]
2 <div class="dialog alert">
3   <p>
4     <strong>WARNING:</strong>
5         [% IF CGI.param('pdferr') %]
6         Error while creating PDF file.
7         [% IF CGI.param('errnocards') %]No cards created (empty batch or list?)[% END %]
8         [% IF CGI.param('errba') %]Batch: [% '<span class="ex">' _ CGI.param('errba') _ '</span>' %][% END %]
9         [% IF CGI.param('errpl') %]Patron list: [% '<span class="ex">' _ CGI.param('errpl') _ '</span>' %][% END %]
10         [% IF CGI.param('errpt') %]Patron number: [% '<span class="ex">' _ CGI.param('errpt') _ '</span>' %][% END %]
11         [% IF CGI.param('errlo') %]Layout: [% '<span class="ex">' _ CGI.param('errlo') _ '</span>' %][% END %]
12         [% IF CGI.param('errtpl') %]Template: [% '<span class="ex">' _ CGI.param('errtpl') _ '</span>' %][% END %]
13
14         Please have your system administrator check the error log for details.
15         [% END %]
16         [% IF ( error == 101 ) %]
17         The database returned an error while [% IF ( card_element ) %]saving [% card_element %] [% element_id %][% ELSE %]attempting a save operation[% END %]. Please have your system administrator check the error log for details.
18         [% ELSIF ( error == 102 ) %]
19         The database returned an error while [% IF ( card_element ) %]deleting [% card_element %] [% element_id %][% ELSIF ( image_ids ) %][% image_ids %][% ELSE %]attempting a delete operation[% END %]. Please have your system administrator check the error log for details.
20         [% ELSIF ( error == 201 ) %]
21         An unsupported operation was attempted[% IF ( element_id ) %] on [% card_element %] [% element_id %][% END %]. Please have your system administrator check the error log for details.
22         [% ELSIF ( error == 202 ) %]
23         An error has occurred. Please ask your system administrator to check the error log for more details.
24         [% ELSIF ( error == 203 ) %]
25         A non-existent or invalid library code was supplied. Please <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">verify</a> that you have a library selected.
26         [% ELSIF ( error == 301 ) %]
27         An error has occurred while attempting to upload the image file. Please ask your system administrator to check the error log for more details.
28         [% ELSIF ( error == 302 ) %]
29         Image exceeds 500KB. Please resize and import again.
30         [% ELSIF ( error == 303 ) %]
31         The database image quota currently only allows a maximum of [% image_limit %] images to be stored at any one time. Please delete one or more images to free up quota space.
32         [% ELSIF ( error == 304 ) %]
33         An image with the name '[% IMAGE_NAME %]' already exists.
34         [% ELSIF ( error == 401 ) %]
35         An error has occurred and the item(s) was not added to batch [% batch_id %]. Please have your system administrator check the error log for details.
36         [% ELSIF ( error == 402 ) %]
37         The item(s) was not added because the library is not set. Please set your library before adding items to a batch.
38         [% ELSIF ( error == 403 ) %]
39         An error has occurred and the item(s) was not removed from batch [% batch_id %]. Please have your system administrator check the error log for details.
40         [% ELSIF ( error == 404 ) %]
41         An error has occurred and batch [% batch_id %] was not deleted.  Please have your system administrator check the error log for details.
42         [% ELSIF ( error == 405 ) %]
43         An error has occurred and batch [% batch_id %] not fully de-duplicated.
44         [% END %]
45   </p>
46 </div>
47 [% END %]