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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-errors.inc (-25 / +30 lines)
Lines 1-46 Link Here
1
[% BLOCK asksysadmin %]Please have your system administrator check the error log for details.[% END %]
2
[% BLOCK b_batch %]Batch: [% END %]
3
[% BLOCK b_patronlist %]Patron list: [% END %]
4
[% BLOCK b_patronnumber %]Patron number: [% END %]
5
[% BLOCK b_layout %]Layout: [% END %]
6
[% BLOCK b_template %]Template: [% END %]
7
1
[% IF ( error || CGI.param('pdferr') )  %]
8
[% IF ( error || CGI.param('pdferr') )  %]
2
<div class="dialog alert">
9
<div class="dialog alert">
3
  <p>
10
  <p>
4
    <strong>WARNING:</strong>
11
    <strong>WARNING:</strong>
5
        [% IF CGI.param('pdferr') %]
12
        [% IF CGI.param('pdferr') %]Error while creating PDF file.
6
        Error while creating PDF file.
13
            [% IF CGI.param('errnocards') %]No cards created (empty batch or list?)[% END %]
7
        [% IF CGI.param('errnocards') %]No cards created (empty batch or list?)[% END %]
14
            [% IF CGI.param('errba') %][% INCLUDE b_batch %]<span class="ex">[%- CGI.param('errba') -%]</span>[% END %]
8
        [% IF CGI.param('errba') %]Batch: [% '<span class="ex">' _ CGI.param('errba') _ '</span>' %][% END %]
15
            [% IF CGI.param('errpl') %][% INCLUDE b_patronlist %]<span class="ex">[%- CGI.param('errpl') -%]</span>][% END %]
9
        [% IF CGI.param('errpl') %]Patron list: [% '<span class="ex">' _ CGI.param('errpl') _ '</span>' %][% END %]
16
            [% IF CGI.param('errpt') %][% INCLUDE b_patronnumber %]<span class="ex">[%- CGI.param('errpt') -%]</span>[% END %]
10
        [% IF CGI.param('errpt') %]Patron number: [% '<span class="ex">' _ CGI.param('errpt') _ '</span>' %][% END %]
17
            [% IF CGI.param('errlo') %][% INCLUDE b_layout %]<span class="ex">[%- CGI.param('errlo') -%]</span>[% END %]
11
        [% IF CGI.param('errlo') %]Layout: [% '<span class="ex">' _ CGI.param('errlo') _ '</span>' %][% END %]
18
            [% IF CGI.param('errtpl') %][% INCLUDE b_template %]<span class="ex">[%- CGI.param('errtpl') -%]</span>[% END %]
12
        [% IF CGI.param('errtpl') %]Template: [% '<span class="ex">' _ CGI.param('errtpl') _ '</span>' %][% END %]
19
            [% INCLUDE asksysadmin %]
13
14
        Please have your system administrator check the error log for details.
15
        [% END %]
20
        [% END %]
21
16
        [% IF ( error == 101 ) %]
22
        [% 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.
23
            The database returned an error while [% IF ( card_element ) %]saving [% card_element %] [% element_id %][% ELSE %]attempting a save operation[% END %]. [% INCLUDE asksysadmin %]
18
        [% ELSIF ( error == 102 ) %]
24
        [% 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.
25
            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 %]. [% INCLUDE asksysadmin %]
20
        [% ELSIF ( error == 201 ) %]
26
        [% 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.
27
            An unsupported operation was attempted[% IF ( element_id ) %] on [% card_element %] [% element_id %][% END %]. [% INCLUDE asksysadmin %]
22
        [% ELSIF ( error == 202 ) %]
28
        [% ELSIF ( error == 202 ) %]
23
        An error has occurred. Please ask your system administrator to check the error log for more details.
29
            An error has occurred. [% INCLUDE asksysadmin %]
24
        [% ELSIF ( error == 203 ) %]
30
        [% 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.
31
            A non-existent or invalid library code was supplied. Please verify that you have a library set. <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
26
        [% ELSIF ( error == 301 ) %]
32
        [% 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.
33
            An error has occurred while attempting to upload the image file. [% INCLUDE asksysadmin %]
28
        [% ELSIF ( error == 302 ) %]
34
        [% ELSIF ( error == 302 ) %]
29
        Image exceeds 500KB. Please resize and import again.
35
            Image exceeds 500KB. Please resize and import again.
30
        [% ELSIF ( error == 303 ) %]
36
        [% 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.
37
            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 ) %]
38
        [% ELSIF ( error == 304 ) %]
33
        An image with the name '[% IMAGE_NAME %]' already exists.
39
            An image with the name '[% IMAGE_NAME %]' already exists.
34
        [% ELSIF ( error == 401 ) %]
40
        [% 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.
41
            An error has occurred and no items have been added to batch [% batch_id %]. [% INCLUDE asksysadmin %]
36
        [% ELSIF ( error == 402 ) %]
42
        [% 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.
43
            No items added because the library is not set. Please set your library before adding items to a batch. <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
38
        [% ELSIF ( error == 403 ) %]
44
        [% 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.
45
            An error has occurred and the item(s) was not removed from batch [% batch_id %]. [% INCLUDE asksysadmin %]
40
        [% ELSIF ( error == 404 ) %]
46
        [% 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.
47
            An error has occurred and batch [% batch_id %] was not deleted. [% INCLUDE asksysadmin %]
42
        [% ELSIF ( error == 405 ) %]
48
        [% ELSIF ( error == 405 ) %]
43
        An error has occurred and batch [% batch_id %] not fully de-duplicated.
49
            An error has occurred and batch [% batch_id %] was not fully de-duplicated.
44
        [% END %]
50
        [% END %]
45
  </p>
51
  </p>
46
</div>
52
</div>
47
- 

Return to bug 18660