(bug #2933) change popup names containing space chars
[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","KohaHelp",'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>Delete</th>
59     </tr>
60 <!-- TMPL_LOOP NAME="result" -->
61     <tr>
62       <td><a href="detail.pl?authid=<!-- TMPL_VAR NAME="authid" -->"><!-- TMPL_VAR NAME="summary" --></a></td>
63   <!-- TMPL_UNLESS name="isEDITORS" -->
64       <td>
65         <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>
66       </td>
67   <!-- /TMPL_UNLESS -->
68       <td>
69   <!-- TMPL_UNLESS name="used" -->
70         <a href="javascript:confirm_deletion(<!-- TMPL_VAR NAME="authid" -->)">Delete</a>
71   <!-- /TMPL_UNLESS -->
72       </td>
73     </tr>
74 <!-- /TMPL_LOOP -->
75   </table>
76 </div>
77
78 <div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
79
80 <!-- TMPL_ELSE -->
81   No results found
82 <!-- /TMPL_IF -->
83 </div>
84 </div>
85 </div>
86 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->