|
Lines 95-107
Link Here
|
| 95 |
$("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %] |
95 |
$("#highlight_toggle_off").show().click(function() {highlightOff(); return false;});[% END %][% END %] |
| 96 |
[% IF ( GoogleJackets ) %] |
96 |
[% IF ( GoogleJackets ) %] |
| 97 |
KOHA.Google.GetCoverFromIsbn([% covernewwindow %]); |
97 |
KOHA.Google.GetCoverFromIsbn([% covernewwindow %]); |
| 98 |
[% END %] |
98 |
[% END %] |
| 99 |
[% IF OpenLibraryCovers %] |
99 |
[% IF OpenLibraryCovers %] |
| 100 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
100 |
KOHA.OpenLibrary.GetCoverFromIsbn(); |
| 101 |
[% END %] |
101 |
[% END %] |
| 102 |
[% IF OPACLocalCoverImages %] |
102 |
[% IF OPACLocalCoverImages %] |
| 103 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
103 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
| 104 |
[% END %] |
104 |
[% END %] |
| 105 |
[% IF ( NovelistSelectProfile ) %] |
105 |
[% IF ( NovelistSelectProfile ) %] |
| 106 |
novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){}); |
106 |
novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){}); |
| 107 |
[% END %] |
107 |
[% END %] |
|
Lines 355-371
function renderPagination(index, total, ul, highlIndex)
Link Here
|
| 355 |
|
355 |
|
| 356 |
YAHOO.util.Event.onContentReady("furtherm", function () { |
356 |
YAHOO.util.Event.onContentReady("furtherm", function () { |
| 357 |
$("#furtherm").css("display","block").css("visibility","hidden"); |
357 |
$("#furtherm").css("display","block").css("visibility","hidden"); |
| 358 |
$("#furthersearches").parent().show(); |
358 |
$("#furthersearches").parent().show(); |
| 359 |
var furthersearchesMenu = new YAHOO.widget.Menu("furtherm"); |
359 |
var furthersearchesMenu = new YAHOO.widget.Menu("furtherm"); |
| 360 |
furthersearchesMenu.render(); |
360 |
furthersearchesMenu.render(); |
| 361 |
furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]); |
361 |
furthersearchesMenu.cfg.setProperty("context", ["furthersearches", "tr", "br"]); |
| 362 |
furthersearchesMenu.subscribe("beforeShow",positionfurthersearchesMenu); |
362 |
furthersearchesMenu.subscribe("beforeShow",positionfurthersearchesMenu); |
| 363 |
furthersearchesMenu.subscribe("show", furthersearchesMenu.focus); |
363 |
furthersearchesMenu.subscribe("show", furthersearchesMenu.focus); |
| 364 |
function positionfurthersearchesMenu() { |
364 |
function positionfurthersearchesMenu() { |
| 365 |
furthersearchesMenu.align("tr", "br"); |
365 |
furthersearchesMenu.align("tr", "br"); |
| 366 |
} |
366 |
} |
| 367 |
YAHOO.util.Event.addListener("furthersearches", "click", furthersearchesMenu.show, null, furthersearchesMenu); |
367 |
YAHOO.util.Event.addListener("furthersearches", "click", furthersearchesMenu.show, null, furthersearchesMenu); |
| 368 |
YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu); |
368 |
YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu); |
| 369 |
}); |
369 |
}); |
| 370 |
//]]> |
370 |
//]]> |
| 371 |
</script> |
371 |
</script> |
|
Lines 555-579
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
| 555 |
|
555 |
|
| 556 |
<!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them --> |
556 |
<!-- This puts the LTFL reviews in, and if TabbedView is not set, puts the remaining content above the Tabs instead of in them --> |
| 557 |
[% IF ( LibraryThingForLibrariesID ) %] |
557 |
[% IF ( LibraryThingForLibrariesID ) %] |
| 558 |
[% UNLESS ( LibraryThingForLibrariesTabbedView ) %] |
558 |
[% UNLESS ( LibraryThingForLibrariesTabbedView ) %] |
| 559 |
<div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div> |
559 |
<div class="results_summary"><div id="ltfl_related" class="ltfl"></div></div> |
| 560 |
<div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div> |
560 |
<div class="results_summary"><div id="ltfl_similars" class="ltfl"></div></div> |
| 561 |
<div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div> |
561 |
<div class="results_summary"><div id="ltfl_tagbrowse" class="ltfl"></div></div> |
| 562 |
[% END %] |
562 |
[% END %] |
| 563 |
<span class="results_summary"> |
563 |
<span class="results_summary"> |
| 564 |
<span class="label">Reviews from LibraryThing.com:</span> |
564 |
<span class="label">Reviews from LibraryThing.com:</span> |
| 565 |
<span style="display: block;" class="ltfl_reviews"></span> |
565 |
<span style="display: block;" class="ltfl_reviews"></span> |
| 566 |
</span> |
566 |
</span> |
| 567 |
[% END %] |
567 |
[% END %] |
| 568 |
|
568 |
|
| 569 |
<!--This grabs all of the lists a bib record appears in --> |
569 |
<!--This grabs all of the lists a bib record appears in --> |
| 570 |
[% IF ( GetShelves ) %] |
570 |
[% IF ( GetShelves ) %] |
| 571 |
<span class="results_summary"><span class="label">List(s) this item appears in: </span> |
571 |
<span class="results_summary"><span class="label">List(s) this item appears in: </span> |
| 572 |
[% FOREACH GetShelve IN GetShelves %] |
572 |
[% FOREACH GetShelve IN GetShelves %] |
| 573 |
<a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a> |
573 |
<a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a> |
| 574 |
[% IF ( loop.last ) %][% ELSE %]|[% END %] |
574 |
[% IF ( loop.last ) %][% ELSE %]|[% END %] |
| 575 |
[% END %] |
575 |
[% END %] |
| 576 |
</span> |
576 |
</span> |
| 577 |
[% END %] |
577 |
[% END %] |
| 578 |
|
578 |
|
| 579 |
[% IF ( TagsShowEnabled ) %] |
579 |
[% IF ( TagsShowEnabled ) %] |
|
Lines 812-818
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
| 812 |
<div id="holdings"> |
812 |
<div id="holdings"> |
| 813 |
[% IF ( itemloop.size ) %] |
813 |
[% IF ( itemloop.size ) %] |
| 814 |
[% IF ( lotsofitems ) %] |
814 |
[% IF ( lotsofitems ) %] |
| 815 |
<p>This record has many physical items. <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&viewallitems=1#holdings">Click here to view them all.</a></p> |
815 |
<p>This record has many physical items. <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&viewallitems=1#holdings">Click here to view them all.</a></p> |
| 816 |
[% ELSE %] |
816 |
[% ELSE %] |
| 817 |
[% INCLUDE items_table items=itemloop tab="holdings" %] |
817 |
[% INCLUDE items_table items=itemloop tab="holdings" %] |
| 818 |
[% END %] |
818 |
[% END %] |
|
Lines 915-927
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
| 915 |
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %] |
915 |
[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %] |
| 916 |
[% IF ( SYNDETICS_REVIEW.title ) %] |
916 |
[% IF ( SYNDETICS_REVIEW.title ) %] |
| 917 |
<h4>[% SYNDETICS_REVIEW.title %]</h4> |
917 |
<h4>[% SYNDETICS_REVIEW.title %]</h4> |
| 918 |
[% FOREACH review IN SYNDETICS_REVIEW.reviews %] |
918 |
[% FOREACH review IN SYNDETICS_REVIEW.reviews %] |
| 919 |
|
919 |
|
| 920 |
[% IF ( review.content ) %] |
920 |
[% IF ( review.content ) %] |
| 921 |
[% review.content %] |
921 |
[% review.content %] |
| 922 |
[% END %] |
922 |
[% END %] |
| 923 |
|
923 |
|
| 924 |
[% END %] |
924 |
[% END %] |
| 925 |
[% END %] |
925 |
[% END %] |
| 926 |
[% END %] |
926 |
[% END %] |
| 927 |
</div> |
927 |
</div> |
|
Lines 1004-1028
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
| 1004 |
|
1004 |
|
| 1005 |
[% IF ( LibraryThingForLibrariesID ) %] |
1005 |
[% IF ( LibraryThingForLibrariesID ) %] |
| 1006 |
[% IF ( LibraryThingForLibrariesTabbedView ) %] |
1006 |
[% IF ( LibraryThingForLibrariesTabbedView ) %] |
| 1007 |
<!-- Library Thing for Libraries Content --> |
1007 |
<!-- Library Thing for Libraries Content --> |
| 1008 |
<div id="LFTLSimilarItems"> |
1008 |
<div id="LFTLSimilarItems"> |
| 1009 |
<div class="content_set"> |
1009 |
<div class="content_set"> |
| 1010 |
<!-- Uncommenting this span makes the font smaller in the tab for LTFL --> |
1010 |
<!-- Uncommenting this span makes the font smaller in the tab for LTFL --> |
| 1011 |
<!-- but breaks Xhtml validation --> |
1011 |
<!-- but breaks Xhtml validation --> |
| 1012 |
<!-- <span class="results_summary">--> |
1012 |
<!-- <span class="results_summary">--> |
| 1013 |
<div id="ltfl_related"></div> |
1013 |
<div id="ltfl_related"></div> |
| 1014 |
<div id="ltfl_similars"></div> |
1014 |
<div id="ltfl_similars"></div> |
| 1015 |
<!-- </span>--> |
1015 |
<!-- </span>--> |
| 1016 |
</div> |
1016 |
</div> |
| 1017 |
</div> |
1017 |
</div> |
| 1018 |
<div id="LTFLTagBrowse"> |
1018 |
<div id="LTFLTagBrowse"> |
| 1019 |
<div class="content_set"> |
1019 |
<div class="content_set"> |
| 1020 |
<!-- <span class="results_summary"> --> |
1020 |
<!-- <span class="results_summary"> --> |
| 1021 |
<div id="ltfl_tagbrowse" class="ltfl"></div> |
1021 |
<div id="ltfl_tagbrowse" class="ltfl"></div> |
| 1022 |
<!-- </span> --> |
1022 |
<!-- </span> --> |
| 1023 |
</div> |
1023 |
</div> |
| 1024 |
</div> |
1024 |
</div> |
| 1025 |
[% END %] |
1025 |
[% END %] |
| 1026 |
[% END %] |
1026 |
[% END %] |
| 1027 |
<!-- /Library Thing for Libraries Content --> |
1027 |
<!-- /Library Thing for Libraries Content --> |
| 1028 |
|
1028 |
|
|
Lines 1261-1267
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
| 1261 |
<table class="holdingst"> |
1261 |
<table class="holdingst"> |
| 1262 |
<thead><tr> |
1262 |
<thead><tr> |
| 1263 |
[% IF ( item_level_itypes ) %]<th id="item_itemtype">Item type</th>[% END %] |
1263 |
[% IF ( item_level_itypes ) %]<th id="item_itemtype">Item type</th>[% END %] |
| 1264 |
<th id="item_location">Location</th> |
1264 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' || singleBranchMode ) %] |
|
|
1265 |
<th>Current Location</th> |
| 1266 |
[% END %] |
| 1267 |
[% UNLESS ( singleBranchMode ) %] |
| 1268 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
| 1269 |
<th>Home Library</th> |
| 1270 |
[% END %] |
| 1271 |
[% END %] |
| 1265 |
[% IF ( itemdata_ccode ) %]<th id="item_ccode">Collection</th>[% END %] |
1272 |
[% IF ( itemdata_ccode ) %]<th id="item_ccode">Collection</th>[% END %] |
| 1266 |
<th id="item_callnumber">Call number</th> |
1273 |
<th id="item_callnumber">Call number</th> |
| 1267 |
[% IF ( itemdata_enumchron ) %]<th id="item_enumchron">Vol info</th>[% END %] |
1274 |
[% IF ( itemdata_enumchron ) %]<th id="item_enumchron">Vol info</th>[% END %] |
|
Lines 1279-1297
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
| 1279 |
</tr></thead> |
1286 |
</tr></thead> |
| 1280 |
<tbody>[% FOREACH ITEM_RESULT IN items %] |
1287 |
<tbody>[% FOREACH ITEM_RESULT IN items %] |
| 1281 |
<tr>[% IF ( item_level_itypes ) %]<td class="itype">[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %] |
1288 |
<tr>[% IF ( item_level_itypes ) %]<td class="itype">[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %] |
| 1282 |
<td class="location"> |
|
|
| 1283 |
[% UNLESS ( singleBranchMode ) %] |
1289 |
[% UNLESS ( singleBranchMode ) %] |
| 1284 |
<span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]"> |
1290 |
[% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] |
| 1285 |
[% IF ( ITEM_RESULT.branchurl ) %] |
1291 |
<td class="location_holding"> |
| 1286 |
<a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a> |
1292 |
<span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]"> |
| 1287 |
[% ELSE %] |
1293 |
[% IF ( ITEM_RESULT.branchurl ) %] |
| 1288 |
[% ITEM_RESULT.branchname %] |
1294 |
<a href="[% ITEM_RESULT.branchurl %]">[% ITEM_RESULT.branchname %]</a> |
|
|
1295 |
[% ELSE %] |
| 1296 |
[% ITEM_RESULT.branchname %] |
| 1297 |
[% END %] |
| 1298 |
</span> |
| 1299 |
|
| 1300 |
[% IF ( OpacLocationBranchToDisplayShelving == 'holding' || OpacLocationBranchToDisplayShelving == 'both' ) %] |
| 1301 |
<span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> |
| 1302 |
[% END %] |
| 1303 |
|
| 1304 |
<div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div> |
| 1305 |
</td> |
| 1289 |
[% END %] |
1306 |
[% END %] |
| 1290 |
</span> |
1307 |
|
| 1291 |
<div class="branch-info-tooltip">[% ITEM_RESULT.branch_opac_info %]</div> |
1308 |
[% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] |
|
|
1309 |
<td class="location_home"> |
| 1310 |
<span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]"> |
| 1311 |
[% IF ( ITEM_RESULT.homebranchurl ) %] |
| 1312 |
<a href="[% ITEM_RESULT.homebranchurl %]">[% ITEM_RESULT.homebranchname %]</a> |
| 1313 |
[% ELSE %] |
| 1314 |
[% ITEM_RESULT.homebranchname %] |
| 1315 |
[% END %] |
| 1316 |
</span> |
| 1317 |
|
| 1318 |
[% IF ( OpacLocationBranchToDisplayShelving == 'home' || OpacLocationBranchToDisplayShelving == 'both' ) %] |
| 1319 |
<span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> |
| 1320 |
[% END %] |
| 1321 |
</td> |
| 1322 |
[% END %] |
| 1323 |
[% ELSE %] |
| 1324 |
<td class="location"><span class="shelvingloc">[% ITEM_RESULT.location_description %]</span></td> |
| 1292 |
[% END %] |
1325 |
[% END %] |
| 1293 |
<span class="shelvingloc">[% ITEM_RESULT.location_description %]</span> |
|
|
| 1294 |
</td> |
| 1295 |
[% IF ( itemdata_ccode ) %]<td class="collection">[% ITEM_RESULT.ccode %]</td>[% END %] |
1326 |
[% IF ( itemdata_ccode ) %]<td class="collection">[% ITEM_RESULT.ccode %]</td>[% END %] |
| 1296 |
<td class="call_no">[% IF ( ITEM_RESULT.itemcallnumber ) %] [% ITEM_RESULT.itemcallnumber %][% IF ( OPACShelfBrowser ) %] (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)[% END %][% END %]</td> |
1327 |
<td class="call_no">[% IF ( ITEM_RESULT.itemcallnumber ) %] [% ITEM_RESULT.itemcallnumber %][% IF ( OPACShelfBrowser ) %] (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>)[% END %][% END %]</td> |
| 1297 |
[% IF ( itemdata_enumchron ) %]<td class="vol_info">[% ITEM_RESULT.enumchron %]</td>[% END %] |
1328 |
[% IF ( itemdata_enumchron ) %]<td class="vol_info">[% ITEM_RESULT.enumchron %]</td>[% END %] |