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