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

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

Return to bug 18660