Koha/koha-tmpl/intranet-tmpl/default/en/search.marc/dictionary.tmpl

200 lines
No EOL
8.3 KiB
Cheetah

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>KOHA: Dictionary</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/javascript">
<!-- Hide from old browsers
function openWindow(targeturl, windowname) {
newwin =
window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
}
function Help() {
newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
}
// end hiding -->
</script>
<link rel="stylesheet" type="text/css" href="/intranet-tmpl/default/en/includes/common-style.css">
<style type="text/css">
.catalogue {
background-color:#ad11ad;
color:#FFFFFF;
background-image:none;
text-decoration: normal;
}
a.catalogue:hover {
background-color: #ad11ad;
color: #FFFFFF;
text-decoration: none;
}
</style>
</head>
<body>
<div id="mainbloc">
<h1 class="catalogue">Dictionary Search</h1>
<form name="f" method="post" action="/cgi-bin/koha/search.marc/dictionary.pl">
<div class="bloc25">
<h2 class="catalogue">Search on</h2>
<p>
<input type="hidden" name="op" value="do_search">
<label class="label100" for="keyword"></label>
<input type="hidden" name="marclist" value="<!-- TMPL_VAR Name="marclist" -->">
<input type="text" name="search" value="<!-- TMPL_VAR Name="search" -->" size="35">
<input type="submit" value="Start search" class="button catalogue">
<input type="hidden" name="type" value="<!-- TMPL_VAR Name="type" -->">
<input type="hidden" name="index" value="<!-- TMPL_VAR Name="anindex" ESCAPE="URL" -->">
</p>
</div>
</form>
<!-- TMPL_IF Name=search -->
<div class="bloc25">
<h2 class="catalogue">Dictionary Search results</h2>
<!-- TMPL_IF NAME="authresult" -->
<div id="resultnumber">
<p><!-- TMPL_IF NAME="displayprev" -->
<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">&lt;&lt;Previous</a>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="numbers" -->
<!-- TMPL_IF NAME="highlight" -->
<span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
<!-- TMPL_ELSE -->
<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="displaynext" -->
<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">Next&gt;&gt;</a>
<!-- /TMPL_IF -->
</p>
<p class="resultcount">
<!-- TMPL_IF NAME="nbresults" -->
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="nbresults" --><!-- TMPL_ELSE -->No results found.
<!-- /TMPL_IF -->
</p>
</div>
<div id="resultlist">
<table>
<tr>
<th colspan="3" class="catalogue">Authorities</th>
</tr>
<tr>
<th class="catalogue">Summary</th>
<th class="catalogue">Used in</th>
<th class="catalogue">Select</th>
</tr>
<!-- TMPL_LOOP NAME="authresult" -->
<tr>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="summary" -->
</td>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="used" --> biblio(s)
</td>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="jamainentry" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,0)" class="button catalogue">select</a>
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="jamainentry" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,1)" class="button catalogue">sel&amp;close</a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<!-- TMPL_ELSE -->
<h3 class="catalogue">No results in Authorities</h3>
<!-- /TMPL_IF -->
<!-- TMPL_IF Name=catresult -->
<div id="resultnumber">
<p class="resultcount">
<!-- TMPL_IF NAME="total" -->
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --><!-- TMPL_ELSE -->No results found.
<!-- /TMPL_IF -->
</p>
</div>
<div id="resultlist">
<table>
<tr>
<th class="catalogue">Summary</th>
<th class="catalogue">Used in</th>
<th class="catalogue">Select</th>
</tr>
<!-- TMPL_LOOP NAME="catresult" -->
<tr>
<!-- TMPL_IF NAME="even" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="MARC_ON" -->
<!-- TMPL_VAR NAME="value" -->
<!-- TMPL_ELSE -->
<!-- TMPL_VAR NAME="value" -->
<!-- /TMPL_IF -->
</td>
<td align="center" <!-- TMPL_IF NAME="even" --> class="hilighted"<!-- /TMPL_IF -->>
<!-- TMPL_VAR NAME="count" --> biblio(s)
</td>
<td <!-- TMPL_IF NAME="even" -->class="hilighted"<!-- /TMPL_IF -->>
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="javalue" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,0)" class="button catalogue">Select</a>
<a href="javascript:SelectEntry('<!-- TMPL_VAR NAME="javalue" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL" -->,1)" class="button catalogue">Sel&amp;close</a>
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<div id="resultnumber">
<p><!-- TMPL_IF NAME="displayprev" -->
<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">&lt;&lt;Previous</a>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP NAME="numbers" -->
<!-- TMPL_IF NAME="highlight" -->
<span class="highlight"><!-- TMPL_VAR NAME="number" --></span>
<!-- TMPL_ELSE -->
<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE=URL -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE=URL -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<!-- TMPL_IF NAME="displaynext" -->
<a class="resultnumber" href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">Next&gt;&gt;</a>
<!-- /TMPL_IF -->
</p>
<p class="resultcount">
<!-- TMPL_IF NAME="total" -->
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --><!-- TMPL_ELSE -->No results found.
<!-- /TMPL_IF -->
</p>
</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>
</div>
<!-- /TMPL_IF -->
</div>
</body>
</html>