Lines 97-109
Link Here
|
97 |
</xsl:choose> |
97 |
</xsl:choose> |
98 |
</xsl:variable> |
98 |
</xsl:variable> |
99 |
|
99 |
|
100 |
<!-- Indicate if record is suppressed in OPAC --> |
|
|
101 |
<xsl:if test="$OpacSuppression = 1"> |
102 |
<xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = '1']"> |
103 |
<span class="results_summary suppressed_opac">Suppressed in OPAC</span> |
104 |
</xsl:if> |
105 |
</xsl:if> |
106 |
|
107 |
<!-- Title Statement --> |
100 |
<!-- Title Statement --> |
108 |
<!-- Alternate Graphic Representation (MARC 880) --> |
101 |
<!-- Alternate Graphic Representation (MARC 880) --> |
109 |
<xsl:if test="$display880"> |
102 |
<xsl:if test="$display880"> |
Lines 1428-1438
Link Here
|
1428 |
</xsl:for-each> |
1421 |
</xsl:for-each> |
1429 |
</xsl:if> |
1422 |
</xsl:if> |
1430 |
|
1423 |
|
1431 |
<xsl:if test="$OPACBaseURL!=''"> |
1424 |
<!-- Indicate if record is suppressed in OPAC --> |
1432 |
<span class="results_summary opac_view"><span class="label">OPAC view: </span> |
1425 |
<xsl:choose> |
1433 |
<a><xsl:attribute name="href"><xsl:value-of select="$OPACBaseURL"/>/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of select="str:encode-uri(marc:datafield[@tag=999]/marc:subfield[@code='c'], true())"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>Open in new window</a>. |
1426 |
<xsl:when test="$OpacSuppression = 1 and marc:datafield[@tag=942][marc:subfield[@code='n'] = '1']"> |
1434 |
</span> |
1427 |
<span class="results_summary suppressed_opac"> |
1435 |
</xsl:if> |
1428 |
<span class="label">OPAC view: </span> |
|
|
1429 |
Suppressed in OPAC |
1430 |
</span> |
1431 |
</xsl:when> |
1432 |
<xsl:otherwise> |
1433 |
<xsl:if test="$OPACBaseURL!=''"> |
1434 |
<span class="results_summary opac_view"><span class="label">OPAC view: </span> |
1435 |
<a><xsl:attribute name="href"><xsl:value-of select="$OPACBaseURL"/>/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of select="str:encode-uri(marc:datafield[@tag=999]/marc:subfield[@code='c'], true())"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>Open in new window</a>. |
1436 |
</span> |
1437 |
</xsl:if> |
1438 |
</xsl:otherwise> |
1439 |
</xsl:choose> |
1440 |
|
1441 |
|
1436 |
|
1442 |
|
1437 |
</xsl:template> |
1443 |
</xsl:template> |
1438 |
|
1444 |
|