Lines 1258-1263
Link Here
|
1258 |
</span> |
1258 |
</span> |
1259 |
</xsl:if> |
1259 |
</xsl:if> |
1260 |
|
1260 |
|
|
|
1261 |
<!-- 770 - Supplement/Special issue entry --> |
1262 |
<xsl:if test="marc:datafield[@tag=770]"> |
1263 |
<span class="results_summary supplement"><span class="label">Supplement: </span> |
1264 |
<xsl:for-each select="marc:datafield[@tag=770]"> |
1265 |
<xsl:if test="marc:subfield[@code='i']"> |
1266 |
<span class="770_rel_info"> |
1267 |
<xsl:call-template name="subfieldSelect"> |
1268 |
<xsl:with-param name="codes">i</xsl:with-param> |
1269 |
</xsl:call-template> |
1270 |
<xsl:text> </xsl:text> |
1271 |
</span> |
1272 |
</xsl:if> |
1273 |
<a> |
1274 |
<xsl:choose> |
1275 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
1276 |
<xsl:attribute name="href"> |
1277 |
/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template> |
1278 |
</xsl:attribute> |
1279 |
</xsl:when> |
1280 |
<xsl:otherwise> |
1281 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:subfield[@code='t'], '()', ''),true())"/></xsl:attribute> |
1282 |
</xsl:otherwise> |
1283 |
</xsl:choose> |
1284 |
<xsl:choose> |
1285 |
<xsl:when test="marc:subfield[@code='a'] or marc:subfield[@code='t']"> |
1286 |
<xsl:call-template name="subfieldSelect"> |
1287 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
1288 |
</xsl:call-template> |
1289 |
</xsl:when> |
1290 |
</xsl:choose> |
1291 |
</a> |
1292 |
<xsl:text> </xsl:text> |
1293 |
<xsl:call-template name="subfieldSelect"> |
1294 |
<xsl:with-param name="codes">bdghkmnr9usxyz</xsl:with-param> |
1295 |
</xsl:call-template> |
1296 |
<xsl:choose> |
1297 |
<xsl:when test="position()=last()"></xsl:when> |
1298 |
<xsl:otherwise><span class="separator"> | </span></xsl:otherwise> |
1299 |
</xsl:choose> |
1300 |
</xsl:for-each> |
1301 |
</span> |
1302 |
</xsl:if> |
1303 |
|
1304 |
<!-- 772 - Supplement parent entry --> |
1305 |
<xsl:if test="marc:datafield[@tag=772]"> |
1306 |
<span class="results_summary supplement_parent"><span class="label">Supplement to: </span> |
1307 |
<xsl:for-each select="marc:datafield[@tag=772]"> |
1308 |
<xsl:if test="marc:subfield[@code='i']"> |
1309 |
<span class="772_rel_info"> |
1310 |
<xsl:call-template name="subfieldSelect"> |
1311 |
<xsl:with-param name="codes">i</xsl:with-param> |
1312 |
</xsl:call-template> |
1313 |
<xsl:text> </xsl:text> |
1314 |
</span> |
1315 |
</xsl:if> |
1316 |
<a> |
1317 |
<xsl:choose> |
1318 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
1319 |
<xsl:attribute name="href"> |
1320 |
/cgi-bin/koha/opac-search.pl?q=Control-number:<xsl:call-template name="extractControlNumber"><xsl:with-param name="subfieldW" select="marc:subfield[@code='w']"/></xsl:call-template> |
1321 |
</xsl:attribute> |
1322 |
</xsl:when> |
1323 |
<xsl:otherwise> |
1324 |
<xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate(marc:subfield[@code='t'], '()', ''),true())"/></xsl:attribute> |
1325 |
</xsl:otherwise> |
1326 |
</xsl:choose> |
1327 |
<xsl:choose> |
1328 |
<xsl:when test="marc:subfield[@code='a'] or marc:subfield[@code='t']"> |
1329 |
<xsl:call-template name="subfieldSelect"> |
1330 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
1331 |
</xsl:call-template> |
1332 |
</xsl:when> |
1333 |
</xsl:choose> |
1334 |
</a> |
1335 |
<xsl:call-template name="subfieldSelect"> |
1336 |
<xsl:with-param name="codes">bdghkmnr9usxyz</xsl:with-param> |
1337 |
</xsl:call-template> |
1338 |
<xsl:choose> |
1339 |
<xsl:when test="position()=last()"></xsl:when> |
1340 |
<xsl:otherwise><span class="separator"> | </span></xsl:otherwise> |
1341 |
</xsl:choose> |
1342 |
</xsl:for-each> |
1343 |
</span> |
1344 |
</xsl:if> |
1345 |
|
1261 |
<!-- 775 Other Edition --> |
1346 |
<!-- 775 Other Edition --> |
1262 |
<xsl:if test="marc:datafield[@tag=775]"> |
1347 |
<xsl:if test="marc:datafield[@tag=775]"> |
1263 |
<span class="results_summary other_editions"><span class="label">Other editions: </span> |
1348 |
<span class="results_summary other_editions"><span class="label">Other editions: </span> |
1264 |
- |
|
|