1409 empty search term in subscription search biblio
[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; Search Result List</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" >
5
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 </script>
14 </head>
15 <body>
16 <!-- TMPL_INCLUDE NAME="header.inc" -->
17
18 <script language="JavaScript" type="text/javascript">
19 function Help() {
20     newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
21 }
22
23 function addauthority() {
24     X = document.forms[0].authtype.value;
25     window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
26 }
27 function searchauthority() {
28     X = document.forms[0].authtype2.value;
29     Y = document.forms[0].value.value;
30     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";
31 }
32 </script>
33
34
35 <div id="doc3" class="yui-t2">
36    
37    <div id="bd">
38         <div id="yui-main">
39         <div class="yui-b"><div class="yui-g">
40
41 <h1>Authority search results</h1>
42
43 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
44
45 <p id="authorities_searchresultlist_current_page_info">
46 <!-- TMPL_IF name="total" -->
47   Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" -->
48 <!-- TMPL_ELSE -->
49   No results found.
50 <!-- /TMPL_IF -->
51 </p>
52
53 <div id="authorities_searchresultlist_results">
54   <table>
55     <tr>
56       <th>Summary</th>
57 <!-- TMPL_UNLESS name="isEDITORS" -->
58       <th>Used in</th>
59 <!-- /TMPL_UNLESS -->
60       <th>View</th>
61       <th>Delete</th>
62     </tr>
63 <!-- TMPL_LOOP NAME="result" -->
64     <tr>
65       <td><a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->"><!-- TMPL_VAR NAME="summary" --></a></td>
66   <!-- TMPL_UNLESS name="isEDITORS" -->
67       <td>
68         <a href="../catalogue/search.pl?type=intranet&amp;op=do_search&amp;q=an=<!--TMPL_VAR Name="authid" -->" class="button"><!-- TMPL_VAR NAME="used" --> biblio(s)</a>
69       </td>
70   <!-- /TMPL_UNLESS -->
71       <td>
72         <a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Authority number <!-- TMPL_VAR NAME="authid" --></a>
73       </td>
74       <td>
75   <!-- TMPL_UNLESS name="used" -->
76         <a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">Delete</a>
77   <!-- /TMPL_UNLESS -->
78       </td>
79     </tr>
80 <!-- /TMPL_LOOP -->
81   </table>
82 </div>
83
84 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
85
86 </div>
87 </div>
88 </div>
89
90 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
91 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->