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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-1 / +16 lines)
Lines 40-45 Link Here
40
            <xsl:otherwise>"</xsl:otherwise>
40
            <xsl:otherwise>"</xsl:otherwise>
41
          </xsl:choose>
41
          </xsl:choose>
42
        </xsl:variable>
42
        </xsl:variable>
43
43
        <xsl:variable name="leader" select="marc:leader"/>
44
        <xsl:variable name="leader" select="marc:leader"/>
44
        <xsl:variable name="leader6" select="substring($leader,7,1)"/>
45
        <xsl:variable name="leader6" select="substring($leader,7,1)"/>
45
        <xsl:variable name="leader7" select="substring($leader,8,1)"/>
46
        <xsl:variable name="leader7" select="substring($leader,8,1)"/>
Lines 696-706 Link Here
696
                    </xsl:call-template>
697
                    </xsl:call-template>
697
                </xsl:attribute>
698
                </xsl:attribute>
698
            </xsl:when>
699
            </xsl:when>
700
699
            <!-- #1807 Strip unwanted parenthesis from subjects for searching -->
701
            <!-- #1807 Strip unwanted parenthesis from subjects for searching -->
700
            <xsl:otherwise>
702
            <xsl:otherwise>
701
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="translate(marc:subfield[@code='a'],'()','')"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
703
                <xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=su<xsl:value-of select="$SubjectModifier"/>:<xsl:value-of select="$TracingQuotesLeft"/><xsl:value-of select="translate(marc:subfield[@code='a'],'()','')"/><xsl:value-of select="$TracingQuotesRight"/></xsl:attribute>
702
            </xsl:otherwise>
704
            </xsl:otherwise>
703
            </xsl:choose>
705
            </xsl:choose>
706
704
            <xsl:call-template name="chopPunctuation">
707
            <xsl:call-template name="chopPunctuation">
705
                <xsl:with-param name="chopString">
708
                <xsl:with-param name="chopString">
706
                    <xsl:call-template name="subfieldSelect">
709
                    <xsl:call-template name="subfieldSelect">
Lines 711-716 Link Here
711
                </xsl:with-param>
714
                </xsl:with-param>
712
            </xsl:call-template>
715
            </xsl:call-template>
713
            </a>
716
            </a>
717
718
            <xsl:if test="marc:subfield[@code=9]">
719
                <a class='authlink'>
720
                    <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
721
                    <xsl:element name="img">
722
                        <xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute>
723
                        <xsl:attribute name="alt"></xsl:attribute>
724
                        <xsl:attribute name="height">15</xsl:attribute>
725
                        <xsl:attribute name="width">15</xsl:attribute>
726
                    </xsl:element>
727
                </a>
728
            </xsl:if>
729
714
            <xsl:choose>
730
            <xsl:choose>
715
            <xsl:when test="position()=last()"></xsl:when>
731
            <xsl:when test="position()=last()"></xsl:when>
716
            <xsl:otherwise> | </xsl:otherwise>
732
            <xsl:otherwise> | </xsl:otherwise>
717
- 

Return to bug 16427