View | Details | Raw Unified | Return to bug 6594
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl (-2 / +3 lines)
Lines 546-552 Link Here
546
        <xsl:if test="marc:datafield[substring(@tag, 1, 1) = '6']">
546
        <xsl:if test="marc:datafield[substring(@tag, 1, 1) = '6']">
547
            <span class="results_summary subjects"><span class="label">Subject(s): </span>
547
            <span class="results_summary subjects"><span class="label">Subject(s): </span>
548
            <xsl:for-each select="marc:datafield[substring(@tag, 1, 1) = '6']">
548
            <xsl:for-each select="marc:datafield[substring(@tag, 1, 1) = '6']">
549
            <a property="keywords">
549
            <a>
550
            <xsl:choose>
550
            <xsl:choose>
551
            <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
551
            <xsl:when test="marc:subfield[@code=9] and $UseAuthoritiesForTracings='1'">
552
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
552
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=an:<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
Lines 564-569 Link Here
564
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="marc:subfield[@code='a']"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
564
                <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="marc:subfield[@code='a']"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
565
            </xsl:otherwise>
565
            </xsl:otherwise>
566
            </xsl:choose>
566
            </xsl:choose>
567
            <span property="keywords">
567
            <xsl:call-template name="chopPunctuation">
568
            <xsl:call-template name="chopPunctuation">
568
                <xsl:with-param name="chopString">
569
                <xsl:with-param name="chopString">
569
                    <xsl:call-template name="subfieldSelect">
570
                    <xsl:call-template name="subfieldSelect">
Lines 573-578 Link Here
573
                    </xsl:call-template>
574
                    </xsl:call-template>
574
                </xsl:with-param>
575
                </xsl:with-param>
575
            </xsl:call-template>
576
            </xsl:call-template>
577
            </span>
576
            </a>
578
            </a>
577
            <xsl:if test="marc:subfield[@code=9]">
579
            <xsl:if test="marc:subfield[@code=9]">
578
                <a class='authlink'>
580
                <a class='authlink'>
579
- 

Return to bug 6594