Modifications to enable YUI-Grids layout structure. Unfinished.
[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 <!-- TMPL_INCLUDE NAME="header.inc" -->
5 <!-- TMPL_INCLUDE NAME="menu-authorities.inc" -->
6
7 <div id="doc3" class="yui-t2">
8    
9    <div id="bd">
10         <div id="yui-main">
11         <div class="yui-b"><div class="yui-g">
12
13 <h1>Authority search results</h1>
14
15 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
16
17 <p id="authorities_searchresultlist_current_page_info">
18 <!-- TMPL_IF name="total" -->
19   Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" -->
20 <!-- TMPL_ELSE -->
21   No results found.
22 <!-- /TMPL_IF -->
23 </p>
24
25 <div id="authorities_searchresultlist_results">
26   <table>
27     <tr>
28       <th>Summary</th>
29 <!-- TMPL_UNLESS name="isEDITORS" -->
30       <th>Used in</th>
31 <!-- /TMPL_UNLESS -->
32       <th>View</th>
33       <th>Delete</th>
34     </tr>
35 <!-- TMPL_LOOP NAME="result" -->
36     <tr>
37       <td><a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->"><!-- TMPL_VAR NAME="summary" --></a></td>
38   <!-- TMPL_UNLESS name="isEDITORS" -->
39       <td>
40         <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>
41       </td>
42   <!-- /TMPL_UNLESS -->
43       <td>
44         <a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->">Authority number <!-- TMPL_VAR NAME="authid" --></a>
45       </td>
46       <td>
47   <!-- TMPL_UNLESS name="used" -->
48         <a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">Delete</a>
49   <!-- /TMPL_UNLESS -->
50       </td>
51     </tr>
52 <!-- /TMPL_LOOP -->
53   </table>
54 </div>
55
56 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
57
58 <script language="JavaScript" type="text/javascript" >
59
60 function confirm_deletion(id) {
61         
62         var is_confirmed = confirm('Are you sure you want to delete this authority?');
63         if (is_confirmed) {
64                 window.location="authorities-home.pl?op=delete&amp;authid="+id;
65         }
66 }
67 </script>
68
69 </div>
70 </div>
71 </div>
72
73 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
74 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->