83 lines
3.3 KiB
Cheetah
83 lines
3.3 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Tools › Upload Patron Images</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="patron-search.inc"-->
|
|
|
|
<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>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
<h1>Upload Patron Images</h1>
|
|
<div class="yui-g">
|
|
<div class="yui-u first">
|
|
<!-- TMPL_IF name="total" -->
|
|
<ul class="data">
|
|
<li>Unpacking completed</li>
|
|
</ul>
|
|
<!-- TMPL_VAR NAME="total" --> Scanned
|
|
<!-- TMPL_VAR NAME="handled" --> Processed
|
|
<!-- TMPL_LOOP name="counts" -->
|
|
<!-- TMPL_VAR name="count" --> Images moved from <!-- TMPL_VAR name="source" --> to <!-- TMPL_VAR name="dest" -->
|
|
<!-- TMPL_LOOP name="filenames" -->
|
|
<!-- TMPL_VAR name="source" --> To <!-- TMPL_VAR name="dest" -->
|
|
<!-- /TMPL_LOOP -->
|
|
<!-- /TMPL_LOOP -->
|
|
<!-- TMPL_ELSE -->
|
|
|
|
<!-- TMPL_IF name="ERRORS" -->
|
|
<div class="dialog alert"><ul>
|
|
<!-- TMPL_LOOP name="ERRORS" -->
|
|
<!-- TMPL_IF NAME="NODIR" -->
|
|
<li>The <span class="ex">patronimages/</span> directory isn't present on your server, please ask your systems administrator to create it</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="NOTZIP" -->
|
|
<li>The upload file does not appear to be a zip file. The extention is not '.zip'.</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="NOWRITETEMP" -->
|
|
<li>This script is not able to create/write to the necessary temporary directory.</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="NOWRITEDEST" -->
|
|
<li>This script is not able to write to the patron image storage directory.</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="EMPTYUPLOAD" -->
|
|
<li>The upload file appears to be empty.</li>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
</ul></div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<form method="post" action="/cgi-bin/koha/tools/picture-upload.pl" enctype="multipart/form-data">
|
|
<fieldset class="brief">
|
|
<ol>
|
|
<li>
|
|
<label for="uploadfile">Select the .zip file to unpack: </label><input type="file" id="uploadfile" name="uploadfile" />
|
|
</li>
|
|
</ol>
|
|
</fieldset>
|
|
<fieldset class="action"><input type="submit" value="Unpack" class="submit" /> <a href="/cgi-bin/koha/tools/picture-upload.pl" class="cancel">Cancel</a></fieldset>
|
|
</form>
|
|
|
|
</div>
|
|
<div class="yui-u">
|
|
<ul>
|
|
<li>Select a file to upload to the server. Each .jpg file contained therein will be copied to the appropriate place on the server for patron pictures.</li>
|
|
<li>You can include multiple pictures in a .zip file.</li>
|
|
<li>There should be a DATALINK.TXT or IDLINK.TXT file for each group of pictures that has the cardnumber of the patron and the file containing that patrons picture. One patron per line seperated by either commas or tabs. Quotes around the fields are ignored.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|