Lines 22-27
Link Here
|
22 |
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/> |
22 |
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/> |
23 |
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/> |
23 |
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/> |
24 |
<xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/> |
24 |
<xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/> |
|
|
25 |
<xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='Display856uAsImage']"/> |
25 |
<xsl:variable name="leader" select="marc:leader"/> |
26 |
<xsl:variable name="leader" select="marc:leader"/> |
26 |
<xsl:variable name="leader6" select="substring($leader,7,1)"/> |
27 |
<xsl:variable name="leader6" select="substring($leader,7,1)"/> |
27 |
<xsl:variable name="leader7" select="substring($leader,8,1)"/> |
28 |
<xsl:variable name="leader7" select="substring($leader,8,1)"/> |
Lines 905-910
Link Here
|
905 |
<xsl:for-each select="marc:datafield[@tag=856]"> |
906 |
<xsl:for-each select="marc:datafield[@tag=856]"> |
906 |
<xsl:if test="$OPACURLOpenInNewWindow='0'"> |
907 |
<xsl:if test="$OPACURLOpenInNewWindow='0'"> |
907 |
<a><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute> |
908 |
<a><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute> |
|
|
909 |
<xsl:if test="$Show856uAsImage='Results' or $Show856uAsImage='Both'"> |
910 |
<xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute><xsl:attribute name="height">100</xsl:attribute></xsl:element> |
911 |
</xsl:if> |
908 |
<xsl:choose> |
912 |
<xsl:choose> |
909 |
<xsl:when test="marc:subfield[@code='y' or @code='3' or @code='z']"> |
913 |
<xsl:when test="marc:subfield[@code='y' or @code='3' or @code='z']"> |
910 |
<xsl:call-template name="subfieldSelect"> |
914 |
<xsl:call-template name="subfieldSelect"> |
Lines 916-921
Link Here
|
916 |
<xsl:when test="$URLLinkText!=''"> |
920 |
<xsl:when test="$URLLinkText!=''"> |
917 |
<xsl:value-of select="$URLLinkText"/> |
921 |
<xsl:value-of select="$URLLinkText"/> |
918 |
</xsl:when> |
922 |
</xsl:when> |
|
|
923 |
<xsl:when test="$Show856uAsImage='Results' or $Show856uAsImage='Both'"> |
924 |
<xsl:text></xsl:text> |
925 |
</xsl:when> |
919 |
<xsl:otherwise> |
926 |
<xsl:otherwise> |
920 |
<xsl:text>Click here to access online</xsl:text> |
927 |
<xsl:text>Click here to access online</xsl:text> |
921 |
</xsl:otherwise> |
928 |
</xsl:otherwise> |
Lines 926-931
Link Here
|
926 |
</xsl:if> |
933 |
</xsl:if> |
927 |
<xsl:if test="$OPACURLOpenInNewWindow='1'"> |
934 |
<xsl:if test="$OPACURLOpenInNewWindow='1'"> |
928 |
<a target='_blank'><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute> |
935 |
<a target='_blank'><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute> |
|
|
936 |
<xsl:if test="$Show856uAsImage='Results' or $Show856uAsImage='Both'"> |
937 |
<xsl:element name="img"><xsl:attribute name="src"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute><xsl:attribute name="height">100</xsl:attribute></xsl:element> |
938 |
</xsl:if> |
929 |
<xsl:choose> |
939 |
<xsl:choose> |
930 |
<xsl:when test="marc:subfield[@code='y' or @code='3' or @code='z']"> |
940 |
<xsl:when test="marc:subfield[@code='y' or @code='3' or @code='z']"> |
931 |
<xsl:call-template name="subfieldSelect"> |
941 |
<xsl:call-template name="subfieldSelect"> |
Lines 937-942
Link Here
|
937 |
<xsl:when test="$URLLinkText!=''"> |
947 |
<xsl:when test="$URLLinkText!=''"> |
938 |
<xsl:value-of select="$URLLinkText"/> |
948 |
<xsl:value-of select="$URLLinkText"/> |
939 |
</xsl:when> |
949 |
</xsl:when> |
|
|
950 |
<xsl:when test="$Show856uAsImage='Results' or $Show856uAsImage='Both'"> |
951 |
<xsl:text></xsl:text> |
952 |
</xsl:when> |
940 |
<xsl:otherwise> |
953 |
<xsl:otherwise> |
941 |
<xsl:text>Click here to access online</xsl:text> |
954 |
<xsl:text>Click here to access online</xsl:text> |
942 |
</xsl:otherwise> |
955 |
</xsl:otherwise> |
943 |
- |
|
|