|
Lines 968-1021
Link Here
|
| 968 |
|
968 |
|
| 969 |
<!-- 773 --> |
969 |
<!-- 773 --> |
| 970 |
<xsl:if test="marc:datafield[@tag=773]"> |
970 |
<xsl:if test="marc:datafield[@tag=773]"> |
| 971 |
<xsl:for-each select="marc:datafield[@tag=773]"> |
971 |
<xsl:for-each select="marc:datafield[@tag=773]"> |
| 972 |
<xsl:if test="@ind1 !=1"> |
972 |
<xsl:if test="@ind1 !=1"> |
| 973 |
<span class="results_summary in"><span class="label"> |
973 |
<span class="results_summary in"><span class="label"> |
| 974 |
<xsl:choose> |
974 |
<xsl:choose> |
| 975 |
<xsl:when test="@ind2=' '"> |
975 |
<xsl:when test="@ind2=' '"> |
| 976 |
In: |
976 |
In: |
| 977 |
</xsl:when> |
977 |
</xsl:when> |
| 978 |
<xsl:when test="@ind2=8"> |
978 |
<xsl:when test="@ind2=8"> |
| 979 |
<xsl:if test="marc:subfield[@code='i']"> |
979 |
<xsl:if test="marc:subfield[@code='i']"> |
| 980 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
980 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
| 981 |
</xsl:if> |
981 |
</xsl:if> |
| 982 |
</xsl:when> |
982 |
</xsl:when> |
| 983 |
</xsl:choose> |
983 |
</xsl:choose> |
| 984 |
</span> |
984 |
</span> |
| 985 |
<xsl:variable name="f773"> |
985 |
<xsl:variable name="f773"> |
| 986 |
<xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect"> |
986 |
<xsl:call-template name="chopPunctuation"> |
| 987 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
987 |
<xsl:with-param name="chopString"> |
| 988 |
</xsl:call-template></xsl:with-param></xsl:call-template> |
988 |
<xsl:call-template name="subfieldSelect"> |
| 989 |
</xsl:variable> |
989 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 990 |
<xsl:choose> |
990 |
</xsl:call-template> |
| 991 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
991 |
</xsl:with-param> |
| 992 |
<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> |
992 |
</xsl:call-template> |
| 993 |
<xsl:value-of select="translate($f773, '()', '')"/> |
993 |
</xsl:variable> |
| 994 |
</a> |
994 |
<xsl:choose> |
| 995 |
</xsl:when> |
995 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 996 |
<xsl:when test="marc:subfield[@code='0']"> |
996 |
<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> |
| 997 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/detail.pl?biblionumber=<xsl:value-of select="marc:subfield[@code='0']"/></xsl:attribute> |
997 |
<xsl:value-of select="translate($f773, '()', '')"/> |
| 998 |
<xsl:value-of select="$f773"/> |
998 |
</a> |
| 999 |
</a> |
999 |
</xsl:when> |
| 1000 |
</xsl:when> |
1000 |
<xsl:when test="marc:subfield[@code='0']"> |
| 1001 |
<xsl:otherwise> |
1001 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/detail.pl?biblionumber=<xsl:value-of select="marc:subfield[@code='0']"/></xsl:attribute> |
| 1002 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f773, '()', '')"/></xsl:attribute> |
1002 |
<xsl:value-of select="$f773"/> |
| 1003 |
<xsl:value-of select="$f773"/> |
1003 |
</a> |
| 1004 |
</a> |
1004 |
</xsl:when> |
| 1005 |
</xsl:otherwise> |
1005 |
<xsl:otherwise> |
| 1006 |
</xsl:choose> |
1006 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="translate($f773, '()', '')"/></xsl:attribute> |
| 1007 |
<xsl:if test="marc:subfield[@code='g']"> |
1007 |
<xsl:value-of select="$f773"/> |
| 1008 |
<xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='g']"/> |
1008 |
</a> |
| 1009 |
</xsl:if> |
1009 |
</xsl:otherwise> |
| 1010 |
|
1010 |
</xsl:choose> |
| 1011 |
</span> |
1011 |
<xsl:if test="marc:subfield[@code='g']"> |
|
|
1012 |
<xsl:text> </xsl:text><xsl:value-of select="marc:subfield[@code='g']"/> |
| 1013 |
</xsl:if> |
| 1014 |
</span> |
| 1012 |
|
1015 |
|
| 1013 |
<xsl:if test="marc:subfield[@code='n']"> |
1016 |
<xsl:if test="marc:subfield[@code='n']"> |
| 1014 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
1017 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
| 1015 |
</xsl:if> |
1018 |
</xsl:if> |
| 1016 |
|
1019 |
|
| 1017 |
</xsl:if> |
1020 |
</xsl:if> |
| 1018 |
</xsl:for-each> |
1021 |
</xsl:for-each> |
| 1019 |
</xsl:if> |
1022 |
</xsl:if> |
| 1020 |
|
1023 |
|
| 1021 |
<xsl:if test="marc:datafield[@tag=502]"> |
1024 |
<xsl:if test="marc:datafield[@tag=502]"> |