|
Lines 906-912
Link Here
|
| 906 |
<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> |
906 |
<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> |
| 907 |
</xsl:when> |
907 |
</xsl:when> |
| 908 |
<xsl:otherwise> |
908 |
<xsl:otherwise> |
| 909 |
<xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute> |
909 |
<xsl:attribute name="href"> |
|
|
910 |
<xsl:if test="not(contains(marc:subfield[@code='u'],'://'))"> |
| 911 |
<xsl:choose> |
| 912 |
<xsl:when test="@ind1=7"> |
| 913 |
<xsl:value-of select="marc:subfield[@code='2']"/><xsl:text>://</xsl:text> |
| 914 |
</xsl:when> |
| 915 |
<xsl:when test="@ind1=1"> |
| 916 |
<xsl:text>ftp://</xsl:text> |
| 917 |
</xsl:when> |
| 918 |
<xsl:otherwise> |
| 919 |
<xsl:text>http://</xsl:text> |
| 920 |
</xsl:otherwise> |
| 921 |
</xsl:choose> |
| 922 |
</xsl:if> |
| 923 |
<xsl:value-of select="marc:subfield[@code='u']"/> |
| 924 |
</xsl:attribute> |
| 910 |
</xsl:otherwise> |
925 |
</xsl:otherwise> |
| 911 |
</xsl:choose> |
926 |
</xsl:choose> |
| 912 |
<xsl:if test="$OPACURLOpenInNewWindow='1'"> |
927 |
<xsl:if test="$OPACURLOpenInNewWindow='1'"> |