Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tmpl
Paul POULAIN a35d66bc8c introducing a noprint class to hide things on printer
this noprint class can be used for all buttons & other places where the screen display something you don't want to see on printer.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-19 20:27:38 -06:00

94 lines
4.6 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Tools &rsaquo; 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> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Upload Patron Images </div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<!-- TMPL_IF name="TOTAL" -->
<div class="yui-b">
<div class="yui-g">
<div class="yui-u first">
<h1>Patron Images Successfully Uploaded</h1>
<ul class="data">
<li>Unpacking completed</li>
<li><!-- TMPL_VAR NAME ="TOTAL" --> directories scanned.</li>
<li><!-- TMPL_VAR NAME="HANDLED" --> directories processed.</li>
</ul>
<!-- TMPL_LOOP name="COUNTS" -->
<ul class="data">
<li><!-- TMPL_VAR name="TCOUNTS" --> image(s) moved from <!-- TMPL_VAR name="source" --> to <!-- TMPL_VAR name="dest" -->:</li>
</ul>
<!-- TMPL_LOOP name="filenames" -->
<ul class="data">
<li><!-- TMPL_VAR name="source" --> To <!-- TMPL_VAR name="dest" --></li>
</ul>
<!-- /TMPL_LOOP -->
<!-- /TMPL_LOOP -->
<a id="uploadmore" href="/cgi-bin/koha/tools/picture-upload.pl">Upload More Images</a>
<a id="doneupload" href="/cgi-bin/koha/tools/tools-home.pl">Return to Tools</a>
</div>
<!-- TMPL_ELSE -->
<div class="yui-b">
<div class="yui-g">
<div class="yui-u first">
<h1>Upload Patron Images</h1>
<!-- 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">
<h2>Notes:</h2>
<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>
<!-- /TMPL_IF -->
</div>
</div>
</div>
<div class="yui-b noprint">
<!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->