Lines 1-7
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Cataloging</title> |
3 |
<title>Koha › Cataloging</title> |
4 |
[% INCLUDE 'greybox.inc' %] |
|
|
5 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
<script type="text/javascript"> |
5 |
<script type="text/javascript"> |
7 |
//<![CDATA[ |
6 |
//<![CDATA[ |
Lines 28-33
Link Here
|
28 |
$.cookie( 'catalogue_editor_[% USER_INFO.0.borrowernumber %]', 'advanced', { expires: 365, path: '/' } ); |
27 |
$.cookie( 'catalogue_editor_[% USER_INFO.0.borrowernumber %]', 'advanced', { expires: 365, path: '/' } ); |
29 |
return true; |
28 |
return true; |
30 |
}); |
29 |
}); |
|
|
30 |
|
31 |
$(".previewData").on("click", function(e){ |
32 |
e.preventDefault(); |
33 |
var ltitle = $(this).text(); |
34 |
var page = $(this).attr("href"); |
35 |
$("#dataPreviewLabel").text(ltitle); |
36 |
$("#dataPreview .modal-body").load(page + " div"); |
37 |
$('#dataPreview').modal({show:true}); |
38 |
}); |
39 |
$("#dataPreview").on("hidden", function(){ |
40 |
$("#dataPreviewLabel").html(""); |
41 |
$("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); |
42 |
}); |
43 |
|
31 |
}); |
44 |
}); |
32 |
|
45 |
|
33 |
/* this function open a popup to search on z3950 server. */ |
46 |
/* this function open a popup to search on z3950 server. */ |
Lines 186-192
Link Here
|
186 |
[% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %] |
199 |
[% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %] |
187 |
</span> |
200 |
</span> |
188 |
</td> |
201 |
</td> |
189 |
<td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&id=[% resultsloo.biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Card</a> |
202 |
<td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&id=[% resultsloo.biblionumber %]" class="previewData">Card</a> |
190 |
</td> |
203 |
</td> |
191 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]">Edit biblio</a></td>[% END %] |
204 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]">Edit biblio</a></td>[% END %] |
192 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]<td><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]">Add/Edit items</a></td>[% END %] |
205 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]<td><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]">Add/Edit items</a></td>[% END %] |
Lines 229-235
Link Here
|
229 |
<td>[% breeding_loo.copyrightdate %]</td> |
242 |
<td>[% breeding_loo.copyrightdate %]</td> |
230 |
<td>[% breeding_loo.edition %]</td> |
243 |
<td>[% breeding_loo.edition %]</td> |
231 |
<td>[% breeding_loo.file %]</td> |
244 |
<td>[% breeding_loo.file %]</td> |
232 |
<td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.id %]" title="MARC" rel="gb_page_center[600,500]">Card</a> |
245 |
<td> <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" class="previewData">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.id %]" class="previewData">Card</a> |
233 |
</td> |
246 |
</td> |
234 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td> |
247 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<td> |
235 |
<a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]">Add biblio</a> |
248 |
<a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]">Add biblio</a> |
Lines 242-247
Link Here
|
242 |
[% END %] |
255 |
[% END %] |
243 |
</div> |
256 |
</div> |
244 |
[% END %] |
257 |
[% END %] |
|
|
258 |
|
259 |
<div id="dataPreview" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true"> |
260 |
<div class="modal-header"> |
261 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
262 |
<h3 id="dataPreviewLabel">Preview</h3> |
263 |
</div> |
264 |
<div class="modal-body"> |
265 |
<div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div> |
266 |
</div> |
267 |
<div class="modal-footer"> |
268 |
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button> |
269 |
</div> |
270 |
</div> |
271 |
|
245 |
</div> |
272 |
</div> |
246 |
</div> |
273 |
</div> |
247 |
[% INCLUDE 'intranet-bottom.inc' %] |
274 |
[% INCLUDE 'intranet-bottom.inc' %] |
248 |
- |
|
|