Lines 509-515
Link Here
|
509 |
|
509 |
|
510 |
[% IF ( NovelistSelectProfile && normalized_isbn ) %] |
510 |
[% IF ( NovelistSelectProfile && normalized_isbn ) %] |
511 |
[% IF ( NovelistSelectView == 'above') %] |
511 |
[% IF ( NovelistSelectView == 'above') %] |
512 |
<span class="results_summary"> |
512 |
<span class="results_summary NovelistSelect" style="display:none;"> |
513 |
<span class="label">Novelist Select: </span> |
513 |
<span class="label">Novelist Select: </span> |
514 |
<div data-novelist-novelistselect=[% normalized_isbn %]></div> |
514 |
<div data-novelist-novelistselect=[% normalized_isbn %]></div> |
515 |
</span> |
515 |
</span> |
Lines 585-591
Link Here
|
585 |
|
585 |
|
586 |
[% IF ( NovelistSelectProfile && normalized_isbn ) %] |
586 |
[% IF ( NovelistSelectProfile && normalized_isbn ) %] |
587 |
[% IF ( NovelistSelectView == 'tab') %] |
587 |
[% IF ( NovelistSelectView == 'tab') %] |
588 |
<li id="tab_NovelistSelect"> <a href="#NovelistSelect">Novelist Select</a></li> |
588 |
<li id="tab_NovelistSelect" class="NovelistSelect" style="display:none;"> <a href="#NovelistSelect">Novelist Select</a></li> |
589 |
[% END %] |
589 |
[% END %] |
590 |
[% END %] |
590 |
[% END %] |
591 |
|
591 |
|
Lines 783-791
Link Here
|
783 |
[% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %] |
783 |
[% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %] |
784 |
[% END # / IF SyndeticsEnabled %] |
784 |
[% END # / IF SyndeticsEnabled %] |
785 |
|
785 |
|
786 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && normalized_isbn ) %] |
786 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %] |
787 |
<div id="NovelistSelect"> |
787 |
<div id="NovelistSelect" > |
788 |
<div data-novelist-novelistselect=[% normalized_isbn %]></div> |
788 |
<div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]></div> |
789 |
</div> |
789 |
</div> |
790 |
[% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %] |
790 |
[% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %] |
791 |
|
791 |
|
Lines 1024-1033
Link Here
|
1024 |
[% END %] |
1024 |
[% END %] |
1025 |
</div> <!-- / #bibliodescriptions --> |
1025 |
</div> <!-- / #bibliodescriptions --> |
1026 |
|
1026 |
|
1027 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && normalized_isbn ) %] |
1027 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %] |
1028 |
<div id="NovelistSelect"> |
1028 |
<div id="NovelistSelect"> |
1029 |
<h3>Novelist Select</h3> |
1029 |
<h3>Novelist Select</h3> |
1030 |
<div data-novelist-novelistselect="[% normalized_isbn %]"></div> |
1030 |
<div data-novelist-novelistselect="[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]"></div> |
1031 |
</div> |
1031 |
</div> |
1032 |
[% END %] |
1032 |
[% END %] |
1033 |
|
1033 |
|
Lines 1100-1109
Link Here
|
1100 |
|
1100 |
|
1101 |
[% INCLUDE 'opac-detail-sidebar.inc' %] |
1101 |
[% INCLUDE 'opac-detail-sidebar.inc' %] |
1102 |
|
1102 |
|
1103 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && normalized_isbn ) %] |
1103 |
[% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %] |
1104 |
<div id="NovelistSelect"> |
1104 |
<div id="NovelistSelect"> |
1105 |
<h4>Novelist Select</h4> |
1105 |
<h4>Novelist Select</h4> |
1106 |
<div data-novelist-novelistselect=[% normalized_isbn %]></div> |
1106 |
<div data-novelist-novelistselect=[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]></div> |
1107 |
</div> |
1107 |
</div> |
1108 |
[% END %] |
1108 |
[% END %] |
1109 |
|
1109 |
|
Lines 1474-1481
Link Here
|
1474 |
[% IF OPACLocalCoverImages %] |
1474 |
[% IF OPACLocalCoverImages %] |
1475 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1475 |
KOHA.LocalCover.GetCoverFromBibnumber(true); |
1476 |
[% END %] |
1476 |
[% END %] |
1477 |
[% IF ( NovelistSelectProfile && normalized_isbn ) %] |
1477 |
[% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] |
1478 |
novSelect.loadContentForISBN('[% normalized_isbn %]','[% NovelistSelectProfile %]', '[% NovelistSelectPassword %]', function(d){}); |
1478 |
novSelect.loadContentForQuery( |
|
|
1479 |
{ |
1480 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]', |
1481 |
ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]', |
1482 |
version : '2.1' |
1483 |
}, |
1484 |
'[% NovelistSelectProfile %]', |
1485 |
'[% NovelistSelectPassword %]', |
1486 |
function(d){ |
1487 |
if ( d.length > 0 ){ //If no content |
1488 |
$(".NovelistSelect").show(); |
1489 |
} |
1490 |
}); |
1479 |
[% END %] |
1491 |
[% END %] |
1480 |
|
1492 |
|
1481 |
[% IF ( OpacBrowseResults && busc ) %] |
1493 |
[% IF ( OpacBrowseResults && busc ) %] |
1482 |
- |
|
|