|
Lines 220-226
Link Here
|
| 220 |
</xsl:for-each> |
220 |
</xsl:for-each> |
| 221 |
<!-- 490 Series traced, Ind1 = 1 --> |
221 |
<!-- 490 Series traced, Ind1 = 1 --> |
| 222 |
<xsl:if test="marc:datafield[@tag=490][@ind1=1]"> |
222 |
<xsl:if test="marc:datafield[@tag=490][@ind1=1]"> |
| 223 |
<xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811 or @tag=830]"> |
223 |
<xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811]"> |
| 224 |
<xsl:choose> |
224 |
<xsl:choose> |
| 225 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
225 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 226 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute> |
226 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=rcn:<xsl:value-of select="str:encode-uri(marc:subfield[@code='w'], true())"/></xsl:attribute> |
|
Lines 250-255
Link Here
|
| 250 |
<xsl:value-of select="marc:subfield[@code='v']" /> |
250 |
<xsl:value-of select="marc:subfield[@code='v']" /> |
| 251 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
251 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
| 252 |
</xsl:for-each> |
252 |
</xsl:for-each> |
|
|
253 |
|
| 254 |
<xsl:for-each select="marc:datafield[@tag=830]"> |
| 255 |
<xsl:choose> |
| 256 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 257 |
<a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}"> |
| 258 |
<xsl:call-template name="chopPunctuation"> |
| 259 |
<xsl:with-param name="chopString"> |
| 260 |
<xsl:call-template name="subfieldSelect"> |
| 261 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 262 |
</xsl:call-template> |
| 263 |
</xsl:with-param> |
| 264 |
</xsl:call-template> |
| 265 |
</a> |
| 266 |
</xsl:when> |
| 267 |
<xsl:otherwise> |
| 268 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
| 269 |
<xsl:call-template name="chopPunctuation"> |
| 270 |
<xsl:with-param name="chopString"> |
| 271 |
<xsl:call-template name="subfieldSelect"> |
| 272 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 273 |
</xsl:call-template> |
| 274 |
</xsl:with-param> |
| 275 |
</xsl:call-template> |
| 276 |
</a> |
| 277 |
<xsl:call-template name="part"/> |
| 278 |
</xsl:otherwise> |
| 279 |
</xsl:choose> |
| 280 |
<xsl:text>: </xsl:text> |
| 281 |
<xsl:value-of select="marc:subfield[@code='v']" /> |
| 282 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
| 283 |
</xsl:for-each> |
| 253 |
</xsl:if> |
284 |
</xsl:if> |
| 254 |
|
285 |
|
| 255 |
</span> |
286 |
</span> |