Lines 326-374
Link Here
|
326 |
<span class="results_summary publisher"><span class="label">Publication details: </span> |
326 |
<span class="results_summary publisher"><span class="label">Publication details: </span> |
327 |
<xsl:for-each select="marc:datafield[@tag=260]"> |
327 |
<xsl:for-each select="marc:datafield[@tag=260]"> |
328 |
<xsl:for-each select="marc:subfield"> |
328 |
<xsl:for-each select="marc:subfield"> |
329 |
<xsl:if test="@code='a'"> |
329 |
<xsl:if test="@code='a'"> |
330 |
<span property="publisher" typeof="Organization"> |
330 |
<span class="publisher_place" property="location"> |
331 |
<span class="publisher_place" property="location"> |
331 |
<a> |
332 |
<a> |
332 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=pl:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute> |
333 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=pl:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute> |
333 |
<xsl:value-of select="current()"/> |
334 |
<xsl:value-of select="current()"/> |
334 |
</a> |
335 |
</a> |
335 |
</span> |
|
|
336 |
</xsl:if> |
337 |
<xsl:if test="@code='b'"> |
338 |
<span property="publisher" typeof="Organization"> |
339 |
<span property="name" class="publisher_name"> |
340 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute> |
341 |
<xsl:value-of select="current()"/> |
342 |
</a> |
343 |
</span> |
344 |
</span> |
345 |
</xsl:if> |
346 |
<xsl:if test="@code='c'"> |
347 |
<span property="datePublished" class="publisher_date"> |
348 |
<a> |
349 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=copydate:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute> |
350 |
<xsl:value-of select="current()"/> |
351 |
</a> |
352 |
</span> |
353 |
</xsl:if> |
354 |
<xsl:if test="@code='g'"> |
355 |
<span property="datePublished" class="publisher_date"> |
356 |
<xsl:call-template name="chopPunctuation"> |
357 |
<xsl:with-param name="chopString"> |
358 |
<xsl:value-of select="current()"/> |
359 |
</xsl:with-param> |
360 |
</xsl:call-template> |
336 |
</span> |
361 |
</span> |
337 |
</span> |
362 |
</xsl:if> |
338 |
<xsl:if test="position() != last()"> |
363 |
<xsl:if test="position() != last()"> |
339 |
<xsl:text> </xsl:text> |
364 |
<xsl:text> </xsl:text> |
340 |
</xsl:if> |
365 |
</xsl:if> |
341 |
<xsl:text> </xsl:text> |
|
|
342 |
</xsl:if> |
343 |
<xsl:if test="@code='b'"> |
344 |
<span property="name" class="publisher_name"> |
345 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(current(), true())"/></xsl:attribute> |
346 |
<xsl:value-of select="current()"/> |
347 |
</a> |
348 |
</span> |
349 |
<xsl:text> </xsl:text> |
350 |
</xsl:if> |
351 |
<xsl:if test="@code='c'"> |
352 |
<span property="datePublished" class="publisher_date"> |
353 |
<a> |
354 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=copydate:"<xsl:value-of select="str:encode-uri(current(), true())"/>"</xsl:attribute> |
355 |
<xsl:value-of select="current()"/> |
356 |
</a> |
357 |
<xsl:if test="position() != last()"> |
358 |
<xsl:text> </xsl:text> |
359 |
</xsl:if> |
360 |
</span> |
361 |
<xsl:text> </xsl:text> |
362 |
</xsl:if> |
363 |
<xsl:if test="@code='g'"> |
364 |
<span property="datePublished" class="publisher_date"> |
365 |
<xsl:call-template name="chopPunctuation"> |
366 |
<xsl:with-param name="chopString"> |
367 |
<xsl:value-of select="current()"/> |
368 |
</xsl:with-param> |
369 |
</xsl:call-template> |
370 |
</span> |
371 |
</xsl:if> |
372 |
</xsl:for-each> |
366 |
</xsl:for-each> |
373 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
367 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
374 |
</xsl:for-each> |
368 |
</xsl:for-each> |
375 |
- |
|
|