|
Lines 1315-1320
Link Here
|
| 1315 |
</span> |
1315 |
</span> |
| 1316 |
</xsl:if> |
1316 |
</xsl:if> |
| 1317 |
|
1317 |
|
|
|
1318 |
<!-- 770 - Supplement/Special issue entry --> |
| 1319 |
<xsl:if test="marc:datafield[@tag=770]"> |
| 1320 |
<span class="results_summary supplement"><span class="label">Supplement: </span> |
| 1321 |
<xsl:for-each select="marc:datafield[@tag=770]"> |
| 1322 |
<xsl:if test="marc:subfield[@code='i']"> |
| 1323 |
<span class="770_rel_info"> |
| 1324 |
<xsl:call-template name="subfieldSelect"> |
| 1325 |
<xsl:with-param name="codes">i</xsl:with-param> |
| 1326 |
</xsl:call-template> |
| 1327 |
<xsl:text> </xsl:text> |
| 1328 |
</span> |
| 1329 |
</xsl:if> |
| 1330 |
<a> |
| 1331 |
<xsl:choose> |
| 1332 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 1333 |
<xsl:attribute name="href"> |
| 1334 |
/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> |
| 1335 |
</xsl:attribute> |
| 1336 |
</xsl:when> |
| 1337 |
<xsl:otherwise> |
| 1338 |
<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> |
| 1339 |
</xsl:otherwise> |
| 1340 |
</xsl:choose> |
| 1341 |
<xsl:choose> |
| 1342 |
<xsl:when test="marc:subfield[@code='a'] or marc:subfield[@code='t']"> |
| 1343 |
<xsl:call-template name="subfieldSelect"> |
| 1344 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 1345 |
</xsl:call-template> |
| 1346 |
</xsl:when> |
| 1347 |
</xsl:choose> |
| 1348 |
</a> |
| 1349 |
<xsl:text> </xsl:text> |
| 1350 |
<xsl:call-template name="subfieldSelect"> |
| 1351 |
<xsl:with-param name="codes">bdghkmnr9usxyz</xsl:with-param> |
| 1352 |
</xsl:call-template> |
| 1353 |
<xsl:choose> |
| 1354 |
<xsl:when test="position()=last()"></xsl:when> |
| 1355 |
<xsl:otherwise><span class="separator"> | </span></xsl:otherwise> |
| 1356 |
</xsl:choose> |
| 1357 |
</xsl:for-each> |
| 1358 |
</span> |
| 1359 |
</xsl:if> |
| 1360 |
|
| 1361 |
<!-- 772 - Supplement parent entry --> |
| 1362 |
<xsl:if test="marc:datafield[@tag=772]"> |
| 1363 |
<span class="results_summary supplement_parent"><span class="label">Supplement to: </span> |
| 1364 |
<xsl:for-each select="marc:datafield[@tag=772]"> |
| 1365 |
<xsl:if test="marc:subfield[@code='i']"> |
| 1366 |
<span class="772_rel_info"> |
| 1367 |
<xsl:call-template name="subfieldSelect"> |
| 1368 |
<xsl:with-param name="codes">i</xsl:with-param> |
| 1369 |
</xsl:call-template> |
| 1370 |
<xsl:text> </xsl:text> |
| 1371 |
</span> |
| 1372 |
</xsl:if> |
| 1373 |
<a> |
| 1374 |
<xsl:choose> |
| 1375 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 1376 |
<xsl:attribute name="href"> |
| 1377 |
/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> |
| 1378 |
</xsl:attribute> |
| 1379 |
</xsl:when> |
| 1380 |
<xsl:otherwise> |
| 1381 |
<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> |
| 1382 |
</xsl:otherwise> |
| 1383 |
</xsl:choose> |
| 1384 |
<xsl:choose> |
| 1385 |
<xsl:when test="marc:subfield[@code='a'] or marc:subfield[@code='t']"> |
| 1386 |
<xsl:call-template name="subfieldSelect"> |
| 1387 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 1388 |
</xsl:call-template> |
| 1389 |
</xsl:when> |
| 1390 |
</xsl:choose> |
| 1391 |
</a> |
| 1392 |
<xsl:call-template name="subfieldSelect"> |
| 1393 |
<xsl:with-param name="codes">bdghkmnr9usxyz</xsl:with-param> |
| 1394 |
</xsl:call-template> |
| 1395 |
<xsl:choose> |
| 1396 |
<xsl:when test="position()=last()"></xsl:when> |
| 1397 |
<xsl:otherwise><span class="separator"> | </span></xsl:otherwise> |
| 1398 |
</xsl:choose> |
| 1399 |
</xsl:for-each> |
| 1400 |
</span> |
| 1401 |
</xsl:if> |
| 1402 |
|
| 1318 |
<!-- 775 Other Edition --> |
1403 |
<!-- 775 Other Edition --> |
| 1319 |
<xsl:if test="marc:datafield[@tag=775]"> |
1404 |
<xsl:if test="marc:datafield[@tag=775]"> |
| 1320 |
<span class="results_summary other_editions"><span class="label">Other editions: </span> |
1405 |
<span class="results_summary other_editions"><span class="label">Other editions: </span> |
| 1321 |
- |
|
|