1 [% PROCESS 'authorities-search-results.inc' %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Authorities › Authority search results</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript" >
7 function confirm_deletion(id) {
9 var is_confirmed = confirm('Are you sure you want to delete this authority?');
11 window.location="authorities-home.pl?op=delete"
14 + "&authtypecode=[% authtypecode %]"
15 + "&marclist=[% marclist %]"
16 + "&and_or=[% and_or %]"
17 + "&excluding=[% excluding %]"
18 + "&operator=[% operator %]"
19 + "&orderby=[% orderby %]"
20 + "&value=[% value |url %]"
21 + "&startfrom=[% startfrom %]"
22 + "&resultsperpage=[% resultsperpage %]";
26 newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'width=600,height=600,toolbar=false,scrollbars=yes');
29 function addauthority() {
30 X = document.forms[0].authtype.value;
31 window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
33 function searchauthority() {
34 X = document.forms[0].authtype2.value;
35 Y = document.forms[0].value.value;
36 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";
41 [% INCLUDE 'authorities_js.inc' %]
43 <body id="auth_searchresultlist" class="auth">
44 [% INCLUDE 'header.inc' %]
45 [% INCLUDE 'authorities-search.inc' %]
47 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a> › Authority search results</div>
49 <div id="doc" class="yui-t7">
55 [% INCLUDE 'authorities-toolbar.inc' %]
56 <h1>Authority search results</h1>
58 <div id="merge_in_progress"></div>
60 <div class="pages">[% pagination_bar %]</div>
62 <p id="authorities_searchresultlist_current_page_info">
63 Results [% from %] to [% to %] of [% total %]
66 <div id="authorities_searchresultlist_results">
69 <th colspan="2">Summary</th>
70 [% UNLESS ( isEDITORS ) %]
73 [% IF ( CAN_user_editauthorities ) %]
77 [% FOREACH resul IN result %]
78 [% UNLESS ( loop.odd ) %]
79 <tr data-authid="[% resul.authid %]" class="highlight">
81 <tr data-authid="[% resul.authid %]">
83 <td>[% PROCESS authresult summary=resul.summary %]</td>
84 <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
85 [% UNLESS ( resul.isEDITORS ) %]
87 <a href="../catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid %]" class="button">[% resul.used %] records(s)</a>
90 [% IF ( CAN_user_editauthorities ) %]
92 <a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid %]">Edit</a>
93 | <a class="merge_auth" href="#merge">Merge</a>
94 [% UNLESS ( resul.used ) %]
95 | <a href="javascript:confirm_deletion([% resul.authid %])">Delete</a>
104 <div class="paginationBar">[% pagination_bar %]</div>
112 [% INCLUDE 'intranet-bottom.inc' %]