|
Lines 6-206
Link Here
|
| 6 |
<title>Koha › Z39.50/SRU search results</title> |
6 |
<title>Koha › Z39.50/SRU search results</title> |
| 7 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
| 8 |
<style> |
8 |
<style> |
| 9 |
#dataPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } } |
9 |
#dataPreview { width : 90%; top: 5%; } .modal-body { max-height: 380px; } .modal-header { padding: 0 14px; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } } |
| 10 |
</style> |
10 |
</style> |
| 11 |
</head> |
11 |
</head> |
| 12 |
|
12 |
|
| 13 |
<body id="cat_z3950_search" class="cat"> |
13 |
<body id="cat_z3950_search" class="cat"> |
| 14 |
<div class="container-fluid"> |
14 |
<div class="container-fluid"> |
|
|
15 |
[% IF ( opsearch ) %] |
| 16 |
<h2>Z39.50/SRU search</h2> |
| 17 |
<form method="post" action="z3950_search.pl" name="f" class="checkboxed"> |
| 18 |
<div class="row"> |
| 19 |
<div class="col-xs-6"> |
| 20 |
<input type="hidden" name="op" id="op" value="do_search" /> |
| 21 |
<fieldset class="rows"> |
| 22 |
<ol> |
| 23 |
<li> |
| 24 |
<label for="isbn">ISBN: </label> <input type="text" id="isbn" name="isbn" value="[% isbn | html %]" class="focus" /> |
| 25 |
</li> |
| 26 |
<li> |
| 27 |
<label for="issn">ISSN: </label> <input type="text" id="issn" name="issn" value="[% issn | html %]" /></li> |
| 28 |
<li> |
| 29 |
<label for="title">Title: </label> <input type="text" id="title" name="title" value="[% title | html %]" /></li> |
| 30 |
<li> |
| 31 |
<label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author | html %]" /></li> |
| 32 |
<li> |
| 33 |
<label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li> |
| 34 |
<li> |
| 35 |
<label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li> |
| 36 |
<li> |
| 37 |
<label for="lccall">LC call number: </label> <input type="text" id="lccall" name="lccall" value="" /></li> |
| 38 |
<li> |
| 39 |
<label for="controlnumber">Control no.: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li> |
| 40 |
<li> |
| 41 |
<label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li> |
| 42 |
<li> |
| 43 |
<label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li> |
| 44 |
<li> |
| 45 |
<a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a> |
| 46 |
</li> |
| 47 |
</ol> |
| 48 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
| 49 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" /> |
| 50 |
</fieldset> |
| 51 |
</div> |
| 15 |
|
52 |
|
| 16 |
[% IF ( opsearch ) %] |
53 |
<div class="col-xs-6"> |
| 17 |
<h2>Z39.50/SRU search</h2> |
54 |
<h2>Search targets</h2> |
| 18 |
<form method="post" action="z3950_search.pl" name="f" class="checkboxed"> |
55 |
<div id="z3950_search_targets"> |
| 19 |
<div class="row"> |
56 |
<span class="z3950checks"> |
| 20 |
<div class="col-xs-6"> |
57 |
<span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | |
| 21 |
<input type="hidden" name="op" id="op" value="do_search" /> |
58 |
<span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span> |
| 22 |
<fieldset class="rows"> |
59 |
</span> |
| 23 |
<ol> |
60 |
[% FOREACH serverloo IN serverloop %] |
| 24 |
<li><label for="isbn">ISBN: </label> <input type="text" id="isbn" name="isbn" value="[% isbn | html %]" class="focus" /></li> |
61 |
<p> |
| 25 |
<li><label for="issn">ISSN: </label> <input type="text" id="issn" name="issn" value="[% issn | html %]" /></li> |
62 |
[% IF ( serverloo.checked ) %] |
| 26 |
<li><label for="title">Title: </label> <input type="text" id="title" name="title" value="[% title | html %]" /></li> |
63 |
<input type="checkbox" name="id" id="z3950_[% serverloo.id | html %]" value="[% serverloo.id | html %]" checked="checked" /> |
| 27 |
<li><label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author | html %]" /></li> |
64 |
[% ELSE %] |
| 28 |
<li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li> |
65 |
<input type="checkbox" name="id" id="z3950_[% serverloo.id | html %]" value="[% serverloo.id | html %]" /> |
| 29 |
<li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li> |
66 |
[% END %] |
| 30 |
<li><label for="lccall">LC call number: </label> <input type="text" id="lccall" name="lccall" value="" /></li> |
67 |
<label for="z3950_[% serverloo.id | html %]">[% serverloo.servername | html %]</label> |
| 31 |
<li><label for="controlnumber">Control no.: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li> |
68 |
</p> |
| 32 |
<li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li> |
69 |
[% END %] |
| 33 |
<li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li> |
70 |
</div> |
| 34 |
<li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li> |
71 |
</div> |
| 35 |
</ol> |
72 |
</div> |
| 36 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
|
|
| 37 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" /> |
| 38 |
</div> |
| 39 |
<div class="col-xs-6"> |
| 40 |
<h2>Search targets</h2> |
| 41 |
<div id="z3950_search_targets"> |
| 42 |
<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-remove"></i> Clear all</a></span></span> |
| 43 |
[% FOREACH serverloo IN serverloop %] |
| 44 |
<p> |
| 45 |
[% IF ( serverloo.checked ) %] |
| 46 |
<input type="checkbox" name="id" id="z3950_[% serverloo.id | html %]" value="[% serverloo.id | html %]" checked="checked" /> |
| 47 |
[% ELSE %] |
| 48 |
<input type="checkbox" name="id" id="z3950_[% serverloo.id | html %]" value="[% serverloo.id | html %]" /> |
| 49 |
[% END %] |
| 50 |
<label for="z3950_[% serverloo.id | html %]">[% serverloo.servername | html %]</label> |
| 51 |
|
73 |
|
| 52 |
</p> |
74 |
<nav class="navbar navbar-default navbar-fixed-bottom"> |
| 53 |
[% END %] |
75 |
<div class="container-fluid"> |
| 54 |
</div> |
76 |
<fieldset class="action"><input type="submit" class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset> |
| 55 |
</div> |
77 |
</div> |
| 56 |
</div> |
78 |
</nav> |
| 57 |
<nav class="navbar navbar-default navbar-fixed-bottom"> |
79 |
</form> |
| 58 |
<div class="container-fluid"> |
|
|
| 59 |
<fieldset class="action"><input type="submit" class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset> |
| 60 |
</div> |
| 61 |
</nav> |
| 62 |
</form> |
| 63 |
|
80 |
|
|
|
81 |
[% ELSE %] |
| 64 |
|
82 |
|
| 65 |
[% ELSE %] |
83 |
<div class="row"> |
| 66 |
<div class="row"> |
84 |
<div class="col-xs-12"> |
| 67 |
<div class="col-xs-12"> |
85 |
<h2>Results</h2> |
| 68 |
<h2>Results</h2> |
86 |
<p> |
| 69 |
<p>You searched for: |
87 |
You searched for: |
| 70 |
[% IF ( title ) %]<em>Title: </em><span class="term">[% title | html %]</span> [% END %] |
88 |
[% IF ( title ) %]<em>Title: </em><span class="term">[% title | html %]</span> [% END %] |
| 71 |
[% IF ( author ) %]<em>Author: </em><span class="term">[% author | html %]</span> [% END %] |
89 |
[% IF ( author ) %]<em>Author: </em><span class="term">[% author | html %]</span> [% END %] |
| 72 |
[% IF ( isbn ) %]<em>ISBN: </em><span class="term">[% isbn | html %]</span> [% END %] |
90 |
[% IF ( isbn ) %]<em>ISBN: </em><span class="term">[% isbn | html %]</span> [% END %] |
| 73 |
[% IF ( issn ) %]<em>ISSN: </em><span class="term">[% issn | html %]</span> [% END %] |
91 |
[% IF ( issn ) %]<em>ISSN: </em><span class="term">[% issn | html %]</span> [% END %] |
| 74 |
[% IF ( lccall ) %]<em>LC call number: </em><span class="term">[% lccall | html %]</span> [% END %] |
92 |
[% IF ( lccall ) %]<em>LC call number: </em><span class="term">[% lccall | html %]</span> [% END %] |
| 75 |
[% IF ( subject ) %]<em>Subject heading: </em><span class="term">[% subject | html %]</span> [% END %] |
93 |
[% IF ( subject ) %]<em>Subject heading: </em><span class="term">[% subject | html %]</span> [% END %] |
| 76 |
[% IF ( controlnumber ) %]<em>Control no: </em><span class="term">[% controlnumber | html %]</span> [% END %] |
94 |
[% IF ( controlnumber ) %]<em>Control no: </em><span class="term">[% controlnumber | html %]</span> [% END %] |
| 77 |
[% IF ( dewey ) %]<em>Dewey: </em><span class="term">[% dewey | html %]</span> [%END %] |
95 |
[% IF ( dewey ) %]<em>Dewey: </em><span class="term">[% dewey | html %]</span> [%END %] |
| 78 |
[% IF ( srchany ) %]<em>Raw (any): </em><span class="term">[% srchany | html %]</span> [% END %] |
96 |
[% IF ( srchany ) %]<em>Raw (any): </em><span class="term">[% srchany | html %]</span> [% END %] |
| 79 |
[% IF ( stdid ) %]<em>Standard ID: </em><span class="term">[% stdid | html %]</span> [% END %] |
97 |
[% IF ( stdid ) %]<em>Standard ID: </em><span class="term">[% stdid | html %]</span> [% END %] |
| 80 |
</p> |
98 |
</p> |
| 81 |
[% IF ( errconn ) %] |
99 |
[% IF ( errconn ) %] |
| 82 |
<div class="dialog alert"> |
100 |
<div class="dialog alert"> |
| 83 |
<ul> |
101 |
<ul> |
| 84 |
[% FOREACH errcon IN errconn %] |
102 |
[% FOREACH errcon IN errconn %] |
| 85 |
[% IF ( errcon.error == '10000' ) %]<li>Connection failed to [% errcon.server | html %]</li> |
103 |
[% IF ( errcon.error == '10000' ) %]<li>Connection failed to [% errcon.server | html %]</li> |
| 86 |
[% ELSIF ( errcon.error == '10007' ) %]<li>Connection timeout to [% errcon.server | html %]</li> |
104 |
[% ELSIF ( errcon.error == '10007' ) %]<li>Connection timeout to [% errcon.server | html %]</li> |
| 87 |
[% ELSIF errcon.error.match( '^XSLTH' ) %]<li>[% errcon.server | html %] record [% errcon.seq | html %]: [% PROCESS 'xslt-handler.inc' code=errcon.error %]</li> |
105 |
[% ELSIF errcon.error.match( '^XSLTH' ) %]<li>[% errcon.server | html %] record [% errcon.seq | html %]: [% PROCESS 'xslt-handler.inc' code=errcon.error %]</li> |
| 88 |
[% ELSE %]<li>[% errcon.server | html %] record [% errcon.seq | html %]: [% errcon.error | html %]</li> |
106 |
[% ELSE %]<li>[% errcon.server | html %] record [% errcon.seq | html %]: [% errcon.error | html %]</li> |
|
|
107 |
[% END %] |
| 108 |
[% END %] |
| 109 |
</ul> |
| 110 |
</div> |
| 89 |
[% END %] |
111 |
[% END %] |
| 90 |
[% END %] |
|
|
| 91 |
</ul> |
| 92 |
</div> |
| 93 |
[% END %] |
| 94 |
|
112 |
|
| 95 |
[% IF ( breeding_loop ) %] |
113 |
[% IF ( breeding_loop ) %] |
| 96 |
<table id="resultst"> |
114 |
<table id="resultst"> |
| 97 |
<thead> <tr> |
115 |
<thead> |
| 98 |
<th>Server</th> |
116 |
<tr> |
| 99 |
<th>Title</th> |
117 |
<th>Server</th> |
| 100 |
<th>Author</th> |
118 |
<th>Title</th> |
| 101 |
<th>Date</th> |
119 |
<th>Author</th> |
| 102 |
<th>Edition</th> |
120 |
<th>Date</th> |
| 103 |
<th>ISBN</th> |
121 |
<th>Edition</th> |
| 104 |
<th>LCCN</th> |
122 |
<th>ISBN</th> |
| 105 |
[% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] |
123 |
<th>LCCN</th> |
| 106 |
<th>Additional fields</th> |
124 |
[% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] |
| 107 |
[% END %] |
125 |
<th>Additional fields</th> |
| 108 |
<th>Actions</th> |
126 |
[% END %] |
| 109 |
</tr></thead> |
127 |
<th>Actions</th> |
| 110 |
<tbody>[% FOREACH breeding_loo IN breeding_loop %] |
128 |
</tr> |
| 111 |
[% IF ( breeding_loo.breedingid ) %] |
129 |
</thead> |
|
|
130 |
<tbody> |
| 131 |
[% FOREACH breeding_loo IN breeding_loop %] |
| 132 |
[% IF ( breeding_loo.breedingid ) %] |
| 133 |
<tr id="row[% breeding_loo.breedingid | html %]"> |
| 134 |
<td>[% breeding_loo.server | html %]</td> |
| 135 |
<td>[% breeding_loo.title | html %]</td> |
| 136 |
<td>[% breeding_loo.author | html %]</td> |
| 137 |
<td>[% breeding_loo.date | html %]</td> |
| 138 |
<td>[% breeding_loo.edition | html %]</td> |
| 139 |
<td>[% breeding_loo.isbn | html %]</td> |
| 140 |
<td>[% breeding_loo.lccn | html %]</td> |
| 141 |
[% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] |
| 142 |
<td> |
| 143 |
<dl> |
| 144 |
[% FOREACH addnumberfield IN breeding_loo.addnumberfields %] |
| 145 |
[% FOREACH string IN breeding_loo.$addnumberfield %] |
| 146 |
<dt>[% addnumberfield | html %]:</dt> |
| 147 |
<dd>[% string | html %]</dd> |
| 148 |
[% END %] |
| 149 |
[% END %] |
| 150 |
</dl> |
| 151 |
</td> |
| 152 |
[% END %] |
| 153 |
<td> |
| 154 |
<div class="dropdown"> |
| 155 |
<a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% breeding_loo.breedingid | html %]" role="button" data-toggle="dropdown" href="#"> |
| 156 |
Actions <b class="caret"></b> |
| 157 |
</a> |
| 158 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid | html %]"> |
| 159 |
<li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li> |
| 160 |
<li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid | uri %]" title="Card" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li> |
| 161 |
<li><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid | html %]" data-biblionumber="[% breeding_loo.biblionumber | html %]" data-frameworkcode="[% frameworkcode | uri %]"><i class="fa fa-download"></i> Import</a></li> |
| 162 |
</ul> |
| 163 |
</div> |
| 164 |
</td> |
| 165 |
</tr> |
| 166 |
[% END %] |
| 167 |
[% END %] |
| 168 |
</tbody> |
| 169 |
</table> |
| 112 |
|
170 |
|
| 113 |
<tr id="row[% breeding_loo.breedingid | html %]"> |
171 |
<div id="dataPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true"> |
| 114 |
<td>[% breeding_loo.server | html %]</td> |
172 |
<div class="modal-dialog"> |
| 115 |
<td>[% breeding_loo.title | html %]</td> |
173 |
<div class="modal-content"> |
| 116 |
<td>[% breeding_loo.author | html %]</td> |
174 |
<div class="modal-header"> |
| 117 |
<td>[% breeding_loo.date | html %]</td> |
175 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
| 118 |
<td>[% breeding_loo.edition | html %]</td> |
176 |
<h3 id="dataPreviewLabel">Preview</h3> |
| 119 |
<td>[% breeding_loo.isbn | html %]</td> |
177 |
</div> |
| 120 |
<td>[% breeding_loo.lccn | html %]</td> |
178 |
<div class="modal-body"> |
| 121 |
[% IF Koha.Preference('AdditionalFieldsInZ3950ResultSearch') != '' %] |
179 |
<div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div> |
| 122 |
<td> |
180 |
</div> |
| 123 |
<dl> |
181 |
</div> |
| 124 |
[% FOREACH addnumberfield IN breeding_loo.addnumberfields %] |
182 |
</div> |
| 125 |
[% FOREACH string IN breeding_loo.$addnumberfield %] |
183 |
</div> |
| 126 |
<dt>[% addnumberfield | html %]:</dt> |
|
|
| 127 |
<dd>[% string | html %]</dd> |
| 128 |
[% END %] |
| 129 |
[% END %] |
| 130 |
</dl> |
| 131 |
</td> |
| 132 |
[% END %] |
| 133 |
<td> |
| 134 |
<div class="dropdown"> |
| 135 |
<a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% breeding_loo.breedingid | html %]" role="button" data-toggle="dropdown" href="#"> |
| 136 |
Actions <b class="caret"></b> |
| 137 |
</a> |
| 138 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid | html %]"> |
| 139 |
<li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li> |
| 140 |
<li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid | uri %]" title="Card" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li> |
| 141 |
<li><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid | html %]" data-biblionumber="[% breeding_loo.biblionumber | html %]" data-frameworkcode="[% frameworkcode | uri %]"><i class="fa fa-download"></i> Import</a></li> |
| 142 |
</ul> |
| 143 |
</div> |
| 144 |
</td> |
| 145 |
</tr> |
| 146 |
[% END %] |
| 147 |
[% END %]</tbody> |
| 148 |
</table> |
| 149 |
|
184 |
|
| 150 |
<div id="dataPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true"> |
185 |
<form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed"> |
| 151 |
<div class="modal-dialog"> |
186 |
<input type="hidden" name="op" id="op" value="do_search" /> |
| 152 |
<div class="modal-content"> |
187 |
<input type="hidden" name="current_page" id="current_page" value="[% current_page | html %]" /> |
| 153 |
<div class="modal-header"> |
188 |
<input type="hidden" id="title" name="title" value="[% title | html %]" /> |
| 154 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
189 |
<input type="hidden" id="isbn" name="isbn" value="[% isbn | html %]" /> |
| 155 |
<h3 id="dataPreviewLabel">Preview</h3> |
190 |
<input type="hidden" id="lccall" name="lccall" value="[% lccall | html %]" /> |
| 156 |
</div> |
191 |
<input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" /> |
| 157 |
<div class="modal-body"> |
192 |
<input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" /> |
| 158 |
<div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div> |
193 |
<input type="hidden" id="author" name="author" value="[% author | html %]" /> |
| 159 |
</div> |
194 |
<input type="hidden" id="subject" name="subject" value="[% subject | html %]" /> |
| 160 |
</div> |
195 |
<input type="hidden" id="dewey" name="dewey" value="[% dewey | html %]" /> |
| 161 |
</div> |
196 |
<input type="hidden" id="stdid" name="stdid" value="[% stdid | html %]" /> |
| 162 |
</div> |
197 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
|
|
198 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" /> |
| 163 |
|
199 |
|
|
|
200 |
[% FOREACH server IN servers %] |
| 201 |
<input type="hidden" name="id" id="z3950_[% server.id | html %]" value="[% server.id | html %]" /> |
| 202 |
[% END %] |
| 164 |
|
203 |
|
| 165 |
<form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed"> |
204 |
[% IF ( show_prevbutton ) %] |
| 166 |
<input type="hidden" name="op" id="op" value="do_search" /> |
205 |
<input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page | html %]" /> |
| 167 |
<input type="hidden" name="current_page" id="current_page" value="[% current_page | html %]" /> |
206 |
[% END %] |
| 168 |
<input type="hidden" id="title" name="title" value="[% title | html %]" /> |
207 |
Page [% current_page | html %] / [% total_pages | html %] |
| 169 |
<input type="hidden" id="isbn" name="isbn" value="[% isbn | html %]" /> |
208 |
[% IF ( show_nextbutton ) %] |
| 170 |
<input type="hidden" id="lccall" name="lccall" value="[% lccall | html %]" /> |
209 |
<input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page | html %]" /> |
| 171 |
<input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" /> |
210 |
[% END %] |
| 172 |
<input type="hidden" id="srchany" name="srchany" value="[% srchany | html %]" /> |
211 |
<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" value="Go" /> |
| 173 |
<input type="hidden" id="author" name="author" value="[% author | html %]" /> |
212 |
</form> |
| 174 |
<input type="hidden" id="subject" name="subject" value="[% subject | html %]" /> |
|
|
| 175 |
<input type="hidden" id="dewey" name="dewey" value="[% dewey | html %]" /> |
| 176 |
<input type="hidden" id="stdid" name="stdid" value="[% stdid | html %]" /> |
| 177 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
| 178 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" /> |
| 179 |
|
213 |
|
| 180 |
[% FOREACH server IN servers %] |
214 |
[% ELSE %] |
| 181 |
<input type="hidden" name="id" id="z3950_[% server.id | html %]" value="[% server.id | html %]" /> |
215 |
<div class="dialog message">Nothing found.</div> |
| 182 |
[% END %] |
216 |
[% END %] |
| 183 |
|
217 |
|
| 184 |
[% IF ( show_prevbutton ) %] |
218 |
<form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"> |
| 185 |
<input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page | html %]" /> |
219 |
<p> |
| 186 |
[% END %] |
220 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/> |
| 187 |
Page [% current_page | html %] / [% total_pages | html %] |
221 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]"/> |
| 188 |
[% IF ( show_nextbutton ) %] |
222 |
<input type="submit" value="Try another search"/> |
| 189 |
<input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page | html %]" /> |
223 |
</p> |
|
|
224 |
</form> |
| 225 |
</div> |
| 226 |
</div> |
| 190 |
[% END %] |
227 |
[% END %] |
| 191 |
<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" value="Go" /> |
|
|
| 192 |
</form> |
| 193 |
|
| 194 |
[% ELSE %] |
| 195 |
<div class="dialog message">Nothing found.</div> |
| 196 |
[% END %] |
| 197 |
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]"/><input type="submit" value="Try another search"/></form></p> |
| 198 |
|
228 |
|
| 199 |
[% END %] |
229 |
[% IF ( numberpending ) %] |
| 200 |
|
230 |
<h3 align="center">Still [% numberpending | html %] servers to search</h3> |
| 201 |
</div> |
231 |
[% END %] |
| 202 |
</div> |
|
|
| 203 |
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending | html %] servers to search</h3>[% END %] |
| 204 |
|
232 |
|
| 205 |
[% MACRO jsinclude BLOCK %] |
233 |
[% MACRO jsinclude BLOCK %] |
| 206 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
234 |
[% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] |
|
Lines 253-259
Link Here
|
| 253 |
"left" : left, |
281 |
"left" : left, |
| 254 |
"right" : "unset" |
282 |
"right" : "unset" |
| 255 |
}); |
283 |
}); |
| 256 |
|
|
|
| 257 |
} |
284 |
} |
| 258 |
}); |
285 |
}); |
| 259 |
}); |
286 |
}); |
| 260 |
- |
|
|