Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
<label for="budget_id">Budget: </label>
<select id="budget_id" onchange="fetchSortDropbox(this.form)" size="1" name="budget_id">
<!-- TMPL_LOOP NAME="budget_loop" -->
<label for="budget_id">Budget: </label>
<select id="budget_id" onchange="fetchSortDropbox(this.form)" size="1" name="budget_id">
<!-- TMPL_LOOP NAME="budget_loop" -->
- <option value="<!-- TMPL_VAR NAME='b_id' -->"<!-- TMPL_IF NAME="b_sel" -->selected="1"<!-- /TMPL_IF --> >
- <!-- TMPL_VAR NAME="b_txt" -->
- </option>
+ <!-- TMPL_IF NAME="b_sel" -->
+ <option value="<!-- TMPL_VAR NAME='b_id' -->" selected="selected"><!-- TMPL_VAR NAME="b_txt" --></option>
+ <!-- TMPL_ELSE -->
+ <option value="<!-- TMPL_VAR NAME='b_id' -->"><!-- TMPL_VAR NAME="b_txt" --></option>
+ <!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</select>
<!--/TMPL_IF-->
<!-- /TMPL_LOOP -->
</select>
<!--/TMPL_IF-->
<!-- TMPL_IF NAME="delete_confirmed" -->
<h3>Contract Deleted</h3>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<!-- TMPL_IF NAME="delete_confirmed" -->
<h3>Contract Deleted</h3>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
- <input type="hidden" name="booksellerid" value="<!-- TMPL_VAR name="booksellerid" -->/>
+ <input type="hidden" name="booksellerid" value="<!-- TMPL_VAR name="booksellerid" -->" />
<input type="submit" value="OK" />
</form>
<!-- /TMPL_IF -->
<input type="submit" value="OK" />
</form>
<!-- /TMPL_IF -->
<label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
<div class="hint">Enter item barcode:</div>
<label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
<div class="hint">Enter item barcode:</div>
- <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->disabled="disabled"<!-- /TMPL_IF -->/> <input type="submit" value="Check Out" />
+ <!-- TMPL_IF NAME="NEEDSCONFIRMATION" -->
+ <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" />
+ <!-- TMPL_ELSE -->
+ <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
+ <!-- /TMPL_IF -->
+ <input type="submit" value="Check Out" />
<!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
<div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>
<!-- TMPL_IF NAME="SpecifyDueDate" --><div class="date-select">
<div class="hint">Specify Due Date <!-- TMPL_INCLUDE NAME="date-format.inc" -->: </div>
Filter by area <select name="areas">
<option value="">All</option>
<!-- TMPL_LOOP NAME="areas" -->
Filter by area <select name="areas">
<option value="">All</option>
<!-- TMPL_LOOP NAME="areas" -->
- <!-- TMPL_IF NAME="selected">
+ <!-- TMPL_IF NAME="selected" -->
<option value="<!-- TMPL_VAR NAME="id" -->" selected="selected" ><!-- TMPL_VAR NAME="name"--></option>
<!-- TMPL_ELSE -->
<option value="<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="name"--></option>
<option value="<!-- TMPL_VAR NAME="id" -->" selected="selected" ><!-- TMPL_VAR NAME="name"--></option>
<!-- TMPL_ELSE -->
<option value="<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="name"--></option>
<th>Select</th>
</tr>
<!-- TMPL_LOOP name="loop_suppliers" -->
<th>Select</th>
</tr>
<!-- TMPL_LOOP name="loop_suppliers" -->
- <!-- TMPL_UNLESS name="__odd__">
+ <!-- TMPL_UNLESS name="__odd__" -->
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<tr class="highlight">
<!-- TMPL_ELSE -->
<tr>
<h1> <!-- TMPL_VAR NAME="session" --> </h1>
<h1> <!-- TMPL_VAR NAME="session" --> </h1>
-<!-- TMPL_IF fields ><!-- TMPL_INCLUDE NAME="virtualshelves/merge/selection.tmpl" -->
+<!-- TMPL_IF NAME="fields" --><!-- TMPL_INCLUDE NAME="virtualshelves/merge/selection.tmpl" -->
<!-- TMPL_ELSE -->
<h1>DOIT</h1><pre><!-- TMPL_VAR NAME="new" --></pre>
<h1>ITEMS</h1><pre><!-- TMPL_VAR NAME="items" --></pre>
<!-- TMPL_ELSE -->
<h1>DOIT</h1><pre><!-- TMPL_VAR NAME="new" --></pre>
<h1>ITEMS</h1><pre><!-- TMPL_VAR NAME="items" --></pre>