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 (-3 / +19 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 589-595 Link Here
589
            </xsl:for-each>
595
            </xsl:for-each>
590
            </span>
596
            </span>
591
        </xsl:if>
597
        </xsl:if>
592
598
                    <xsl:element name="img">
599
                        <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute>
600
                        <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
601
                        <xsl:attribute name="height">15</xsl:attribute>
602
                        <xsl:attribute name="width">15</xsl:attribute>
603
                    </xsl:element>
593
<!-- Image processing code added here, takes precedence over text links including y3z text   -->
604
<!-- Image processing code added here, takes precedence over text links including y3z text   -->
594
        <xsl:if test="marc:datafield[@tag=856]">
605
        <xsl:if test="marc:datafield[@tag=856]">
595
        <span class="results_summary online_resources"><span class="label">Online resources: </span>
606
        <span class="results_summary online_resources"><span class="label">Online resources: </span>
Lines 1051-1057 Link Here
1051
            <xsl:if test="marc:subfield[@code=9]">
1062
            <xsl:if test="marc:subfield[@code=9]">
1052
                <a class='authlink'>
1063
                <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>
1064
                    <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"/>
1065
                    <xsl:element name="img">
1066
                        <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/filefind.png</xsl:attribute>
1067
                        <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
1068
                        <xsl:attribute name="height">15</xsl:attribute>
1069
                        <xsl:attribute name="width">15</xsl:attribute>
1070
                    </xsl:element>
1055
                </a>
1071
                </a>
1056
            </xsl:if>
1072
            </xsl:if>
1057
        </xsl:for-each>
1073
        </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