fixes in authorities. Now, it should work well...
[koha_gimpoz] / 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                                 <th class="authority">Used</th>
39                                 <th class="authority">View</th>
40                                 <th class="authority">Delete</th>
41                         </tr>
42                         <!-- TMPL_LOOP NAME="result" -->
43                                 <tr>
44                                         <td><!-- TMPL_VAR NAME="summary" --></td>
45                                         <td><!-- TMPL_VAR NAME="used" --> <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=&amp;excluding=">...</a></td>
46                                         <td>
47                                                 <a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">
48                                                         <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" -->">
49                                                 </a>
50                                         </td>
51                                         <td>
52                                                 <!-- TMPL_UNLESS name="used" -->
53                                                 <a href="javascript:do_delete('authorities-home.pl?op=delete&authid=<!-- TMPL_VAR NAME="authid" -->')">
54                                                         <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/edittrash.png" width="32" hspace="0" vspace="0" border="0">
55                                                 </a>
56                                                 <!-- /TMPL_UNLESS -->
57                                         </td>
58                                 </tr>
59                         <!-- /TMPL_LOOP -->
60                 </table>
61         </div>
62         <div id="resultnumber">
63                 <p>
64                         <!-- TMPL_IF name="displayprev" -->
65                                 <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" -->">
66                                         <img src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
67                                 </a>
68                         <!-- /TMPL_IF -->
69                         <!-- TMPL_LOOP NAME="numbers" -->
70                                 <!-- TMPL_IF name="highlight" -->
71                                         <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->-highlight.gif">
72                                 <!-- TMPL_ELSE -->
73                                         <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" -->">
74                                                 <img src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME="number" -->.gif" border="0">
75                                         </a>
76                                 <!-- /TMPL_IF -->
77                         <!-- /TMPL_LOOP -->
78                         <!-- TMPL_IF name="displaynext" -->
79                                 <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" -->">
80                                         <img src="/intranet-tmpl/default/images/numbers/next.gif" border="0">
81                                 </a>
82                                 <!-- /TMPL_IF -->
83                 </p>
84         </div>  
85 </div>
86 <!-- TMPL_INCLUDE NAME="auth-bottom.inc" -->
87
88
89 <script language="JavaScript" type="text/javascript" >
90 function do_delete(page)
91 {
92 window.location = page;
93 }
94 </script>