|
Lines 6-21
Link Here
|
| 6 |
return false; |
6 |
return false; |
| 7 |
}); |
7 |
}); |
| 8 |
|
8 |
|
| 9 |
$("#z3950submit").click(function(){ |
9 |
$("#z3950_new").click(function(){ |
| 10 |
[% IF ( authid ) %] |
10 |
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl","z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes'); |
| 11 |
if (confirm(_("Please note that this Z39.50 search could replace the current record."))){ |
|
|
| 12 |
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl?authid=[% authid %]","z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes'); |
| 13 |
} |
| 14 |
[% ELSE %] |
| 15 |
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl","z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes'); |
| 16 |
[% END %] |
| 17 |
return false; |
11 |
return false; |
| 18 |
}); |
12 |
}); |
|
|
13 |
$("#z3950_replace").click(function(){ |
| 14 |
if (confirm(_("Please note that this Z39.50 search could replace the current record."))){ |
| 15 |
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl?authid=[% authid %]","z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes'); |
| 16 |
} |
| 17 |
}); |
| 19 |
|
18 |
|
| 20 |
}); |
19 |
}); |
| 21 |
|
20 |
|
|
Lines 59-66
Link Here
|
| 59 |
[% END %] |
58 |
[% END %] |
| 60 |
</ul> |
59 |
</ul> |
| 61 |
</div> |
60 |
</div> |
|
|
61 |
[% IF authid %] |
| 62 |
<div class="btn-group"> |
| 63 |
<a class="btn btn-small" id="z3950_replace" href="#"><i class="fa fa-search"></i> Replace using Z39.50</a> |
| 64 |
</div> |
| 65 |
[% END %] |
| 62 |
<div class="btn-group"> |
66 |
<div class="btn-group"> |
| 63 |
<a class="btn btn-small" id="z3950submit" href="#"><i class="fa fa-search"></i> New from Z39.50</a> |
67 |
<a class="btn btn-small" id="z3950_new" href="#"><i class="fa fa-search"></i> New from Z39.50</a> |
|
|
68 |
|
| 64 |
</div> |
69 |
</div> |
| 65 |
[% END %] |
70 |
[% END %] |
| 66 |
</div> |
71 |
</div> |
| 67 |
- |
|
|