Main Koha release repository
https://koha-community.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
3.9 KiB
118 lines
3.9 KiB
[% PROCESS 'authorities-search-results.inc' %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Authorities › Authority search results</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
|
|
function confirm_deletion(id) {
|
|
var is_confirmed = confirm(_("Are you sure you want to delete this authority?"));
|
|
if (is_confirmed) {
|
|
window.location="authorities-home.pl?op=delete"
|
|
+ "&authid=" + id
|
|
+ "&type=intranet"
|
|
+ "&authtypecode=[% authtypecode %]"
|
|
+ "&marclist=[% marclist %]"
|
|
+ "&and_or=[% and_or %]"
|
|
+ "&excluding=[% excluding %]"
|
|
+ "&operator=[% operator %]"
|
|
+ "&orderby=[% orderby %]"
|
|
+ "&value=[% value |url %]"
|
|
+ "&startfrom=[% startfrom %]"
|
|
+ "&resultsperpage=[% resultsperpage %]";
|
|
}
|
|
}
|
|
|
|
function Help() {
|
|
newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'width=600,height=600,toolbar=false,scrollbars=yes');
|
|
}
|
|
|
|
function addauthority() {
|
|
X = document.forms[0].authtype.value;
|
|
window.location="/cgi-bin/koha/authorities/authorities.pl?authtypecode="+X;
|
|
}
|
|
function searchauthority() {
|
|
X = document.forms[0].authtype2.value;
|
|
Y = document.forms[0].value.value;
|
|
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";
|
|
}
|
|
//]]>
|
|
</script>
|
|
[% INCLUDE 'authorities_js.inc' %]
|
|
</head>
|
|
<body id="auth_searchresultlist" class="auth">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'authorities-search.inc' %]
|
|
|
|
<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>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-g">
|
|
|
|
[% INCLUDE 'authorities-toolbar.inc' %]
|
|
<h1>Authority search results</h1>
|
|
|
|
<div id="merge_in_progress"></div>
|
|
[% IF ( total ) %]
|
|
<div class="pages">[% pagination_bar %]</div>
|
|
|
|
<p id="authorities_searchresultlist_current_page_info">
|
|
Results [% from %] to [% to %] of [% total %]
|
|
</p>
|
|
|
|
<div id="authorities_searchresultlist_results">
|
|
<table>
|
|
<tr>
|
|
<th colspan="2">Summary</th>
|
|
[% UNLESS ( isEDITORS ) %]
|
|
<th>Used in</th>
|
|
[% END %]
|
|
[% IF ( CAN_user_editauthorities ) %]
|
|
<th> </th>
|
|
[% END %]
|
|
</tr>
|
|
[% FOREACH resul IN result %]
|
|
<tr data-authid="[% resul.authid %]">
|
|
<td>[% PROCESS authresult summary=resul.summary %]</td>
|
|
<td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
|
|
[% UNLESS ( resul.isEDITORS ) %]
|
|
<td>
|
|
[% IF resul.used > 0 %]
|
|
<a href="../catalogue/search.pl?type=intranet&op=do_search&idx=an,phr&q=[% resul.authid %]" class="button">[% resul.used %] record(s)</a>
|
|
[% ELSE %]
|
|
0 records
|
|
[% END %]
|
|
</td>
|
|
[% END %]
|
|
[% IF ( CAN_user_editauthorities ) %]
|
|
<td>
|
|
<div class="dropdown">
|
|
<a class="btn btn-mini dropdown-toggle" id="authactions[% resul.authid %]" role="button" data-toggle="dropdown" href="#">
|
|
Actions <b class="caret"></b></a>
|
|
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid %]">
|
|
<li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> Edit</a></li>
|
|
<li><a class="merge_auth" href="#merge"><i class="fa fa-compress"></i> Merge</a></li>
|
|
[% UNLESS ( resul.used ) %]
|
|
<li><a onclick='return confirm_deletion("[% resul.authid %]")'><i class="fa fa-trash"></i> Delete</a></li>
|
|
[% END %]
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
[% END %]
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</div>
|
|
|
|
<div class="pages">[% pagination_bar %]</div>
|
|
|
|
[% ELSE %]
|
|
No results found
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|
|
|