1 [% PROCESS 'authorities-search-results.inc' %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Cataloging authority plugin</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <style type="text/css">
6 #custom-doc { width:51.46em;*width:50.17em;min-width:675px; margin:auto; text-align:left; }
8 <script type="text/javascript">
10 function jumpfull(page)
12 window.open(page,'','fullscreen,scrollbars');
15 function doauth(authid, index, repet)
17 [% IF source == 'auth' %]
18 var e = document.getElementById("relationship");
19 var relationship = e.options[e.selectedIndex].value;
21 jumpfull('blinddetail-biblio-search.pl?authid=' + authid + '&index=' + index + '&repet=' + repet + '&relationship=' + relationship);
23 jumpfull('blinddetail-biblio-search.pl?authid=' + authid + '&index=' + index + '&repet=' + repet);
28 <body id="auth_searchresultlist_auth" class="auth">
29 <div id="custom-doc" class="yui-t7">
33 <div class="yui-b"><div class="yui-g">
35 <h1>Authority search results</h1>
36 [% INCLUDE 'auth-finder-search.inc' %]
37 [% IF ( total ) %]<div id="resultnumber">
38 [% IF ( displayprev ) %]
39 <a href="auth_finder.pl?startfrom=[% startfromprev %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]">
43 [% FOREACH number IN numbers %]
44 [% IF ( number.highlight ) %]
47 <a href="auth_finder.pl?startfrom=[% number.startfrom %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN number.searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]">
48 [% number.number %]</a>
51 [% IF ( displaynext ) %]
52 <a href="auth_finder.pl?startfrom=[% startfromnext %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]">
57 <p><b>Results [% from %] to [% to %] of [% total %]</b></p>
61 </div><p>No results found</p>[% END %]
63 [% IF ( result ) %]<div id="resultlist">
71 [% FOREACH resul IN result %]
73 <td>[% PROCESS authresult summary=resul.summary %]</td>
74 <td>[% resul.used %] times</td>
76 [% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %]
77 [% FOREACH authorized IN resul.summary.authorized %]
78 <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '[% loop.count %]')" title="[% authorized.heading | html %]">[% loop.count %]</a>
81 <a class="btn btn-xs btn-default" href="javascript:doauth('[% resul.authid %]', '[% index %]', '')"><i class="fa fa-plus"></i> Choose</a>
84 <td><a class="btn btn-xs btn-default" href="authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> Edit authority</a></td>
90 <div id="resultnumber">
91 [% IF ( displayprev ) %]
92 <a href="auth_finder.pl?startfrom=[% startfromprev %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranetamp;&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]">
96 [% FOREACH number IN numbers %]
97 [% IF ( number.highlight ) %]
100 <a href="auth_finder.pl?startfrom=[% number.startfrom %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN number.searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]">
101 [% number.number %]</a>
104 [% IF ( displaynext ) %]
105 <a href="auth_finder.pl?startfrom=[% startfromnext %]&authtypecode=[% authtypecode %][% FOREACH searchdat IN searchdata %]&[% searchdat.term %]=[% searchdat.val %][% END %]&op=do_search&type=intranet&index=[% index %]&tagid=[% tagid %]&orderby=[% orderby %]">
114 [% INCLUDE 'popup-bottom.inc' %]