1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Tools › Upload Patron Images</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="patron-search.inc"-->
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Upload Patron Images </div>
11 <div id="doc3" class="yui-t2">
14 <!-- TMPL_IF name="TOTAL" -->
17 <div class="yui-u first">
18 <!-- TMPL_IF name="ERRORS" -->
19 <div class="dialog alert">
20 <h1>Patron Images Uploaded With Some Errors</h1>
23 <div class="dialog message">
24 <h1>Patron Images Successfully Uploaded</h1>
28 <li>Unpacking completed</li>
29 <li><!-- TMPL_VAR NAME ="TOTAL" --> directories scanned.</li>
30 <li><!-- TMPL_VAR NAME="HANDLED" --> directories processed.</li>
32 <!-- TMPL_LOOP name="COUNTS" -->
34 <li><!-- TMPL_VAR name="TCOUNTS" --> image(s) moved into the database:</li>
35 <!-- TMPL_LOOP name="filenames" -->
36 <li><!-- TMPL_VAR name="source" --> - Cardnumber: <!-- TMPL_VAR name="cardnumber" -->
37 <!-- TMPL_IF NAME="filerrors" --><br /> <b>WARNING:</b> This image <i>not</i> imported because
38 <!-- TMPL_LOOP NAME="filerrors" -->
39 <!-- TMPL_IF NAME="DBERR" -->the database returned an error.</li><!-- /TMPL_IF -->
40 <!-- TMPL_IF NAME="MIMERR" -->the image format is unrecognized.</li><!-- /TMPL_IF -->
41 <!-- TMPL_IF NAME="OPNERR" -->Koha was unable to open the image for reading.</li>
42 <!-- TMPL_ELSE -->of an unknown error. Please refer to the error log for more details.</li><!-- /TMPL_IF -->
44 <!--TMPL_ELSE --> imported successfully.</li>
49 <a id="uploadmore" href="/cgi-bin/koha/tools/picture-upload.pl">Upload More Images</a>
50 <a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to Tools</a>
55 <div class="yui-u first">
56 <h1>Upload Patron Images</h1>
57 <!-- TMPL_IF name="ERRORS" -->
58 <div class="dialog alert">
59 <!-- TMPL_LOOP name="ERRORS" -->
60 <!-- TMPL_IF name="NOTZIP" -->
61 <li><b>The upload file does not appear to be a zip file. The extention is not '.zip'.</b></li>
63 <!-- TMPL_IF name="NOWRITETEMP" -->
64 <li><b>This script is not able to create/write to the necessary temporary directory.</b></li>
66 <!-- TMPL_IF name="EMPTYUPLOAD" -->
67 <li><b>The upload file appears to be empty.</b></li>
69 <!-- TMPL_IF name="OPNLINK" -->
70 <li><b>Cannot open <!-- TMPL_VAR NAME="OPNLINK" --> to read.<br />Please verify that it exists.</b></li>
72 <!-- TMPL_IF name="OPNIMG" -->
73 <li><b>Cannot open <!-- TMPL_VAR NAME="OPNIMG" --> to read.<br />Please verify that it exists.</b></li>
75 <!-- TMPL_IF name="DELERR" -->
76 <li><b>Unrecognized or missing field delimeter.<br />Please verify that you are using either a single quote or a tab.</b></li>
78 <!-- TMPL_IF name="UZIPFAIL" -->
79 <li><b><!-- TMPL_VAR name="UZIPFAIL" --> failed to unpack.<br />Please verify the integrity of the zip file and retry.</b></li>
81 <!-- TMPL_IF name="" -->
82 <li><b>An unknown error has occurred.<br />Please review the error log for more details.</b></li>
87 <form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
88 <fieldset class="brief">
91 <label for="uploadfile">Select the .zip file to unpack: </label><input type="file" id="uploadfile" name="uploadfile" />
95 <fieldset class="action"><input type="submit" value="Unpack" class="submit" /> <a href="/cgi-bin/koha/tools/picture-upload.pl" class="cancel">Cancel</a>
104 <div class="yui-b noprint">
105 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
108 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->