Owen Leonard
d0379ed325
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
142 lines
No EOL
6.8 KiB
Cheetah
142 lines
No EOL
6.8 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › Dictionary Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
</head>
|
|
<body><div id="window">
|
|
<h1>Dictionary Search</h1>
|
|
|
|
<form name="f" method="post" action="opac-dictionary.pl">
|
|
<input type="hidden" name="op" value="do_search" />
|
|
<label for="keyword">Keyword(s): </label>
|
|
<input type="hidden" name="marclist" value="<!-- TMPL_VAR Name="marclist" -->" />
|
|
<input type="text" name="search" value="<!-- TMPL_VAR Name="search" -->" size="20" />
|
|
<input type="submit" value="Start search" class="submit" />
|
|
<input type="hidden" name="type" value="<!-- TMPL_VAR Name="type" -->" />
|
|
<input type="hidden" name="index" value="<!-- TMPL_VAR Name="anindex" ESCAPE="URL" -->" />
|
|
</form>
|
|
|
|
<!-- TMPL_IF Name=search -->
|
|
<!-- TMPL_IF NAME="authresult" -->
|
|
<div class="pages">
|
|
<!-- TMPL_IF NAME="displayprev" -->
|
|
<a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->"><<Previous</a>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_LOOP NAME="numbers" -->
|
|
<!-- TMPL_IF NAME="highlight" -->
|
|
<span class="current"><!-- TMPL_VAR NAME="number" --></span>
|
|
<!-- TMPL_ELSE -->
|
|
<a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
<!-- TMPL_IF NAME="displaynext" -->
|
|
<a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&marclist=<!-- TMPL_VAR NAME="marclist" -->&search=<!-- TMPL_VAR NAME="search" -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->">Next>></a>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
<div id="results">
|
|
<!-- TMPL_IF NAME="nbresults" -->
|
|
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="nbresults" --> in Authorities.<!-- TMPL_ELSE -->No results found in Authorities.
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<table>
|
|
<tr>
|
|
<th colspan="3">Authorities</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Summary</th>
|
|
<th>Used in</th>
|
|
<th>Select</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="authresult" -->
|
|
<!-- TMPL_IF NAME="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
|
|
<td>
|
|
<!-- TMPL_VAR NAME="summary" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="used" --> record(s)
|
|
</td>
|
|
<td>
|
|
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="summary" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,0)" class="button catalogue">Select</a> |
|
|
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="mainentry" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,1)" class="button catalogue">Sel & close</a>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
<!-- TMPL_ELSE -->
|
|
<h4>No results in Authorities</h4>
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- TMPL_IF Name=catresult -->
|
|
<h3>Catalog Search Results</h3>
|
|
<div id="results">
|
|
<!-- TMPL_IF NAME="total" -->
|
|
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --> in the catalog<!-- TMPL_ELSE -->No results found in the catalog.
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Summary</th>
|
|
<th>Used in</th>
|
|
<th>Select</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="catresult" -->
|
|
<!-- TMPL_IF NAME="even" --><tr class="highlight"><!-- TMPL_ELSE --><!-- /TMPL_IF -->
|
|
<td>
|
|
<!-- TMPL_IF name="MARC_ON" -->
|
|
<!-- TMPL_VAR NAME="value" -->
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_VAR NAME="value" -->
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="count" --> record(s)
|
|
</td>
|
|
<td>
|
|
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,0)" class="button catalogue">Select</a> |
|
|
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,1)" class="button catalogue">Sel & close</a>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
|
|
<div class="pages">
|
|
<!-- TMPL_IF NAME="displayprev" -->
|
|
<a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->"><<Previous</a>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_LOOP NAME="numbers" -->
|
|
<!-- TMPL_IF NAME="highlight" -->
|
|
<span class="current"><!-- TMPL_VAR NAME="number" --></span>
|
|
<!-- TMPL_ELSE -->
|
|
<a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
<!-- TMPL_IF NAME="displaynext" -->
|
|
<a href="opac-dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&marclist=<!-- TMPL_VAR NAME="marclist" -->&search=<!-- TMPL_VAR NAME="search" -->&resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&type=intranet&op=do_search&index=<!-- TMPL_VAR Name="anindex" -->">Next>></a>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<div id="results">
|
|
<!-- TMPL_IF NAME="total" -->
|
|
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --> in the catalog.<!-- TMPL_ELSE -->No results found in the catalog.
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<!-- /TMPL_IF -->
|
|
<script language="JavaScript" type="text/javascript">
|
|
function SelectEntry(myentry, myindex, wclose){
|
|
if (opener.document.f.value[myindex].value!=""){
|
|
opener.document.f.value[myindex].value=opener.document.f.value[myindex].value+" "+myentry
|
|
} else {
|
|
opener.document.f.value[myindex].value=myentry
|
|
}
|
|
if (wclose == 1) {
|
|
// alert("closing")
|
|
self.close();
|
|
}
|
|
}
|
|
</script>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
|
|
</body>
|
|
</html> |