<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
-<title>Koha › Catalogue › Advanced Search</title>
+<title>Koha › Catalog › Advanced Search</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/JavaScript" language="JavaScript">
/**
line.removeChild(ButtonPlus);
}
$(document).ready(function() {
- $("input[@name='q']:eq(0)").focus();
+ $("input[name=q]:eq(0)").focus();
});
</script>
</head>
<!-- ITEMTYPE LIMITS -->
<div id="itemtypelist">
<fieldset>
- <legend>Limit type to: match any of the following:</legend>
+ <legend>Limit to any of the following:</legend>
<table>
<tr>
<!--TMPL_LOOP Name="itemtypeloop"-->
<!-- TYPE LIMITS -->
<fieldset>
- <legend>Limit type to: match any of the following</legend>
+ <legend>Limit to any of the following</legend>
<table class="itemtypes">
<tr>
<td><input type="checkbox" id="mc-bks" name="limit" value="mc:t" />
<label for="branchloop">Individual Libraries:</label><select name="limit" id="branchloop" onchange='if(this.value != ""){document.getElementById("categoryloop").disabled=true;} else {document.getElementById("categoryloop").disabled=false;}'>
<option value="">All Libraries</option>
<!-- TMPL_LOOP NAME="branchloop" -->
+ <!-- TMPL_IF NAME="selected" -->
+ <option value="branch:<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
+ <!-- TMPL_ELSE -->
<option value="branch:<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
+ <!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</select>
<!-- <input type="hidden" name="limit" value="branch: MAIN" /> -->
</p>
<!-- TMPL_IF NAME="searchdomainloop" -->
- <p>OR<p> <!-- should addjs to grey out group pulldown if a library is selected. -->
+ <p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. -->
<p>
<label for="categoryloop">Groups of Libraries</label><select name="multibranchlimit" id="categoryloop">
<option value=""> -- none -- </option>