Lines 134-140
Link Here
|
134 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> |
134 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute> |
135 |
</xsl:when> |
135 |
</xsl:when> |
136 |
<xsl:otherwise> |
136 |
<xsl:otherwise> |
137 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> |
137 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=au:<xsl:value-of select="marc:subfield[@code='a']"/></xsl:attribute> |
138 |
</xsl:otherwise> |
138 |
</xsl:otherwise> |
139 |
</xsl:choose> |
139 |
</xsl:choose> |
140 |
<xsl:call-template name="nameABCDN"/></a> |
140 |
<xsl:call-template name="nameABCDN"/></a> |
Lines 173-179
Link Here
|
173 |
<xsl:if test="$ShowISBD!='0'"> |
173 |
<xsl:if test="$ShowISBD!='0'"> |
174 |
<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber={marc:datafield[@tag=999]/marc:subfield[@code='c']}">Card View (ISBD)</a></span> |
174 |
<span class="view"><a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber={marc:datafield[@tag=999]/marc:subfield[@code='c']}">Card View (ISBD)</a></span> |
175 |
</xsl:if> |
175 |
</xsl:if> |
176 |
</div> |
176 |
</div> |
177 |
|
177 |
|
178 |
<xsl:if test="$DisplayOPACiconsXSLT!='0'"> |
178 |
<xsl:if test="$DisplayOPACiconsXSLT!='0'"> |
179 |
<xsl:if test="$materialTypeCode!=''"> |
179 |
<xsl:if test="$materialTypeCode!=''"> |
Lines 194-200
Link Here
|
194 |
<xsl:with-param name="index">se</xsl:with-param> |
194 |
<xsl:with-param name="index">se</xsl:with-param> |
195 |
</xsl:call-template> |
195 |
</xsl:call-template> |
196 |
</xsl:if> |
196 |
</xsl:if> |
197 |
|
197 |
|
198 |
<xsl:if test="marc:datafield[@tag=440 or @tag=490]"> |
198 |
<xsl:if test="marc:datafield[@tag=440 or @tag=490]"> |
199 |
<span class="results_summary"><span class="label">Series: </span> |
199 |
<span class="results_summary"><span class="label">Series: </span> |
200 |
<xsl:for-each select="marc:datafield[@tag=440]"> |
200 |
<xsl:for-each select="marc:datafield[@tag=440]"> |
Lines 236-242
Link Here
|
236 |
<xsl:with-param name="label">Publisher: </xsl:with-param> |
236 |
<xsl:with-param name="label">Publisher: </xsl:with-param> |
237 |
</xsl:call-template> |
237 |
</xsl:call-template> |
238 |
</xsl:if> |
238 |
</xsl:if> |
239 |
|
239 |
|
240 |
<xsl:if test="marc:datafield[@tag=260]"> |
240 |
<xsl:if test="marc:datafield[@tag=260]"> |
241 |
<span class="results_summary"><span class="label">Publisher: </span> |
241 |
<span class="results_summary"><span class="label">Publisher: </span> |
242 |
<xsl:for-each select="marc:datafield[@tag=260]"> |
242 |
<xsl:for-each select="marc:datafield[@tag=260]"> |
Lines 249-255
Link Here
|
249 |
</xsl:call-template> |
249 |
</xsl:call-template> |
250 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
250 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
251 |
</xsl:for-each> |
251 |
</xsl:for-each> |
252 |
</span> |
252 |
</span> |
253 |
</xsl:if> |
253 |
</xsl:if> |
254 |
|
254 |
|
255 |
<!-- Edition Statement: Alternate Graphic Representation (MARC 880) --> |
255 |
<!-- Edition Statement: Alternate Graphic Representation (MARC 880) --> |
Lines 261-267
Link Here
|
261 |
<xsl:with-param name="label">Edition: </xsl:with-param> |
261 |
<xsl:with-param name="label">Edition: </xsl:with-param> |
262 |
</xsl:call-template> |
262 |
</xsl:call-template> |
263 |
</xsl:if> |
263 |
</xsl:if> |
264 |
|
264 |
|
265 |
<xsl:if test="marc:datafield[@tag=250]"> |
265 |
<xsl:if test="marc:datafield[@tag=250]"> |
266 |
<span class="results_summary"><span class="label">Edition: </span> |
266 |
<span class="results_summary"><span class="label">Edition: </span> |
267 |
<xsl:for-each select="marc:datafield[@tag=250]"> |
267 |
<xsl:for-each select="marc:datafield[@tag=250]"> |
Lines 286-292
Link Here
|
286 |
<xsl:with-param name="label">Description: </xsl:with-param> |
286 |
<xsl:with-param name="label">Description: </xsl:with-param> |
287 |
</xsl:call-template> |
287 |
</xsl:call-template> |
288 |
</xsl:if> |
288 |
</xsl:if> |
289 |
|
289 |
|
290 |
<xsl:if test="marc:datafield[@tag=300]"> |
290 |
<xsl:if test="marc:datafield[@tag=300]"> |
291 |
<span class="results_summary"><span class="label">Description: </span> |
291 |
<span class="results_summary"><span class="label">Description: </span> |
292 |
<xsl:for-each select="marc:datafield[@tag=300]"> |
292 |
<xsl:for-each select="marc:datafield[@tag=300]"> |
Lines 370-376
Link Here
|
370 |
<xsl:call-template name="chopPunctuation"> |
370 |
<xsl:call-template name="chopPunctuation"> |
371 |
<xsl:with-param name="chopString"> |
371 |
<xsl:with-param name="chopString"> |
372 |
<xsl:value-of select="substring($str,1,string-length($str)-1)"/> |
372 |
<xsl:value-of select="substring($str,1,string-length($str)-1)"/> |
373 |
|
373 |
|
374 |
</xsl:with-param> |
374 |
</xsl:with-param> |
375 |
</xsl:call-template> |
375 |
</xsl:call-template> |
376 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
376 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
Lines 464-487
Link Here
|
464 |
</xsl:if> |
464 |
</xsl:if> |
465 |
<xsl:if test="marc:datafield[@tag=505]"> |
465 |
<xsl:if test="marc:datafield[@tag=505]"> |
466 |
<xsl:for-each select="marc:datafield[@tag=505]"> |
466 |
<xsl:for-each select="marc:datafield[@tag=505]"> |
467 |
<span class="results_summary"><span class="label"> |
467 |
<span class="results_summary"> |
468 |
<xsl:choose> |
468 |
<xsl:choose> |
469 |
<xsl:when test="@ind1=1"> |
469 |
<xsl:when test="@ind1=1"> |
470 |
Incomplete contents: |
470 |
<span class="label">Incomplete contents:</span> |
471 |
</xsl:when> |
471 |
</xsl:when> |
472 |
<xsl:when test="@ind1=1"> |
472 |
<xsl:when test="@ind1=1"> |
473 |
Partial contents: |
473 |
<span class="label">Partial contents:</span> |
474 |
</xsl:when> |
474 |
</xsl:when> |
475 |
<xsl:otherwise> |
475 |
<xsl:otherwise> |
476 |
Contents: |
476 |
<span class="label">Contents:</span> |
477 |
</xsl:otherwise> |
477 |
</xsl:otherwise> |
478 |
</xsl:choose> |
478 |
</xsl:choose> |
479 |
</span> |
|
|
480 |
<xsl:choose> |
479 |
<xsl:choose> |
481 |
<xsl:when test="@ind2=0"> |
480 |
<xsl:when test="@ind2=0"> |
482 |
<xsl:for-each select="marc:subfield[@code='t']"> |
481 |
<xsl:for-each select="marc:subfield[@code='t']"> |
483 |
<xsl:value-of select="marc:subfield[@code=t]"/> <xsl:value-of select="marc:subfield[@code=r]"/> |
482 |
<xsl:value-of select="marc:subfield[@code=t]"/> <xsl:value-of select="marc:subfield[@code=r]"/> |
484 |
</xsl:for-each> |
483 |
</xsl:for-each> |
485 |
</xsl:when> |
484 |
</xsl:when> |
486 |
<xsl:otherwise> |
485 |
<xsl:otherwise> |
487 |
<xsl:call-template name="subfieldSelect"> |
486 |
<xsl:call-template name="subfieldSelect"> |
Lines 518-524
Link Here
|
518 |
<xsl:value-of select="translate($f773, '()', '')"/> |
517 |
<xsl:value-of select="translate($f773, '()', '')"/> |
519 |
</a> |
518 |
</a> |
520 |
</span> |
519 |
</span> |
521 |
|
520 |
|
522 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
521 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
523 |
|
522 |
|
524 |
</xsl:if> |
523 |
</xsl:if> |
Lines 556-589
Link Here
|
556 |
<xsl:if test="marc:datafield[@tag=780]"> |
555 |
<xsl:if test="marc:datafield[@tag=780]"> |
557 |
<xsl:for-each select="marc:datafield[@tag=780]"> |
556 |
<xsl:for-each select="marc:datafield[@tag=780]"> |
558 |
<xsl:if test="@ind1=0"> |
557 |
<xsl:if test="@ind1=0"> |
559 |
<span class="results_summary"><span class="label"> |
558 |
<span class="results_summary"> |
560 |
<xsl:choose> |
559 |
<xsl:choose> |
561 |
<xsl:when test="@ind2=0"> |
560 |
<xsl:when test="@ind2=0"> |
562 |
Continues: |
561 |
<span class="label">Continues:</span> |
563 |
</xsl:when> |
562 |
</xsl:when> |
564 |
<xsl:when test="@ind2=1"> |
563 |
<xsl:when test="@ind2=1"> |
565 |
Continues in part: |
564 |
<span class="label">Continues in part:</span> |
566 |
</xsl:when> |
565 |
</xsl:when> |
567 |
<xsl:when test="@ind2=2"> |
566 |
<xsl:when test="@ind2=2"> |
568 |
Supersedes: |
567 |
<span class="label">Supersedes:</span> |
569 |
</xsl:when> |
568 |
</xsl:when> |
570 |
<xsl:when test="@ind2=3"> |
569 |
<xsl:when test="@ind2=3"> |
571 |
Supersedes in part: |
570 |
<span class="label">Supersedes in part:</span> |
572 |
</xsl:when> |
571 |
</xsl:when> |
573 |
<xsl:when test="@ind2=4"> |
572 |
<xsl:when test="@ind2=4"> |
574 |
Formed by the union: ... and: ... |
573 |
<span class="label">Formed by the union: ... and: ...</span> |
575 |
</xsl:when> |
574 |
</xsl:when> |
576 |
<xsl:when test="@ind2=5"> |
575 |
<xsl:when test="@ind2=5"> |
577 |
Absorbed: |
576 |
<span class="label">Absorbed:</span> |
578 |
</xsl:when> |
577 |
</xsl:when> |
579 |
<xsl:when test="@ind2=6"> |
578 |
<xsl:when test="@ind2=6"> |
580 |
Absorbed in part: |
579 |
<span class="label">Absorbed in part:</span> |
581 |
</xsl:when> |
580 |
</xsl:when> |
582 |
<xsl:when test="@ind2=7"> |
581 |
<xsl:when test="@ind2=7"> |
583 |
Separated from: |
582 |
<span class="label">Separated from:</span> |
584 |
</xsl:when> |
583 |
</xsl:when> |
585 |
</xsl:choose> |
584 |
</xsl:choose> |
586 |
</span> |
|
|
587 |
<xsl:variable name="f780"> |
585 |
<xsl:variable name="f780"> |
588 |
<xsl:call-template name="subfieldSelect"> |
586 |
<xsl:call-template name="subfieldSelect"> |
589 |
<xsl:with-param name="codes">at</xsl:with-param> |
587 |
<xsl:with-param name="codes">at</xsl:with-param> |
Lines 593-599
Link Here
|
593 |
<xsl:value-of select="translate($f780, '()', '')"/> |
591 |
<xsl:value-of select="translate($f780, '()', '')"/> |
594 |
</a> |
592 |
</a> |
595 |
</span> |
593 |
</span> |
596 |
|
594 |
|
597 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
595 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
598 |
|
596 |
|
599 |
</xsl:if> |
597 |
</xsl:if> |
Lines 604-641
Link Here
|
604 |
<xsl:if test="marc:datafield[@tag=785]"> |
602 |
<xsl:if test="marc:datafield[@tag=785]"> |
605 |
<xsl:for-each select="marc:datafield[@tag=785]"> |
603 |
<xsl:for-each select="marc:datafield[@tag=785]"> |
606 |
<xsl:if test="@ind1=0"> |
604 |
<xsl:if test="@ind1=0"> |
607 |
<span class="results_summary"><span class="label"> |
605 |
<span class="results_summary"> |
608 |
<xsl:choose> |
606 |
<xsl:choose> |
609 |
<xsl:when test="@ind2=0"> |
607 |
<xsl:when test="@ind2=0"> |
610 |
Continued by: |
608 |
<span class="label">Continued by:</span> |
611 |
</xsl:when> |
609 |
</xsl:when> |
612 |
<xsl:when test="@ind2=1"> |
610 |
<xsl:when test="@ind2=1"> |
613 |
Continued in part by: |
611 |
<span class="label">Continued in part by:</span> |
614 |
</xsl:when> |
612 |
</xsl:when> |
615 |
<xsl:when test="@ind2=2"> |
613 |
<xsl:when test="@ind2=2"> |
616 |
Superseded by: |
614 |
<span class="label">Superseded by:</span> |
617 |
</xsl:when> |
615 |
</xsl:when> |
618 |
<xsl:when test="@ind2=3"> |
616 |
<xsl:when test="@ind2=3"> |
619 |
Superseded in part by: |
617 |
<span class="label">Superseded in part by:</span> |
620 |
</xsl:when> |
618 |
</xsl:when> |
621 |
<xsl:when test="@ind2=4"> |
619 |
<xsl:when test="@ind2=4"> |
622 |
Absorbed by: |
620 |
<span class="label">Absorbed by:</span> |
623 |
</xsl:when> |
621 |
</xsl:when> |
624 |
<xsl:when test="@ind2=5"> |
622 |
<xsl:when test="@ind2=5"> |
625 |
Absorbed in part by: |
623 |
<span class="label">Absorbed in part by:</span> |
626 |
</xsl:when> |
624 |
</xsl:when> |
627 |
<xsl:when test="@ind2=6"> |
625 |
<xsl:when test="@ind2=6"> |
628 |
Split into .. and ...: |
626 |
<span class="label">Split into .. and ...:</span> |
629 |
</xsl:when> |
627 |
</xsl:when> |
630 |
<xsl:when test="@ind2=7"> |
628 |
<xsl:when test="@ind2=7"> |
631 |
Merged with ... to form ... |
629 |
<span class="label">Merged with ... to form ...</span> |
632 |
</xsl:when> |
630 |
</xsl:when> |
633 |
<xsl:when test="@ind2=8"> |
631 |
<xsl:when test="@ind2=8"> |
634 |
Changed back to: |
632 |
<span class="label">Changed back to:</span> |
635 |
</xsl:when> |
633 |
</xsl:when> |
636 |
|
634 |
|
637 |
</xsl:choose> |
635 |
</xsl:choose> |
638 |
</span> |
|
|
639 |
<xsl:variable name="f785"> |
636 |
<xsl:variable name="f785"> |
640 |
<xsl:call-template name="subfieldSelect"> |
637 |
<xsl:call-template name="subfieldSelect"> |
641 |
<xsl:with-param name="codes">at</xsl:with-param> |
638 |
<xsl:with-param name="codes">at</xsl:with-param> |