adding back patron images upload, no idea why it was removed
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / picture-upload.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->\r
2 <title>Koha &rsaquo; Tools &rsaquo; Upload Patron Images</title>\r
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->\r
4 </head>\r
5 <body>\r
6 <!-- TMPL_INCLUDE NAME="header.inc" -->\r
7 <!-- TMPL_INCLUDE NAME="patron-search.inc"-->\r
8 \r
9 <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>\r
10 \r
11 <div id="doc3" class="yui-t2">\r
12 \r
13    <div id="bd">\r
14     <div id="yui-main">\r
15     <div class="yui-b">\r
16 <div class="yui-g">\r
17 <div class="yui-u first">\r
18 <h1>Upload Patron Images</h1>\r
19 \r
20 <!-- TMPL_IF name="total" -->\r
21         <ul class="data">\r
22                 <li>Unpacking completed</li>\r
23         </ul>\r
24     <!-- TMPL_VAR NAME="total" --> Scanned\r
25     <!-- TMPL_VAR NAME="handled" --> Processed\r
26     <!-- TMPL_LOOP name="counts" -->\r
27         <!-- TMPL_VAR name="count" -->  Images moved from <!-- TMPL_VAR name="source" --> to <!-- TMPL_VAR name="dest" -->\r
28         <!-- TMPL_LOOP name="filenames" -->\r
29             <!-- TMPL_VAR name="source" --> To <!-- TMPL_VAR name="dest" -->\r
30         <!-- /TMPL_LOOP -->\r
31     <!-- /TMPL_LOOP -->\r
32 <!-- TMPL_ELSE -->\r
33 \r
34     <!-- TMPL_IF name="errors" -->\r
35         <!-- TMPL_LOOP name="errors" -->\r
36         <ul class="error">\r
37         <!-- TMPL_IF name="NOTZIP" -->\r
38             <li>The upload file does not appear to be a zip file.  The extention is not '.zip'.</li>\r
39         <!-- /TMPL_IF -->\r
40         <!-- TMPL_IF name="NOWRITETEMP" -->\r
41             <li>This script is not able to create/write to the necessary temporary directory.</li>\r
42         <!-- /TMPL_IF -->\r
43         <!-- TMPL_IF name="NOWRITEDEST" -->\r
44             <li>This script is not able to write to the patronpictures holding directory.</li>\r
45         <!-- /TMPL_IF -->\r
46         <!-- TMPL_IF name="EMPTYUPLOAD" -->\r
47             <li>The upload file appears to be empty.</li>\r
48         <!-- /TMPL_IF -->\r
49         <!-- /TMPL_LOOP -->\r
50     <!-- /TMPL_IF -->\r
51     <form method="post" action="/cgi-bin/koha/import/picture-upload.pl" enctype="multipart/form-data">\r
52     <ul>\r
53         <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>\r
54         <li>You can include multiple pictures in a .zip file.</li>\r
55         <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 ,'s or tabs.  Quotes around the fields are ignored.</li>\r
56     </ul>\r
57     <table>\r
58         <tr>\r
59             <th><label for="uploadfile">Select the .zip file to unpack: </label></th>\r
60             <td>\r
61                 <input type="file" id="uploadfile" name="uploadfile" /><br />\r
62             </td>\r
63         </tr>\r
64     </table>\r
65         <input type="submit" value="Unpack" class="submit" />\r
66     </form>\r
67     \r
68 <!-- /TMPL_IF -->\r
69 \r
70 </div>\r
71 </div>\r
72 </div>\r
73 </div>\r
74 <div class="yui-b">\r
75 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->\r
76 </div>\r
77 </div>\r
78 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->\r