Implementing TMPL_ELSIF; NOTICE: REQUIRES Template::Pro 0.69
authorChris Nighswonger <cnighswonger@foundations.edu>
Fri, 7 Mar 2008 08:48:47 +0000 (03:48 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Sat, 8 Mar 2008 17:19:30 +0000 (11:19 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tmpl

index 190eb8d..92e478c 100644 (file)
                             <li><!-- TMPL_VAR name="source" --> - Cardnumber: <!-- TMPL_VAR name="cardnumber" -->
                                     <!-- TMPL_IF NAME="filerrors" --><br /> <b>WARNING:</b> This image <i>not</i> imported because 
                                     <!-- TMPL_LOOP NAME="filerrors" -->
-                                        <!-- TMPL_IF NAME="DBERR" -->the database returned an error. Please refer to the error log for more details.</li><!-- TMPL_ELSE -->
-                                        <!-- TMPL_IF NAME="IMGEXISTS" -->this patron does not exist in the database.</li><!-- TMPL_ELSE -->
-                                        <!-- TMPL_IF NAME="MIMERR" -->the image format is unrecognized.</li><!-- TMPL_ELSE -->
-                                        <!-- TMPL_IF NAME="OPNERR" -->Koha was unable to open the image for reading.</li><!-- TMPL_ELSE -->
-                                        <!-- TMPL_IF NAME="CRDFIL" -->the <!-- TMPL_VAR NAME="CRDFIL" --> is missing.</li><!-- TMPL_ELSE -->
-                                        of an unknown error. Please refer to the error log for more details.</li><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF -->
+                                        <!-- TMPL_IF NAME="DBERR" -->the database returned an error. Please refer to the error log for more details.</li>
+                                        <!-- TMPL_ELSIF NAME="IMGEXISTS" -->this patron does not exist in the database.</li>
+                                        <!-- TMPL_ELSIF NAME="MIMERR" -->the image format is unrecognized.</li>
+                                        <!-- TMPL_ELSIF NAME="OPNERR" -->Koha was unable to open the image for reading.</li>
+                                        <!-- TMPL_ELSIF NAME="CRDFIL" -->the <!-- TMPL_VAR NAME="CRDFIL" --> is missing.</li>
+                                        <!-- TMPL_ELSE -->of an unknown error. Please refer to the error log for more details.</li><!-- /TMPL_IF -->
                                     <!-- /TMPL_LOOP -->
                                         <!--TMPL_ELSE --> imported successfully.</li>
                                     <!-- /TMPL_IF -->
                 <!-- TMPL_IF name="ERRORS" -->
                 <div class="dialog alert">
                     <!-- TMPL_LOOP name="ERRORS" -->
-                        <!-- TMPL_IF name="NOTZIP" --><li><b>The upload file does not appear to be a zip file.  The extention is not '.zip'.</b></li><!-- TMPL_ELSE -->
-                        <!-- TMPL_IF name="NOWRITETEMP" --><li><b>This script is not able to create/write to the necessary temporary directory.</b></li><!-- TMPL_ELSE -->
-                        <!-- TMPL_IF name="EMPTYUPLOAD" --><li><b>The upload file appears to be empty.</b></li><!-- TMPL_ELSE -->
-                        <!-- TMPL_IF name="OPNLINK" --><li><b>Cannot open <!-- TMPL_VAR NAME="OPNLINK" --> to read.<br />Please verify that it exists.</b></li><!-- TMPL_ELSE -->
-                        <!-- TMPL_IF name="OPNIMG" --><li><b>Cannot open <!-- TMPL_VAR NAME="OPNIMG" --> to read.<br />Please verify that it exists.</b></li><!-- TMPL_ELSE -->
-                        <!-- TMPL_IF name="DELERR" --><li><b>Unrecognized or missing field delimeter.<br />Please verify that you are using either a single quote or a tab.</b></li><!-- TMPL_ELSE -->
-                        <!-- TMPL_IF name="UZIPFAIL" --><li><b><!-- TMPL_VAR name="UZIPFAIL" --> failed to unpack.<br />Please verify the integrity of the zip file and retry.</b></li><!-- TMPL_ELSE -->
-                        <li><b>An unknown error has occurred.<br />Please review the error log for more details.</b></li><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF -->
+                        <!-- TMPL_IF name="NOTZIP" --><li><b>The upload file does not appear to be a zip file.  The extention is not '.zip'.</b></li>
+                        <!-- TMPL_ELSIF name="NOWRITETEMP" --><li><b>This script is not able to create/write to the necessary temporary directory.</b></li>
+                        <!-- TMPL_ELSIF name="EMPTYUPLOAD" --><li><b>The upload file appears to be empty.</b></li>
+                        <!-- TMPL_ELSIF name="OPNLINK" --><li><b>Cannot open <!-- TMPL_VAR NAME="OPNLINK" --> to read.<br />Please verify that it exists.</b></li>
+                        <!-- TMPL_ELSIF name="OPNIMG" --><li><b>Cannot open <!-- TMPL_VAR NAME="OPNIMG" --> to read.<br />Please verify that it exists.</b></li>
+                        <!-- TMPL_ELSIF name="DELERR" --><li><b>Unrecognized or missing field delimeter.<br />Please verify that you are using either a single quote or a tab.</b></li>
+                        <!-- TMPL_ELSIF name="UZIPFAIL" --><li><b><!-- TMPL_VAR name="UZIPFAIL" --> failed to unpack.<br />Please verify the integrity of the zip file and retry.</b></li>
+                        <!-- TMPL_ELSE --><li><b>An unknown error has occurred.<br />Please review the error log for more details.</b></li><!-- /TMPL_IF -->
                     <!-- /TMPL_LOOP -->
                 </div>
                 <!-- /TMPL_IF -->