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">
8 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 %]"
23 + "&csrf_token=[% csrf_token %]";
28 newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'width=600,height=600,toolbar=false,scrollbars=yes');
31 function addauthority() {
32 X = document.forms[0].authtype.value;
33 window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
35 function searchauthority() {
36 X = document.forms[0].authtype2.value;
37 Y = document.forms[0].value.value;
38 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";
42 [% INCLUDE 'authorities_js.inc' %]
44 <body id="auth_searchresultlist" class="auth">
45 [% INCLUDE 'header.inc' %]
46 [% INCLUDE 'authorities-search.inc' %]
48 <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>
50 <div id="doc" class="yui-t7">
56 [% INCLUDE 'authorities-toolbar.inc' %]
57 <h1>Authority search results</h1>
59 <div id="merge_in_progress"></div>
61 <div class="pages">[% pagination_bar %]</div>
63 <p id="authorities_searchresultlist_current_page_info">
64 Results [% from %] to [% to %] of [% total %]
67 <div id="authorities_searchresultlist_results">
70 <th colspan="2">Summary</th>
71 [% UNLESS ( isEDITORS ) %]
74 [% IF ( CAN_user_editauthorities ) %]
78 [% FOREACH resul IN result %]
79 <tr data-authid="[% resul.authid %]">
80 <td>[% PROCESS authresult summary=resul.summary %]</td>
81 <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
82 [% UNLESS ( resul.isEDITORS ) %]
84 [% IF resul.used > 0 %]
85 <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid %]" class="button">[% resul.used %] record(s)</a>
91 [% IF ( CAN_user_editauthorities ) %]
93 <div class="dropdown">
94 <a class="btn btn-default btn-xs dropdown-toggle" id="authactions[% resul.authid %]" role="button" data-toggle="dropdown" href="#">
95 Actions <b class="caret"></b></a>
96 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid %]">
97 <li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> Edit</a></li>
98 <li><a class="merge_auth" href="#merge"><i class="fa fa-compress"></i> Merge</a></li>
99 [% UNLESS ( resul.used ) %]
100 <li><a onclick='return confirm_deletion("[% resul.authid %]")'><i class="fa fa-trash"></i> Delete</a></li>
111 <div class="pages">[% pagination_bar %]</div>
119 [% INCLUDE 'intranet-bottom.inc' %]