|
Lines 933-986
Link Here
|
| 933 |
|
933 |
|
| 934 |
<!-- 773 --> |
934 |
<!-- 773 --> |
| 935 |
<xsl:if test="marc:datafield[@tag=773]"> |
935 |
<xsl:if test="marc:datafield[@tag=773]"> |
| 936 |
<xsl:for-each select="marc:datafield[@tag=773]"> |
936 |
<xsl:for-each select="marc:datafield[@tag=773]"> |
| 937 |
<xsl:if test="@ind1 !=1"> |
937 |
<xsl:if test="@ind1 !=1"> |
| 938 |
<span class="results_summary in"><span class="label"> |
938 |
<span class="results_summary in"><span class="label"> |
| 939 |
<xsl:choose> |
939 |
<xsl:choose> |
| 940 |
<xsl:when test="@ind2=' '"> |
940 |
<xsl:when test="@ind2=' '"> |
| 941 |
In: |
941 |
In: |
| 942 |
</xsl:when> |
942 |
</xsl:when> |
| 943 |
<xsl:when test="@ind2=8"> |
943 |
<xsl:when test="@ind2=8"> |
| 944 |
<xsl:if test="marc:subfield[@code='i']"> |
944 |
<xsl:if test="marc:subfield[@code='i']"> |
| 945 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
945 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
| 946 |
</xsl:if> |
946 |
</xsl:if> |
| 947 |
</xsl:when> |
947 |
</xsl:when> |
| 948 |
</xsl:choose> |
948 |
</xsl:choose> |
| 949 |
</span> |
949 |
</span> |
| 950 |
<xsl:variable name="f773"> |
950 |
<xsl:variable name="f773"> |
| 951 |
<xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect"> |
951 |
<xsl:call-template name="chopPunctuation"> |
| 952 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
952 |
<xsl:with-param name="chopString"> |
| 953 |
</xsl:call-template></xsl:with-param></xsl:call-template> |
953 |
<xsl:call-template name="subfieldSelect"> |
| 954 |
</xsl:variable> |
954 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 955 |
<xsl:choose> |
955 |
</xsl:call-template> |
| 956 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
956 |
</xsl:with-param> |
| 957 |
<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> |
957 |
</xsl:call-template> |
| 958 |
<xsl:value-of select="translate($f773, '()', '')"/> |
958 |
</xsl:variable> |
| 959 |
</a> |
959 |
<xsl:choose> |
| 960 |
</xsl:when> |
960 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 961 |
<xsl:when test="marc:subfield[@code='0']"> |
961 |
<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> |
| 962 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/detail.pl?biblionumber=<xsl:value-of select="marc:subfield[@code='0']"/></xsl:attribute> |
962 |
<xsl:value-of select="translate($f773, '()', '')"/> |
| 963 |
<xsl:value-of select="$f773"/> |
963 |
</a> |
| 964 |
</a> |
964 |
</xsl:when> |
| 965 |
</xsl:when> |
965 |
<xsl:when test="marc:subfield[@code='0']"> |
| 966 |
<xsl:otherwise> |
966 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/detail.pl?biblionumber=<xsl:value-of select="marc:subfield[@code='0']"/></xsl:attribute> |
| 967 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f773, '()', '')"/></xsl:attribute> |
967 |
<xsl:value-of select="$f773"/> |
| 968 |
<xsl:value-of select="$f773"/> |
968 |
</a> |
| 969 |
</a> |
969 |
</xsl:when> |
| 970 |
</xsl:otherwise> |
970 |
<xsl:otherwise> |
| 971 |
</xsl:choose> |
971 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f773, '()', '')"/></xsl:attribute> |
| 972 |
<xsl:if test="marc:subfield[@code='g']"> |
972 |
<xsl:value-of select="$f773"/> |
| 973 |
<xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='g']"/> |
973 |
</a> |
| 974 |
</xsl:if> |
974 |
</xsl:otherwise> |
| 975 |
|
975 |
</xsl:choose> |
| 976 |
</span> |
976 |
<xsl:if test="marc:subfield[@code='g']"> |
|
|
977 |
<xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='g']"/> |
| 978 |
</xsl:if> |
| 979 |
</span> |
| 977 |
|
980 |
|
| 978 |
<xsl:if test="marc:subfield[@code='n']"> |
981 |
<xsl:if test="marc:subfield[@code='n']"> |
| 979 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
982 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
| 980 |
</xsl:if> |
983 |
</xsl:if> |
| 981 |
|
984 |
|
| 982 |
</xsl:if> |
985 |
</xsl:if> |
| 983 |
</xsl:for-each> |
986 |
</xsl:for-each> |
| 984 |
</xsl:if> |
987 |
</xsl:if> |
| 985 |
|
988 |
|
| 986 |
<xsl:if test="marc:datafield[@tag=502]"> |
989 |
<xsl:if test="marc:datafield[@tag=502]"> |