Bug 2789 Fix UNIMAC leader plugin
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_4XX.tmpl
index 0925847..253e8a3 100644 (file)
                                <input type="hidden" name="result" value="unimarc field 4 <!--TMPL_VAR Name="index" -->">
                                <input type="hidden" name="op" value="do_search">
                                <label class="label100" for="searchbox">Any word</label>
-                               <input type="text" name="search" id="searchbox" size="35">
+                               <input type="text" name="search" id="searchbox" size="35"><br />
+                               <label for="itypeloop">Item type:</label>
+                               <select name="itype">
+                               <option value="">All Item Types</option>
+                               <!-- TMPL_LOOP NAME="itypeloop" -->
+                               <!-- TMPL_IF NAME="selected" -->
+                               <option value="<!-- TMPL_VAR NAME="itemtype" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
+                               <!-- TMPL_ELSE -->
+                               <option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option>
+                               <!-- /TMPL_IF -->
+                               <!-- /TMPL_LOOP -->
+                               </select>
                        </p>
                        <p>
                                <input type="submit" value="Start search">
                                        <th>&nbsp;</th>
                                </tr>
                                <!-- TMPL_LOOP NAME="result" -->
+                               <!-- TMPL_IF NAME="title" -->
                                <tr>
                                     <td<!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
                                                             <!-- TMPL_IF name="MARC_ON" -->
                       <!--/TMPL_IF-->
                                        </td>
                                </tr>
+                               <!-- /TMPL_IF -->
                                <!-- /TMPL_LOOP -->
                        </table>
                </div>