Lines 438-542
Link Here
|
438 |
</xsl:for-each> |
438 |
</xsl:for-each> |
439 |
</span> |
439 |
</span> |
440 |
</xsl:if> |
440 |
</xsl:if> |
441 |
|
441 |
</xsl:template> |
442 |
<!-- 780 --> |
|
|
443 |
<xsl:if test="marc:datafield[@tag=780]"> |
444 |
<xsl:for-each select="marc:datafield[@tag=780]"> |
445 |
<span class="results_summary"> |
446 |
<xsl:choose> |
447 |
<xsl:when test="@ind2=0"> |
448 |
<span class="label">Continues:</span> |
449 |
</xsl:when> |
450 |
<xsl:when test="@ind2=1"> |
451 |
<span class="label">Continues in part:</span> |
452 |
</xsl:when> |
453 |
<xsl:when test="@ind2=2"> |
454 |
<span class="label">Supersedes:</span> |
455 |
</xsl:when> |
456 |
<xsl:when test="@ind2=3"> |
457 |
<span class="label">Supersedes in part:</span> |
458 |
</xsl:when> |
459 |
<xsl:when test="@ind2=4"> |
460 |
<span class="label">Formed by the union: ... and: ...</span> |
461 |
</xsl:when> |
462 |
<xsl:when test="@ind2=5"> |
463 |
<span class="label">Absorbed:</span> |
464 |
</xsl:when> |
465 |
<xsl:when test="@ind2=6"> |
466 |
<span class="label">Absorbed in part:</span> |
467 |
</xsl:when> |
468 |
<xsl:when test="@ind2=7"> |
469 |
<span class="label">Separated from:</span> |
470 |
</xsl:when> |
471 |
</xsl:choose> |
472 |
<xsl:variable name="f780"> |
473 |
<xsl:call-template name="subfieldSelect"> |
474 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
475 |
</xsl:call-template> |
476 |
</xsl:variable> |
477 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f780, '()', '')"/></xsl:attribute> |
478 |
<xsl:value-of select="translate($f780, '()', '')"/> |
479 |
</a> |
480 |
</span> |
481 |
|
482 |
<xsl:choose> |
483 |
<xsl:when test="@ind1=0"> |
484 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
485 |
</xsl:when> |
486 |
</xsl:choose> |
487 |
|
488 |
</xsl:for-each> |
489 |
</xsl:if> |
490 |
|
491 |
<!-- 785 --> |
492 |
<xsl:if test="marc:datafield[@tag=785]"> |
493 |
<xsl:for-each select="marc:datafield[@tag=785]"> |
494 |
<span class="results_summary"> |
495 |
<xsl:choose> |
496 |
<xsl:when test="@ind2=0"> |
497 |
<span class="label">Continued by:</span> |
498 |
</xsl:when> |
499 |
<xsl:when test="@ind2=1"> |
500 |
<span class="label">Continued in part by:</span> |
501 |
</xsl:when> |
502 |
<xsl:when test="@ind2=2"> |
503 |
<span class="label">Superseded by:</span> |
504 |
</xsl:when> |
505 |
<xsl:when test="@ind2=3"> |
506 |
<span class="label">Superseded in part by:</span> |
507 |
</xsl:when> |
508 |
<xsl:when test="@ind2=4"> |
509 |
<span class="label">Absorbed by:</span> |
510 |
</xsl:when> |
511 |
<xsl:when test="@ind2=5"> |
512 |
<span class="label">Absorbed in part by:</span> |
513 |
</xsl:when> |
514 |
<xsl:when test="@ind2=6"> |
515 |
<span class="label">Split into .. and ...:</span> |
516 |
</xsl:when> |
517 |
<xsl:when test="@ind2=7"> |
518 |
<span class="label">Merged with ... to form ...</span> |
519 |
</xsl:when> |
520 |
<xsl:when test="@ind2=8"> |
521 |
<span class="label">Changed back to:</span> |
522 |
</xsl:when> |
523 |
|
524 |
</xsl:choose> |
525 |
<xsl:variable name="f785"> |
526 |
<xsl:call-template name="subfieldSelect"> |
527 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
528 |
</xsl:call-template> |
529 |
</xsl:variable> |
530 |
|
531 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=<xsl:value-of select="translate($f785, '()', '')"/></xsl:attribute> |
532 |
<xsl:value-of select="translate($f785, '()', '')"/> |
533 |
</a> |
534 |
|
535 |
</span> |
536 |
</xsl:for-each> |
537 |
</xsl:if> |
538 |
|
539 |
</xsl:template> |
540 |
|
442 |
|
541 |
<xsl:template name="nameABCDQ"> |
443 |
<xsl:template name="nameABCDQ"> |
542 |
<xsl:call-template name="chopPunctuation"> |
444 |
<xsl:call-template name="chopPunctuation"> |
543 |
- |
|
|