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) {
8 var is_confirmed = confirm(_("Are you sure you want to delete this authority?"));
10 window.location="authorities-home.pl?op=delete"
13 + "&authtypecode=[% authtypecode %]"
14 + "&marclist=[% marclist %]"
15 + "&and_or=[% and_or %]"
16 + "&excluding=[% excluding %]"
17 + "&operator=[% operator %]"
18 + "&orderby=[% orderby %]"
19 + "&value=[% value |url %]"
20 + "&startfrom=[% startfrom %]"
21 + "&resultsperpage=[% resultsperpage %]";
25 newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'width=600,height=600,toolbar=false,scrollbars=yes');
28 function addauthority() {
29 X = document.forms[0].authtype.value;
30 window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
32 function searchauthority() {
33 X = document.forms[0].authtype2.value;
34 Y = document.forms[0].value.value;
35 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";
40 [% INCLUDE 'authorities_js.inc' %]
42 <body id="auth_searchresultlist" class="auth">
43 [% INCLUDE 'header.inc' %]
44 [% INCLUDE 'authorities-search.inc' %]
46 <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>
48 <div id="doc" class="yui-t7">
54 [% INCLUDE 'authorities-toolbar.inc' %]
55 <h1>Authority search results</h1>
57 <div id="merge_in_progress"></div>
59 <div class="pages">[% pagination_bar %]</div>
61 <p id="authorities_searchresultlist_current_page_info">
62 Results [% from %] to [% to %] of [% total %]
65 <div id="authorities_searchresultlist_results">
68 <th colspan="2">Summary</th>
69 [% UNLESS ( isEDITORS ) %]
72 [% IF ( CAN_user_editauthorities ) %]
76 [% FOREACH resul IN result %]
77 <tr data-authid="[% resul.authid %]">
78 <td>[% PROCESS authresult summary=resul.summary %]</td>
79 <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
80 [% UNLESS ( resul.isEDITORS ) %]
82 <a href="../catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid %]" class="button">[% resul.used %] records(s)</a>
85 [% IF ( CAN_user_editauthorities ) %]
87 <a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid %]">Edit</a>
88 | <a class="merge_auth" href="#merge">Merge</a>
89 [% UNLESS ( resul.used ) %]
90 | <a href="javascript:confirm_deletion([% resul.authid %])">Delete</a>
99 <div class="pages">[% pagination_bar %]</div>
107 [% INCLUDE 'intranet-bottom.inc' %]