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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt (-10 / +9 lines)
Lines 48-63 Link Here
48
                        [% IF ( COUNT.TCOUNTS ) %]<li>[% COUNT.TCOUNTS %] image(s) moved into the database:</li>[% END %]
48
                        [% IF ( COUNT.TCOUNTS ) %]<li>[% COUNT.TCOUNTS %] image(s) moved into the database:</li>[% END %]
49
                        [% FOREACH filename IN COUNT.filenames %]
49
                        [% FOREACH filename IN COUNT.filenames %]
50
                            <li>[% filename.source %] - Cardnumber: [% filename.cardnumber %]
50
                            <li>[% filename.source %] - Cardnumber: [% filename.cardnumber %]
51
                                    [% IF ( filename.filerrors ) %]<br /> <b>WARNING:</b> This image <i>not</i> imported because 
51
                                    [% IF ( filename.filerrors ) %]<br />
52
                                    [% FOREACH filerror IN filename.filerrors %]
52
                                    [% FOREACH filerror IN filename.filerrors %]
53
                                        [% IF ( filerror.DBERR ) %]the database returned an error. Please refer to the error log for more details.</li>
53
                                        [% IF ( filerror.DBERR ) %]<b>ERROR:</b> Image not imported because the database returned an error. Please refer to the error log for more details.</li>
54
                                        [% ELSIF ( filerror.IMGEXISTS ) %]this patron does not exist in the database.</li>
54
                                        [% ELSIF ( filerror.IMGEXISTS ) %]<b>ERROR:</b> Image not imported because this patron does not exist in the database.</li>
55
                                        [% ELSIF ( filerror.MIMERR ) %]the image format is unrecognized.</li>
55
                                        [% ELSIF ( filerror.MIMERR ) %]<b>ERROR:</b> Image not imported because the image format is unrecognized.</li>
56
                                        [% ELSIF ( filerror.CORERR ) %]the image file is corrupted.</li>
56
                                        [% ELSIF ( filerror.CORERR ) %]<b>ERROR:</b> Image not imported because the image file is corrupted.</li>
57
                                        [% ELSIF ( filerror.OPNERR ) %]Koha was unable to open the image for reading.</li>
57
                                        [% ELSIF ( filerror.OPNERR ) %]<b><b>ERROR:</b> Image not imported because Koha was unable to open the image for reading.</li>
58
                                        [% ELSIF ( filerror.OVRSIZ ) %]the image file is too big.</li>
58
                                        [% ELSIF ( filerror.OVRSIZ ) %]<b>ERROR:</b> Image not imported because the image file is too big (see online help for maximum size). </li>
59
                                        [% ELSIF ( filerror.CRDFIL ) %]the [% filerror.CRDFIL %] is missing.</li>
59
                                        [% ELSIF ( filerror.CRDFIL ) %]<b>ERROR:</b> Image not imported because the [% filerror.CRDFIL %] is missing.</li>
60
                                        [% ELSE %]of an unknown error. Please refer to the error log for more details.</li>[% END %]
60
                                        [% ELSE %]<b>WARNING:<b>ERROR:</b> Image not imported because of an unknown error. Please refer to the error log for more details.</li>[% END %]
61
                                    [% END %]
61
                                    [% END %]
62
                                        [% ELSE %] imported successfully.</li>
62
                                        [% ELSE %] imported successfully.</li>
63
                                    [% END %]
63
                                    [% END %]
64
- 

Return to bug 8573