4 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Z39.50 authority search points › Koha</title>
8 <title>Z39.50 authority search results › Koha</title>
10 [% INCLUDE 'doc-head-close.inc' %]
12 #marcPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #marcPreview { margin: 0; width : auto; } }
15 <body id="cat_z3950_auth_search" class="cat">
16 <div class="container-fluid">
19 <h1>Z39.50 authority search points</h1>
20 <form method="post" action="z3950_auth_search.pl" name="f" class="checkboxed">
21 <input type="hidden" name="op" id="op" value="do_search" />
22 <input type="hidden" name="authid" value="[% authid | html %]" />
23 <input type="hidden" name="index" value="[% index | html %]" />
25 <div class="col-xs-6">
26 <fieldset class="rows">
28 <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="[% srchany | html %]" /></li>
29 <li><label for="controlnumber">Control number: </label> <input type="text" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" /></li>
30 <li><label for="nameany">Name (any): </label> <input type="text" id="nameany" name="nameany" value="[% nameany | html %]" /></li>
31 <li><label for="authorany">Author (any): </label> <input type="text" id="authorany" name="authorany" value="[% authorany | html %]" /></li>
32 <li><label for="authorpersonal">Author (personal): </label> <input type="text" id="authorpersonal" name="authorpersonal" value="[% authorpersonal | html %]" /></li>
33 <li><label for="authorcorp">Author (corporate): </label> <input type="text" id="authorcorp" name="authorcorp" value="[% authorcorp | html %]" /></li>
34 <li><label for="authormeetingcon">Author (meeting / conference): </label> <input type="text" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon | html %]" /></li>
38 <div class="col-xs-6">
40 <fieldset class="rows">
42 <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="[% subject | html %]" /></li>
43 <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv | html %]" /></li>
44 <li><label for="title">Title (any): </label> <input type="text" id="title" name="title" value="[% title | html %]" /></li>
45 <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle" name="uniformtitle" value="[% uniformtitle | html %]" /></li>
46 <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash-can"></i> Clear search form</a></li>
52 <h2>Search targets</h2>
53 <div id="z3950_search_targets_auth">
54 <span class="z3950checks"><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-times"></i> Clear all</a></span></span>
55 [% FOREACH serverloo IN serverloop %]
57 [% IF ( serverloo.checked ) %]
58 <input type="checkbox" name="id" id="z3950_[% serverloo.id | html %]" value="[% serverloo.id | html %]" checked="checked" />
60 <input type="checkbox" name="id" id="z3950_[% serverloo.id | html %]" value="[% serverloo.id | html %]" />
62 <label for="z3950_[% serverloo.id | html %]">[% serverloo.servername | html %]</label>
69 <nav class="navbar navbar-default navbar-fixed-bottom">
70 <div class="container-fluid">
71 <fieldset class="action"><input type="submit" id="submit_z3950_search" class="btn btn-primary" value="Search" />
72 <a class="btn btn-default close" href="#">Cancel</a></fieldset>
77 <h1>Results for authority records</h1>
78 [% IF ( breeding_loop ) %]
83 <th>Authority type</th>
84 <th class="noExport">Actions</th>
86 <tbody>[% FOREACH breeding_loo IN breeding_loop %]
87 [% IF ( breeding_loo.breedingid ) %]
88 <tr id="row[% breeding_loo.breedingid | html %]">
89 <td>[% breeding_loo.server | html %]</td>
90 <td>[% breeding_loo.heading | html %]</td>
91 <td>[% breeding_loo.heading_code | html %]</td>
93 <div class="btn-group dropup">
94 <a class="btn btn-default btn-xs z3950actions" href="#">MARC</a><button class="btn-xs dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
95 <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid | html %]">
96 <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData" data-action="show_marc"><i class="fa-solid fa-eye"></i> MARC preview</a></li>
97 <li><a href="/cgi-bin/koha/authorities/authorities.pl?breedingid=[% breeding_loo.breedingid | uri %]&authtypecode=[% breeding_loo.heading_code | uri %]&authid=[% breeding_loo.authid | uri %]&index=[% index | uri %]" class="chosen" title="Import" data-action="import"><i class="fa fa-download"></i> Import</a></li>
106 <div id="dataPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
107 <div class="modal-dialog">
108 <div class="modal-content">
109 <div class="modal-header">
110 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
111 <h3 id="dataPreviewLabel">MARC preview</h3>
113 <div class="modal-body">
114 <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
120 <form method="post" action="z3950_auth_search.pl" id="page_form" name="page_form" class="checkboxed">
121 <input type="hidden" name="op" id="op" value="do_search" />
122 <input type="hidden" name="current_page" id="current_page" value="[% current_page | html %]" />
123 <input type="hidden" id="nameany" name="nameany" value="[% nameany | html %]" />
124 <input type="hidden" id="authorany" name="authorany" value="[% authorany | html %]" />
125 <input type="hidden" id="authorcorp" name="authorcorp" value="[% authorcorp | html %]" />
126 <input type="hidden" id="authorpersonal" name="authorpersonal" value="[% authorpersonal | html %]" />
127 <input type="hidden" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon | html %]" />
128 <input type="hidden" id="title" name="title" value="[% title | html %]" />
129 <input type="hidden" id="uniformtitle" name="uniformtitle" value="[% uniformtitle | html %]" />
130 <input type="hidden" id="subject" name="subject" value="[% subject | html %]" />
131 <input type="hidden" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv | html %]" />
132 <input type="hidden" id="heading" name="heading" value="[% heading | html %]" />
133 <input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" />
134 <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" />
135 <input type="hidden" name="authid" value="[% authid | html %]" />
137 [% FOREACH server IN servers %]
138 <input type="hidden" name="id" id="z3950_[% server.id | html %]" value="[% server.id | html %]" />
141 [% IF ( show_prevbutton ) %]
142 <input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page | html %]" />
144 Page [% current_page | html %] / [% total_pages | html %]
145 [% IF ( show_nextbutton ) %]
146 <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page | html %]" />
148 <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page | html %]" size="4" type="text" /><input type="submit" name="changepage_goto" class="btn btn-primary" value="Go" />
152 <form method="get" action="/cgi-bin/koha/cataloguing/z3950_auth_search.pl">
153 <input type="hidden" id="nameany" name="nameany" value="[% nameany | html %]" />
154 <input type="hidden" id="authorany" name="authorany" value="[% authorany | html %]" />
155 <input type="hidden" id="authorcorp" name="authorcorp" value="[% authorcorp | html %]" />
156 <input type="hidden" id="authorpersonal" name="authorpersonal" value="[% authorpersonal | html %]" />
157 <input type="hidden" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon | html %]" />
158 <input type="hidden" id="title" name="title" value="[% title | html %]" />
159 <input type="hidden" id="uniformtitle" name="uniformtitle" value="[% uniformtitle | html %]" />
160 <input type="hidden" id="subject" name="subject" value="[% subject | html %]" />
161 <input type="hidden" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv | html %]" />
162 <input type="hidden" id="heading" name="heading" value="[% heading | html %]" />
163 <input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" />
164 <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" />
165 <input type="hidden" name="authid" value="[% authid | html %]" />
166 <input type="submit" class="btn btn-primary" value="Try another search" />
171 <div class="dialog alert">
173 [% FOREACH errcon IN errconn %]
174 [% IF ( errcon.error == '10000' ) %]<li>Connection failed to [% errcon.server | html %]</li>
175 [% ELSIF ( errcon.error == '10007' ) %]<li>Connection timeout to [% errcon.server | html %]</li>[% END %]
180 <div class="dialog message">Nothing found.</div>
182 <form method="get" action="/cgi-bin/koha/cataloguing/z3950_auth_search.pl">
183 <input type="hidden" id="nameany" name="nameany" value="[% nameany | html %]" />
184 <input type="hidden" id="authorany" name="authorany" value="[% authorany | html %]" />
185 <input type="hidden" id="authorcorp" name="authorcorp" value="[% authorcorp | html %]" />
186 <input type="hidden" id="authorpersonal" name="authorpersonal" value="[% authorpersonal | html %]" />
187 <input type="hidden" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon | html %]" />
188 <input type="hidden" id="title" name="title" value="[% title | html %]" />
189 <input type="hidden" id="uniformtitle" name="uniformtitle" value="[% uniformtitle | html %]" />
190 <input type="hidden" id="subject" name="subject" value="[% subject | html %]" />
191 <input type="hidden" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv | html %]" />
192 <input type="hidden" id="heading" name="heading" value="[% heading | html %]" />
193 <input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" />
194 <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" />
195 <input type="hidden" name="authid" value="[% authid | html %]" />
196 <input type="submit" class="btn btn-primary" value="Try another search" />
203 [% IF ( numberpending ) %]<h3 align="center">Still [% numberpending | html %] servers to search</h3>[% END %]
205 [% MACRO jsinclude BLOCK %]
206 [% INCLUDE 'datatables.inc' %]
207 [% INCLUDE 'z3950_search.inc' %]
208 [% Asset.js("js/z3950_search.js") | $raw %]
210 $(document).ready(function(){
211 $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
214 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
216 "aaSorting": [[ 1, "asc" ]],
224 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]