Koha/koha-tmpl/intranet-tmpl/prog/en/authorities/searchresultlist.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

64 lines
2 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Authorities &rsaquo; Search Result List</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-authorities.inc" -->
<h1 class="authority">Authority search results</h1>
<div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
<p id="authorities_searchresultlist_current_page_info">
<!-- TMPL_IF name="total" -->
Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" -->
<!-- TMPL_ELSE -->
No results found.
<!-- /TMPL_IF -->
</p>
<div id="authorities_searchresultlist_results">
<table>
<tr>
<th>Summary</th>
<!-- TMPL_UNLESS name="isEDITORS" -->
<th>Used in</th>
<!-- /TMPL_UNLESS -->
<th>View</th>
<th>Delete</th>
</tr>
<!-- TMPL_LOOP NAME="result" -->
<tr>
<td><a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->"><!-- TMPL_VAR NAME="summary" --></a></td>
<!-- TMPL_UNLESS name="isEDITORS" -->
<td>
<a href="../catalogue/search.pl?type=intranet&amp;op=do_search&amp;q=an=<!--TMPL_VAR Name="authid" -->" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a>
</td>
<!-- /TMPL_UNLESS -->
<td>
<a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Authority number <!-- TMPL_VAR NAME="authid" --></a>
</td>
<td>
<!-- TMPL_UNLESS name="used" -->
<a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">Delete</a>
<!-- /TMPL_UNLESS -->
</td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</div>
<div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
<script language="JavaScript" type="text/javascript" >
function confirm_deletion(id) {
var is_confirmed = confirm('Are you sure you want to delete this authority?');
if (is_confirmed) {
window.location="authorities-home.pl?op=delete&amp;authid="+id;
}
}
</script>
<!-- TMPL_INCLUDE name="intranet-bottom.inc" -->