Lines 370-378
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
370 |
//]]> |
370 |
//]]> |
371 |
</script> |
371 |
</script> |
372 |
|
372 |
|
|
|
373 |
[% IF OPACPopupAuthorsSearch %] |
373 |
<script type="text/JavaScript" language="JavaScript"> |
374 |
<script type="text/JavaScript" language="JavaScript"> |
374 |
//<![CDATA[ |
375 |
//<![CDATA[ |
375 |
function showAuthors(element, authornumber){ |
376 |
function showAuthors(element){ |
|
|
377 |
var authornumber = $(element).attr("data-count"); |
376 |
// Hide subjects menu if displayed |
378 |
// Hide subjects menu if displayed |
377 |
hideMenu(".subjectSearch"); |
379 |
hideMenu(".subjectSearch"); |
378 |
|
380 |
|
Lines 462-469
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
462 |
$("#validSubjectSearch").removeAttr("href"); |
464 |
$("#validSubjectSearch").removeAttr("href"); |
463 |
} |
465 |
} |
464 |
} |
466 |
} |
|
|
467 |
$(document).ready(function() { |
468 |
$("a.showauthors").click(function(){ |
469 |
showAuthors(this); |
470 |
return false; |
471 |
}); |
472 |
}); |
473 |
|
465 |
//]]> |
474 |
//]]> |
466 |
</script> |
475 |
</script> |
|
|
476 |
[% END %] |
467 |
|
477 |
|
468 |
<style type="text/css"> |
478 |
<style type="text/css"> |
469 |
.branch-info-tooltip { |
479 |
.branch-info-tooltip { |
Lines 530-535
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
530 |
|
540 |
|
531 |
[% IF ( MARCAUTHORS ) %] |
541 |
[% IF ( MARCAUTHORS ) %] |
532 |
<span class="results_summary"><span class="label">Additional authors:</span> |
542 |
<span class="results_summary"><span class="label">Additional authors:</span> |
|
|
543 |
[% IF OPACPopupAuthorsSearch %] |
533 |
<div class="authorSearch" id="authorSearch"> |
544 |
<div class="authorSearch" id="authorSearch"> |
534 |
<span><b>Select the item(s) to search :</b></span> |
545 |
<span><b>Select the item(s) to search :</b></span> |
535 |
<br /> |
546 |
<br /> |
Lines 561-572
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
561 |
| |
572 |
| |
562 |
<a id="validAuthorSearch">Search</a> |
573 |
<a id="validAuthorSearch">Search</a> |
563 |
</div> |
574 |
</div> |
|
|
575 |
[% END %] |
564 |
[% FOREACH MARCAUTHOR IN MARCAUTHORS %] |
576 |
[% FOREACH MARCAUTHOR IN MARCAUTHORS %] |
565 |
[% authorsloop = loop %] |
577 |
[% authorsloop = loop %] |
566 |
[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] |
578 |
[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] |
567 |
[% MARCAUTHOR_SUBFIELDS_LOO.separator %] |
579 |
[% MARCAUTHOR_SUBFIELDS_LOO.separator %] |
568 |
<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]" |
580 |
<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value %]" |
569 |
onclick="showAuthors(this, [% authorsloop.count %]); return false;" |
581 |
class="showauthors" data-count="[% authorsloop.count %]" |
570 |
href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a> |
582 |
href="/cgi-bin/koha/opac-search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit |url %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a> |
571 |
[% END %] |
583 |
[% END %] |
572 |
[% IF (MARCAUTHOR.authoritylink) %] |
584 |
[% IF (MARCAUTHOR.authoritylink) %] |
Lines 629-634
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
629 |
[% IF ( MARCSUBJCTS ) %] |
641 |
[% IF ( MARCSUBJCTS ) %] |
630 |
<span class="results_summary"> |
642 |
<span class="results_summary"> |
631 |
<span class="label">Subject(s):</span> |
643 |
<span class="label">Subject(s):</span> |
|
|
644 |
[% IF OPACPopupAuthorsSearch %] |
632 |
<div class="subjectSearch" > |
645 |
<div class="subjectSearch" > |
633 |
<span><b>Select the item(s) to search :</b></span> |
646 |
<span><b>Select the item(s) to search :</b></span> |
634 |
<div id="subjectsList"> |
647 |
<div id="subjectsList"> |
Lines 666-671
YAHOO.util.Event.onContentReady("furtherm", function () {
Link Here
|
666 |
| |
679 |
| |
667 |
<a id="validSubjectSearch">Search</a> |
680 |
<a id="validSubjectSearch">Search</a> |
668 |
</div> |
681 |
</div> |
|
|
682 |
[% END %] |
669 |
[% FOREACH MARCSUBJCT IN MARCSUBJCTS %] |
683 |
[% FOREACH MARCSUBJCT IN MARCSUBJCTS %] |
670 |
[% subjectsloop = loop %] |
684 |
[% subjectsloop = loop %] |
671 |
[% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] |
685 |
[% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] |