Koha/koha-tmpl/intranet-tmpl/prog/en/serials/result.tmpl
kados 5f4542992a This is a minor change, but affects all templates:
previously, it wasn't possible to insert anything into the <head> on
an individual template unless it was the title of the page. Now, the
structure is a bit more flexible to allow additional head elements to
be included.
2007-03-11 21:08:11 +00:00

55 lines
1.5 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Search Results</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<div id="mainbloc">
<h1 class="catalogue">Search results</h1>
<!-- TMPL_IF NAME="total"-->
<div class="searchresults">
<table>
<tr>
<th>Title</th>
<th>Author</th>
<th>publisher</th>
<th>Publication year</th>
</tr>
<!-- TMPL_LOOP NAME="resultsloop" -->
<tr>
<td>
<a href="#" onclick="Javascript:GetIt('<!-- TMPL_VAR NAME="biblionumber" -->','<!-- TMPL_VAR escape="URL" NAME="title" -->');" title="Get this one !">
<!-- TMPL_VAR NAME="title" -->
</a>
<br />
<small><!-- TMPL_VAR NAME="subtitle" --></small>
</td>
<td>
<!-- TMPL_VAR NAME="author" -->
</td>
<td>
<!-- TMPL_VAR NAME="publishercode" -->
</td>
<td>
<!-- TMPL_VAR NAME="publicationyear" -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<!-- TMPL_ELSE -->
No result found for <b><!-- TMPL_VAR NAME="query" --></b>
<!-- /TMPL_IF-->
</div>
<script language="Javascript">
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>