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

(-)a/C4/XSLT.pm (-1 / +1 lines)
Lines 206-212 sub XSLTParse4Display { Link Here
206
                              UseControlNumber IntranetBiblioDefaultView BiblioDefaultView
206
                              UseControlNumber IntranetBiblioDefaultView BiblioDefaultView
207
                              singleBranchMode OPACItemLocation DisplayIconsXSLT
207
                              singleBranchMode OPACItemLocation DisplayIconsXSLT
208
                              AlternateHoldingsField AlternateHoldingsSeparator
208
                              AlternateHoldingsField AlternateHoldingsSeparator
209
                              TrackClicks / )
209
                              TrackClicks opacthemes / )
210
    {
210
    {
211
        my $sp = C4::Context->preference( $syspref );
211
        my $sp = C4::Context->preference( $syspref );
212
        next unless defined($sp);
212
        next unless defined($sp);
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-2 / +13 lines)
Lines 28-33 Link Here
28
    <xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
28
    <xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
29
    <xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='OPACDisplay856uAsImage']"/>
29
    <xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='OPACDisplay856uAsImage']"/>
30
    <xsl:variable name="OPACTrackClicks" select="marc:sysprefs/marc:syspref[@name='TrackClicks']"/>
30
    <xsl:variable name="OPACTrackClicks" select="marc:sysprefs/marc:syspref[@name='TrackClicks']"/>
31
    <xsl:variable name="theme" select="marc:sysprefs/marc:syspref[@name='opacthemes']"/>
31
    <xsl:variable name="biblionumber" select="marc:datafield[@tag=999]/marc:subfield[@code='c']"/>
32
    <xsl:variable name="biblionumber" select="marc:datafield[@tag=999]/marc:subfield[@code='c']"/>
32
    <xsl:variable name="TracingQuotesLeft">
33
    <xsl:variable name="TracingQuotesLeft">
33
      <xsl:choose>
34
      <xsl:choose>
Lines 578-584 Link Here
578
            <xsl:if test="marc:subfield[@code=9]">
579
            <xsl:if test="marc:subfield[@code=9]">
579
                <a class='authlink'>
580
                <a class='authlink'>
580
                    <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
581
                    <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
581
                    <img style="vertical-align:middle" height="15" width="15" src="/opac-tmpl/prog/images/filefind.png"/>
582
                    <xsl:element name="img">
583
                        <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute>
584
                        <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
585
                        <xsl:attribute name="height">15</xsl:attribute>
586
                        <xsl:attribute name="width">15</xsl:attribute>
587
                    </xsl:element>
582
                </a>
588
                </a>
583
            </xsl:if>
589
            </xsl:if>
584
            <xsl:choose>
590
            <xsl:choose>
Lines 1051-1057 Link Here
1051
            <xsl:if test="marc:subfield[@code=9]">
1057
            <xsl:if test="marc:subfield[@code=9]">
1052
                <a class='authlink'>
1058
                <a class='authlink'>
1053
                    <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
1059
                    <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
1054
                    <img style="vertical-align:middle" height="15" width="15" src="/opac-tmpl/prog/images/filefind.png"/>
1060
                    <xsl:element name="img">
1061
                        <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute>
1062
                        <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
1063
                        <xsl:attribute name="height">15</xsl:attribute>
1064
                        <xsl:attribute name="width">15</xsl:attribute>
1065
                    </xsl:element>
1055
                </a>
1066
                </a>
1056
            </xsl:if>
1067
            </xsl:if>
1057
        </xsl:for-each>
1068
        </xsl:for-each>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl (-5 / +25 lines)
Lines 33-38 Link Here
33
          </xsl:choose>
33
          </xsl:choose>
34
        </xsl:variable>
34
        </xsl:variable>
35
        <xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/>
35
        <xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/>
36
        <xsl:variable name="theme" select="marc:sysprefs/marc:syspref[@name='opacthemes']"/>
36
37
37
        <xsl:variable name="leader" select="marc:leader"/>
38
        <xsl:variable name="leader" select="marc:leader"/>
38
        <xsl:variable name="leader6" select="substring($leader,7,1)"/>
39
        <xsl:variable name="leader6" select="substring($leader,7,1)"/>
Lines 105-111 Link Here
105
        <xsl:if test="marc:subfield[@code=9]">
106
        <xsl:if test="marc:subfield[@code=9]">
106
            <a class='authlink'>
107
            <a class='authlink'>
107
                <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
108
                <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
108
                <img style="vertical-align:middle" height="15" width="15" src="/opac-tmpl/prog/images/filefind.png"/>
109
                <xsl:element name="img">
110
                    <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute>
111
                    <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
112
                    <xsl:attribute name="height">15</xsl:attribute>
113
                    <xsl:attribute name="width">15</xsl:attribute>
114
                </xsl:element>
109
            </a>
115
            </a>
110
        </xsl:if>
116
        </xsl:if>
111
        <xsl:choose>
117
        <xsl:choose>
Lines 126-132 Link Here
126
        <xsl:if test="marc:subfield[@code=9]">
132
        <xsl:if test="marc:subfield[@code=9]">
127
            <a class='authlink'>
133
            <a class='authlink'>
128
                <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
134
                <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
129
                <img style="vertical-align:middle" height="15" width="15" src="/opac-tmpl/prog/images/filefind.png"/>
135
                <xsl:element name="img">
136
                    <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute>
137
                    <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
138
                    <xsl:attribute name="height">15</xsl:attribute>
139
                    <xsl:attribute name="width">15</xsl:attribute>
140
                </xsl:element>
130
            </a>
141
            </a>
131
        </xsl:if>
142
        </xsl:if>
132
        <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
143
        <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
Lines 146-152 Link Here
146
        <xsl:if test="marc:subfield[@code=9]">
157
        <xsl:if test="marc:subfield[@code=9]">
147
            <a class='authlink'>
158
            <a class='authlink'>
148
                <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
159
                <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
149
                <img style="vertical-align:middle" height="15" width="15" src="/opac-tmpl/prog/images/filefind.png"/>
160
                <xsl:element name="img">
161
                    <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute>
162
                    <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
163
                    <xsl:attribute name="height">15</xsl:attribute>
164
                    <xsl:attribute name="width">15</xsl:attribute>
165
                </xsl:element>
150
            </a>
166
            </a>
151
        </xsl:if>
167
        </xsl:if>
152
        <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
168
        <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
Lines 424-430 Link Here
424
            <xsl:if test="marc:subfield[@code=9]">
440
            <xsl:if test="marc:subfield[@code=9]">
425
                <a class='authlink'>
441
                <a class='authlink'>
426
                    <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
442
                    <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="marc:subfield[@code=9]"/></xsl:attribute>
427
                    <img style="vertical-align:middle" height="15" width="15" src="/opac-tmpl/prog/images/filefind.png"/>
443
                    <xsl:element name="img">
444
                        <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute>
445
                        <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
446
                        <xsl:attribute name="height">15</xsl:attribute>
447
                        <xsl:attribute name="width">15</xsl:attribute>
448
                    </xsl:element>
428
                </a>
449
                </a>
429
            </xsl:if>
450
            </xsl:if>
430
            <xsl:choose>
451
            <xsl:choose>
431
- 

Return to bug 12655