Lines 957-963
Link Here
|
957 |
<xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute> |
957 |
<xsl:attribute name="href">/cgi-bin/koha/tracklinks.pl?uri=<xsl:value-of select="str:encode-uri(marc:subfield[@code='u'], true())"/>&biblionumber=<xsl:value-of select="$biblionumber"/></xsl:attribute> |
958 |
</xsl:when> |
958 |
</xsl:when> |
959 |
<xsl:otherwise> |
959 |
<xsl:otherwise> |
960 |
<xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute> |
960 |
<xsl:attribute name="href"> |
|
|
961 |
<xsl:if test="not(contains(marc:subfield[@code='u'],'://'))"> |
962 |
<xsl:choose> |
963 |
<xsl:when test="@ind1=7"> |
964 |
<xsl:value-of select="marc:subfield[@code='2']"/><xsl:text>://</xsl:text> |
965 |
</xsl:when> |
966 |
<xsl:when test="@ind1=1"> |
967 |
<xsl:text>ftp://</xsl:text> |
968 |
</xsl:when> |
969 |
<xsl:otherwise> |
970 |
<xsl:text>http://</xsl:text> |
971 |
</xsl:otherwise> |
972 |
</xsl:choose> |
973 |
</xsl:if> |
974 |
<xsl:value-of select="marc:subfield[@code='u']"/> |
975 |
</xsl:attribute> |
961 |
</xsl:otherwise> |
976 |
</xsl:otherwise> |
962 |
</xsl:choose> |
977 |
</xsl:choose> |
963 |
<xsl:if test="$OPACURLOpenInNewWindow='1'"> |
978 |
<xsl:if test="$OPACURLOpenInNewWindow='1'"> |