synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
[koha.git] / koha-tmpl / intranet-tmpl / default / en / authorities / searchresultlist.tmpl
1 <!-- TMPL_INCLUDE NAME="auth-top.inc" -->
2 <div id="mainbloc">
3         <h1 class="authority">Authority search results</h1>
4         <div id="resultnumber">
5                 <p>
6                         <!-- TMPL_IF name="displayprev" -->
7                                 <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
8                                         <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
9                                 </a>
10                         <!-- /TMPL_IF -->
11                         <!-- TMPL_LOOP NAME="numbers" -->
12                                 <!-- TMPL_IF name="highlight" -->
13                                         <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
14                                 <!-- TMPL_ELSE -->
15                                         <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
16                                                 <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
17                                         </a>
18                                 <!-- /TMPL_IF -->
19                         <!-- /TMPL_LOOP -->
20                         <!-- TMPL_IF name="displaynext" -->
21                                 <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
22                                         <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
23                                 </a>
24                                 <!-- /TMPL_IF -->
25                 </p>
26                 <p>
27                         <!-- TMPL_IF name="total" -->
28                         &nbsp;<b>Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --></b><br><br>
29                         <!-- TMPL_ELSE -->
30                         &nbsp;No results found.<br>
31                         <!-- /TMPL_IF -->
32                 </p>
33         </div>
34         <div id="resultlist">
35                 <table>
36                         <tr>
37                                 <th class="authority">Summary</th>
38                                 <!-- TMPL_UNLESS name="isEDITORS" -->
39                                         <th class="authority">Used in</th>
40                                 <!-- /TMPL_UNLESS -->
41                                 <th class="authority">View</th>
42                                 <th class="authority">Delete</th>
43                         </tr>
44                         <!-- TMPL_LOOP NAME="result" -->
45                                 <tr>
46                                         <td><!-- TMPL_VAR NAME="summary" --></td>
47                                         <!-- TMPL_UNLESS name="isEDITORS" -->
48                                                 <td>
49                                                         <a href="../search.marc/search.pl?type=intranet&amp;op=do_search&amp;marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&amp;operator==&amp;value=<!-- TMPL_VAR NAME="authid" -->&amp;and_or=and&amp;excluding=" class="button authority"><!-- TMPL_VAR NAME="used" --> biblio(s)</a>
50                                                 </td>
51                                         <!-- /TMPL_UNLESS -->
52                                         <td>
53                                                 <a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
54                                                         <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0" alt="Authority number <!-- TMPL_VAR NAME="authid" -->" title="Authority number<!-- TMPL_VAR NAME="authid" -->">
55                                                 </a>
56                                         </td>
57                                                 <td>
58                                                         <!-- TMPL_UNLESS name="used" -->
59                                                         <a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">
60                                                                 <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
61                                                         </a>
62                                                         <!-- /TMPL_UNLESS -->
63                                                 </td>
64                                 </tr>
65                         <!-- /TMPL_LOOP -->
66                 </table>
67         </div>
68         <div id="resultnumber">
69                 <p>
70                         <!-- TMPL_IF name="displayprev" -->
71                                 <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
72                                         <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
73                                 </a>
74                         <!-- /TMPL_IF -->
75                         <!-- TMPL_LOOP NAME="numbers" -->
76                                 <!-- TMPL_IF name="highlight" -->
77                                         <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
78                                 <!-- TMPL_ELSE -->
79                                         <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
80                                                 <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
81                                         </a>
82                                 <!-- /TMPL_IF -->
83                         <!-- /TMPL_LOOP -->
84                         <!-- TMPL_IF name="displaynext" -->
85                                 <a href="authorities-home.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME="searchdata" --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR NAME="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&authtypecode=<!-- TMPL_VAR name="authtypecode" -->">
86                                         <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
87                                 </a>
88                                 <!-- /TMPL_IF -->
89                 </p>
90         </div>  
91 </div>
92 <!-- TMPL_INCLUDE NAME="auth-bottom.inc" -->
93
94
95 <script language="JavaScript" type="text/javascript" >
96
97 function confirm_deletion(id) {
98         
99         var is_confirmed = confirm('Are you sure you want to delete this authority?');
100         if (is_confirmed) {
101                 window.location="authorities-home.pl?op=delete&amp;authid="+id;
102         }
103 }
104 </script>