Lines 918-923
Link Here
|
918 |
</span> |
918 |
</span> |
919 |
</xsl:if> |
919 |
</xsl:if> |
920 |
|
920 |
|
|
|
921 |
<!-- MARC21 777 - Issued With Entry --> |
922 |
<xsl:if test="marc:datafield[@tag=777]"> |
923 |
<xsl:for-each select="marc:datafield[@tag=777]"> |
924 |
<xsl:if test="@ind1 != 1"> |
925 |
<span class="results_summary issued_with"> |
926 |
<span class="label"> |
927 |
<xsl:choose> |
928 |
<xsl:when test="@ind2=8 and marc:subfield[@code='i']"> |
929 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
930 |
</xsl:when> |
931 |
<xsl:otherwise> |
932 |
<xsl:text>Issued with:</xsl:text> |
933 |
</xsl:otherwise> |
934 |
</xsl:choose> |
935 |
<xsl:text> </xsl:text> |
936 |
</span> |
937 |
<xsl:variable name="f777"> |
938 |
<xsl:call-template name="chopPunctuation"> |
939 |
<xsl:with-param name="chopString"> |
940 |
<xsl:call-template name="subfieldSelect"> |
941 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
942 |
</xsl:call-template> |
943 |
</xsl:with-param> |
944 |
</xsl:call-template> |
945 |
</xsl:variable> |
946 |
<xsl:choose> |
947 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
948 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template></xsl:attribute> |
949 |
<xsl:value-of select="translate($f777, '()', '')"/> |
950 |
</a> |
951 |
</xsl:when> |
952 |
<xsl:otherwise> |
953 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(marc:subfield[@code='t'], true())"/></xsl:attribute> |
954 |
<xsl:value-of select="$f777"/> |
955 |
</a> |
956 |
</xsl:otherwise> |
957 |
</xsl:choose> |
958 |
<xsl:if test="marc:subfield[@code='g']"> |
959 |
<xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='g']"/> |
960 |
</xsl:if> |
961 |
</span> |
962 |
<xsl:if test="marc:subfield[@code='n']"> |
963 |
<xsl:text> </xsl:text><span class="results_summary in_note"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
964 |
</xsl:if> |
965 |
</xsl:if> |
966 |
</xsl:for-each> |
967 |
</xsl:if> |
968 |
|
921 |
<!-- DDC classification --> |
969 |
<!-- DDC classification --> |
922 |
<xsl:if test="marc:datafield[@tag=082]"> |
970 |
<xsl:if test="marc:datafield[@tag=082]"> |
923 |
<span class="results_summary ddc"> |
971 |
<span class="results_summary ddc"> |