Main Koha release repository
https://koha-community.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.6 KiB
58 lines
1.6 KiB
<!-- TMPL_IF NAME="opac" -->
|
|
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_INCLUDE NAME="cat-top.inc" -->
|
|
<!-- /TMPL_IF -->
|
|
<div id="mainbloc">
|
|
<h1 class="catalogue">Catalogue search</h1>
|
|
<div id="bloc25">
|
|
<table>
|
|
<tr>
|
|
<th class="catalogue">
|
|
Initial word
|
|
</th>
|
|
<th class="catalogue">
|
|
Suggested
|
|
</th>
|
|
<th class="catalogue">
|
|
Used X times
|
|
</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="loop" -->
|
|
<tr>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="word" -->
|
|
</td>
|
|
<td>
|
|
<a href="javascript:Import('<!-- TMPL_VAR NAME="word" -->','<!-- TMPL_VAR NAME="suggestion" -->')">
|
|
<!-- TMPL_VAR NAME="suggestion" -->
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="count" -->
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<script language="javascript" type="text/javascript">
|
|
function Import(Replaced,ReplaceBy) {
|
|
for (i=0 ; i<opener.document.f.value.length ; i++) {
|
|
opener.document.forms[0].value[i].value = opener.document.forms[0].value[i].value.replace(Replaced,ReplaceBy);
|
|
// if (document.forms[0].kohafield[i].value == "biblioitems.isbn" && document.forms[0].field_value[i].value.length>0) {
|
|
// strQuery += "&isbn="+document.forms[0].field_value[i].value;
|
|
// }
|
|
// opener.document.location= "../acqui.simple/addbiblio.pl?z3950=1&oldbiblionumber=<!-- TMPL_VAR NAME="oldbiblionumber" -->&breedingid="+GetThisOne;
|
|
// self.close();
|
|
// return false;
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<!-- TMPL_IF NAME="opac" -->
|
|
<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_INCLUDE NAME="cat-bottom.inc" -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
|