Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tmpl
Nahuel ANGELINETTI 2091a99e73 (bug #3421) fix the xhtml in serial biblio search
This fix differents errors, and escape in bib search.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-07-20 22:08:17 -04:00

68 lines
2.4 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &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">
<h1>Search results from <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></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" escape="html" -->
</a>
<br />
<small><!-- TMPL_VAR ESCAPE="HTML" NAME="subtitle" --></small>
</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>
</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 -->
<br/>
<a href="subscription-bib-search.pl">Search for another Biblio</a>
<a class="button" href="#" onclick="window.close()"> Close</a>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->