Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tmpl
2007-08-30 15:50:54 -05:00

65 lines
1.6 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Search Results</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<div id="doc" class="yui-t7">
<div id="bd">
<div class="yui-g">
<h1>Search results</h1>
<!-- TMPL_IF NAME="total"-->
<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="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>
<!-- 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>
</div>
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->