Lines 176-201
Link Here
|
176 |
</xsl:if> |
176 |
</xsl:if> |
177 |
|
177 |
|
178 |
<!-- Series --> |
178 |
<!-- Series --> |
179 |
<xsl:if test="marc:datafield[@tag=440 or @tag=490]"> |
179 |
<xsl:if test="marc:datafield[@tag=440 or @tag=490 or @tag=800 or @tag=810 or @tag=811 or @tag=830]"> |
180 |
<span class="results_summary series"><span class="label">Series: </span> |
180 |
<span class="results_summary series"><span class="label">Series: </span> |
181 |
<!-- 440 --> |
181 |
<!-- 440 --> |
182 |
<xsl:for-each select="marc:datafield[@tag=440]"> |
182 |
<xsl:for-each select="marc:datafield[@tag=440]"> |
183 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
183 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
184 |
<xsl:call-template name="chopPunctuation"> |
184 |
<xsl:call-template name="chopPunctuation"> |
185 |
<xsl:with-param name="chopString"> |
185 |
<xsl:with-param name="chopString"> |
186 |
<xsl:call-template name="subfieldSelect"> |
186 |
<xsl:call-template name="subfieldSelect"> |
187 |
<xsl:with-param name="codes">av</xsl:with-param> |
187 |
<xsl:with-param name="codes">av</xsl:with-param> |
188 |
</xsl:call-template> |
188 |
</xsl:call-template> |
189 |
</xsl:with-param> |
189 |
</xsl:with-param> |
190 |
</xsl:call-template> |
190 |
</xsl:call-template> |
191 |
</a> |
191 |
</a> |
192 |
<xsl:call-template name="part"/> |
192 |
<xsl:call-template name="part"/> |
193 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text> ; </xsl:text></xsl:otherwise></xsl:choose> |
193 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose> |
194 |
</xsl:for-each> |
194 |
</xsl:for-each> |
195 |
|
195 |
|
196 |
<!-- 490 Series not traced, Ind1 = 0 --> |
196 |
<!-- 490 Series not traced, Ind1 = 0 --> |
197 |
<xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]"> |
197 |
<xsl:for-each select="marc:datafield[@tag=490][@ind1!=1]"> |
198 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
198 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
199 |
<xsl:call-template name="chopPunctuation"> |
199 |
<xsl:call-template name="chopPunctuation"> |
200 |
<xsl:with-param name="chopString"> |
200 |
<xsl:with-param name="chopString"> |
201 |
<xsl:call-template name="subfieldSelect"> |
201 |
<xsl:call-template name="subfieldSelect"> |
Lines 203-247
Link Here
|
203 |
</xsl:call-template> |
203 |
</xsl:call-template> |
204 |
</xsl:with-param> |
204 |
</xsl:with-param> |
205 |
</xsl:call-template> |
205 |
</xsl:call-template> |
206 |
</a> |
206 |
</a> |
207 |
<xsl:call-template name="part"/> |
207 |
<xsl:call-template name="part"/> |
208 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
208 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose> |
209 |
</xsl:for-each> |
209 |
</xsl:for-each> |
210 |
<!-- 490 Series traced, Ind1 = 1 --> |
210 |
|
211 |
<xsl:if test="marc:datafield[@tag=490][@ind1=1]"> |
211 |
<!-- 800,810,811,830 always display. --> |
212 |
<xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811 or @tag=830]"> |
212 |
<xsl:for-each select="marc:datafield[@tag=800 or @tag=810 or @tag=811 or @tag=830]"> |
213 |
<xsl:choose> |
213 |
<xsl:choose> |
214 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
214 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
215 |
<a href="/cgi-bin/koha/catalogue/search.pl?q=rcn:{marc:subfield[@code='w']}"> |
215 |
<a href="/cgi-bin/koha/opac-search.pl?q=rcn:{marc:subfield[@code='w']}"> |
216 |
<xsl:call-template name="chopPunctuation"> |
216 |
<xsl:call-template name="chopPunctuation"> |
217 |
<xsl:with-param name="chopString"> |
217 |
<xsl:with-param name="chopString"> |
218 |
<xsl:call-template name="subfieldSelect"> |
218 |
<xsl:call-template name="subfieldSelect"> |
219 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
219 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
220 |
</xsl:call-template> |
220 |
</xsl:call-template> |
221 |
</xsl:with-param> |
221 |
</xsl:with-param> |
222 |
</xsl:call-template> |
222 |
</xsl:call-template> |
223 |
</a> |
223 |
</a> |
224 |
</xsl:when> |
224 |
</xsl:when> |
225 |
<xsl:otherwise> |
225 |
<xsl:otherwise> |
226 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
226 |
<a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=se,phr:"<xsl:value-of select="marc:subfield[@code='a']"/>"</xsl:attribute> |
227 |
<xsl:call-template name="chopPunctuation"> |
227 |
<xsl:call-template name="chopPunctuation"> |
228 |
<xsl:with-param name="chopString"> |
228 |
<xsl:with-param name="chopString"> |
229 |
<xsl:call-template name="subfieldSelect"> |
229 |
<xsl:call-template name="subfieldSelect"> |
230 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
230 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
231 |
</xsl:call-template> |
231 |
</xsl:call-template> |
232 |
</xsl:with-param> |
232 |
</xsl:with-param> |
233 |
</xsl:call-template> |
233 |
</xsl:call-template> |
234 |
</a> |
234 |
</a> |
235 |
<xsl:call-template name="part"/> |
235 |
<xsl:call-template name="part"/> |
236 |
</xsl:otherwise> |
236 |
</xsl:otherwise> |
237 |
</xsl:choose> |
237 |
</xsl:choose> |
238 |
<xsl:text>: </xsl:text> |
238 |
<xsl:if test="marc:subfield[@code='v']"> |
239 |
<xsl:value-of select="marc:subfield[@code='v']" /> |
239 |
<xsl:text> ; </xsl:text> |
240 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose> |
240 |
<xsl:value-of select="marc:subfield[@code='v']" /> |
241 |
</xsl:for-each> |
241 |
</xsl:if> |
242 |
</xsl:if> |
242 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose> |
243 |
|
243 |
</xsl:for-each> |
244 |
</span> |
244 |
</span> |
245 |
</xsl:if> |
245 |
</xsl:if> |
246 |
|
246 |
|
247 |
<!-- Analytics --> |
247 |
<!-- Analytics --> |