BUGFIX : highlighting term fixes
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / authorities / searchresultlist.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Authorities &rsaquo; Authority search results</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" >
5 //<![CDATA[
6 function confirm_deletion(id) {
7     
8     var is_confirmed = confirm('Are you sure you want to delete this authority?');
9     if (is_confirmed) {
10         window.location="authorities-home.pl?op=delete&amp;authid="+id;
11     }
12 }
13 function Help() {
14     newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
15 }
16
17 function addauthority() {
18     X = document.forms[0].authtype.value;
19     window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
20 }
21 function searchauthority() {
22     X = document.forms[0].authtype2.value;
23     Y = document.forms[0].value.value;
24     window.location="/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&authtypecode="+X+"&value="+Y+"&marclist=&and_or=and&excluding=&operator=contains";
25 }
26 //]]>
27 </script>
28 </head>
29 <body>
30 <!-- TMPL_INCLUDE NAME="header.inc" -->
31 <!-- TMPL_INCLUDE NAME="authorities-search.inc" -->
32
33 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> &rsaquo; Authority search results</div>
34
35 <div id="doc" class="yui-t7">
36    
37    <div id="bd">
38     <div id="yui-main">
39     <div class="yui-g">
40     
41     <!-- TMPL_INCLUDE NAME="authorities-toolbar.inc" -->
42 <h1>Authority search results</h1>
43
44 <!-- TMPL_IF name="total" -->
45 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
46
47 <p id="authorities_searchresultlist_current_page_info">
48   Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" -->
49 </p>
50
51 <div id="authorities_searchresultlist_results">
52   <table>
53     <tr>
54       <th>Summary</th>
55 <!-- TMPL_UNLESS name="isEDITORS" -->
56       <th>Used in</th>
57 <!-- /TMPL_UNLESS -->
58       <th>View</th>
59       <th>Delete</th>
60     </tr>
61 <!-- TMPL_LOOP NAME="result" -->
62     <tr>
63       <td><a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->"><!-- TMPL_VAR NAME="summary" --></a></td>
64   <!-- TMPL_UNLESS name="isEDITORS" -->
65       <td>
66         <a href="../catalogue/search.pl?type=intranet&amp;op=do_search&amp;idx=an&amp;q=<!--TMPL_VAR Name="authid" -->" class="button"><!-- TMPL_VAR NAME="used" --> biblio(s)</a>
67       </td>
68   <!-- /TMPL_UNLESS -->
69       <td>
70         <a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Authority number <!-- TMPL_VAR NAME="authid" --></a>
71       </td>
72       <td>
73   <!-- TMPL_UNLESS name="used" -->
74         <a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">Delete</a>
75   <!-- /TMPL_UNLESS -->
76       </td>
77     </tr>
78 <!-- /TMPL_LOOP -->
79   </table>
80 </div>
81
82 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
83
84 <!-- TMPL_ELSE -->
85   No results found
86 <!-- /TMPL_IF -->
87 </div>
88 </div>
89 </div>
90 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->