Tweaking markup a little
authoroleonard <oleonard>
Thu, 10 Aug 2006 17:03:52 +0000 (17:03 +0000)
committeroleonard <oleonard>
Thu, 10 Aug 2006 17:03:52 +0000 (17:03 +0000)
koha-tmpl/intranet-tmpl/npl/en/import/picture-upload.tmpl

index 6cfb691..1a0e86a 100644 (file)
@@ -1,63 +1,63 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Cataloging: Copy Import<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->\r
-<!-- TMPL_INCLUDE NAME="masthead.inc" -->\r
-<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->\r
-\r
-<div id="main">\r
-<h1>Patron Pictures Import System</h1>\r
-\r
-<!-- TMPL_IF name="total" -->\r
-       <ul class="data">\r
-               <li>Unpacking completed</li>\r
-       </ul>\r
-<!-- \r
-<!-- TMPL_VAR NAME="total" --> Scanned\r
-<!-- TMPL_VAR NAME="handled" --> Processed\r
-<!-- TMPL_LOOP name="counts" -->\r
-       <!-- TMPL_VAR name="count" -->  Images moved from <!-- TMPL_VAR name="source" --> to <!-- TMPL_VAR name="dest" -->\r
-       <!-- TMPL_LOOP name="filenames" -->\r
-               <!-- TMPL_VAR name="source" --> To <!-- TMPL_VAR name="dest" -->\r
-       <!-- /TMPL_LOOP -->\r
-<!-- /TMPL_LOOP -->\r
- -->\r
-<!-- TMPL_ELSE -->\r
-\r
-<!-- TMPL_IF name="errors" -->\r
-       <!-- TMPL_LOOP name="errors" -->\r
-       <ul class="error">\r
-       <!-- TMPL_IF name="NOTZIP" -->\r
-               <li>The upload file does not appear to be a zip file.  The extention is not '.zip'.</li>\r
-       <!-- /TMPL_IF -->\r
-       <!-- TMPL_IF name="NOWRITETEMP" -->\r
-               <li>This script is not able to create/write to the necessary temporary directory.</li>\r
-       <!-- /TMPL_IF -->\r
-       <!-- TMPL_IF name="NOWRITEDEST" -->\r
-               <li>This script is not able to write to the patronpictures holding directory.</li>\r
-       <!-- /TMPL_IF -->\r
-       <!-- TMPL_IF name="EMPTYUPLOAD" -->\r
-               <li>The upload file appears to be empty.</li>\r
-       <!-- /TMPL_IF -->\r
-       <!-- /TMPL_LOOP -->\r
-<!-- /TMPL_IF -->\r
-\r
-<form method="post" action="/cgi-bin/koha/import/picture-upload.pl" enctype="multipart/form-data">\r
-<div class="data">\r
-<ul>\r
-       <li>Select a file to unpack on the server. Each .jpg file contained therein will be copied to the appropriate place on the server for patron pictures.</li>\r
-       <li>You can include multiple picture packs in the .zip file in seperate directories.</li>\r
-       <li>There should be a DATALINK.TXT or IDLINK.TXT file for each picture pack 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
-</ul>\r
-<table>\r
-       <tr>\r
-               <th><label for="uploadfile">Select the .zip file to unpack: </label></th>\r
-               <td>\r
-                       <input type="file" id="uploadfile" name="uploadfile" /><br />\r
-               </td>\r
-       </tr>\r
-</table>\r
-</div>\r
-       <input type="submit" value="Unpack" class="submit" />\r
-</form>\r
-\r
-<!-- /TMPL_IF -->\r
-</div>\r
-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->\r
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Patron Pictures Import System<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="masthead.inc" -->
+<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
+
+<div id="main">
+<h1>Patron Pictures Import System</h1>
+
+<!-- TMPL_IF name="total" -->
+<div class="details">
+       <h3>Unpacking completed</h3>
+       <ul>
+    <li><!-- TMPL_VAR NAME="total" --> Scanned</li>
+       <li><!-- TMPL_VAR NAME="handled" --> Processed</li>
+       <li><ul><!-- TMPL_LOOP name="counts" -->
+       <li><!-- TMPL_VAR name="count" -->      Images moved from <!-- TMPL_VAR name="source" --> to <!-- TMPL_VAR name="dest" -->
+       <ul><!-- TMPL_LOOP name="filenames" -->
+               <li><!-- TMPL_VAR name="source" --> To <!-- TMPL_VAR name="dest" --></li>
+       <!-- /TMPL_LOOP --></ul>
+    <!-- /TMPL_LOOP --></li></ul></li></ul>
+</div>
+<!-- TMPL_ELSE -->
+<div class="details">
+<!-- TMPL_IF name="errors" -->
+       <!-- TMPL_LOOP name="errors" -->
+       <ul class="error">
+       <!-- 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 patronpictures holding directory.</li>
+       <!-- /TMPL_IF -->
+       <!-- TMPL_IF name="EMPTYUPLOAD" -->
+               <li>The upload file appears to be empty.</li>
+       <!-- /TMPL_IF -->
+       <!-- /TMPL_LOOP -->
+<!-- /TMPL_IF -->
+
+<form method="post" action="/cgi-bin/koha/import/picture-upload.pl" enctype="multipart/form-data">
+    <div class="error"><h3>Warning, this feature is experimental. It's possible that it won't work for you</h3></div>
+<h4>Instructions:</h4>
+<ol>
+       <li>Select a file to unpack on 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 picture packs in the .zip file in seperate directories.</li>
+       <li>There should be a DATALINK.TXT or IDLINK.TXT file for each picture pack 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>
+</ol>
+<table>
+       <tr>
+               <th><label for="uploadfile">Select the .zip file to unpack: </label></th>
+               <td>
+                       <input type="file" id="uploadfile" name="uploadfile" /><br />
+               </td>
+       </tr>
+</table>
+
+       <input type="submit" value="Unpack" class="submit" />
+</form>
+</div>
+<!-- /TMPL_IF -->
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->