Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tmpl

64 lines
2.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Serials &rsaquo; Search Results</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript" language="javascript">
//<![CDATA[
function GetIt(bibno,title)
{
title = title.replace(/\?/,"\?");
title = title.replace(/"/,"\"");
title = title.replace(/'/,"\'");
opener.document.f.biblionumber.value = bibno;
opener.document.f.title.value = title;
window.close();
}
//]]>
</script>
</head>
<body>
<div id="doc" class="yui-t7">
<div id="bd">
<!-- TMPL_IF NAME="total"-->
<h1>Search results from <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></h1>
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>Publisher</th>
<th>Publication year</th>
<th>&nbsp;</th>
</tr>
<!-- TMPL_LOOP NAME="resultsloop" -->
<tr>
<td><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR ESCAPE="HTML" NAME="subtitle" -->
</td>
<td>
<!-- TMPL_VAR ESCAPE="HTML" NAME="author" -->
</td>
<td>
<!-- TMPL_VAR ESCAPE="HTML" NAME="publishercode" -->
</td>
<td>
<!-- TMPL_VAR ESCAPE="HTML" NAME="publicationyear" -->
</td>
<td><a href="#" onclick="GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Choose this record">Choose</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_ELSE -->
<h2>No results found for <b><!-- TMPL_VAR NAME="query" --></b></h2>
<!-- /TMPL_IF-->
<!-- TMPL_IF NAME="displayprev" -->
<a href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=<!-- TMPL_VAR ESCAPE="URL" NAME="startfromprev" -->&amp;q=<!-- TMPL_VAR ESCAPE="URL" NAME="query" -->">&lt;&lt;</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="displaynext" -->
<a href="/cgi-bin/koha/serials/subscription-bib-search.pl?op=do_search&amp;type=intranet&amp;startfrom=<!-- TMPL_VAR ESCAPE="URL" NAME="startfromnext" -->&amp;q=<!-- TMPL_VAR ESCAPE="URL" NAME="query" -->">&gt;&gt;</a>
<!-- /TMPL_IF -->
<p><a href="subscription-bib-search.pl">Search for another record</a></p>
<fieldset class="action"><a class="button close" href="#">Close</a></fieldset>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->