|
Lines 1310-1374
Link Here
|
| 1310 |
<!-- 785 --> |
1310 |
<!-- 785 --> |
| 1311 |
<xsl:if test="marc:datafield[@tag=785]"> |
1311 |
<xsl:if test="marc:datafield[@tag=785]"> |
| 1312 |
<xsl:for-each select="marc:datafield[@tag=785]"> |
1312 |
<xsl:for-each select="marc:datafield[@tag=785]"> |
| 1313 |
<span class="results_summary succeeding_entry"> |
1313 |
<xsl:if test="@ind1=0"> |
| 1314 |
<xsl:choose> |
1314 |
<span class="results_summary succeeding_entry"> |
| 1315 |
<xsl:when test="@ind2=0"> |
1315 |
<xsl:choose> |
| 1316 |
<span class="label">Continued by:</span> |
1316 |
<xsl:when test="@ind2=0"> |
| 1317 |
</xsl:when> |
1317 |
<span class="label">Continued by:</span> |
| 1318 |
<xsl:when test="@ind2=1"> |
1318 |
</xsl:when> |
| 1319 |
<span class="label">Continued in part by:</span> |
1319 |
<xsl:when test="@ind2=1"> |
| 1320 |
</xsl:when> |
1320 |
<span class="label">Continued in part by:</span> |
| 1321 |
<xsl:when test="@ind2=2"> |
1321 |
</xsl:when> |
| 1322 |
<span class="label">Superseded by:</span> |
1322 |
<xsl:when test="@ind2=2"> |
| 1323 |
</xsl:when> |
1323 |
<span class="label">Superseded by:</span> |
| 1324 |
<xsl:when test="@ind2=3"> |
1324 |
</xsl:when> |
| 1325 |
<span class="label">Superseded in part by:</span> |
1325 |
<xsl:when test="@ind2=3"> |
| 1326 |
</xsl:when> |
1326 |
<span class="label">Superseded in part by:</span> |
| 1327 |
<xsl:when test="@ind2=4"> |
1327 |
</xsl:when> |
| 1328 |
<span class="label">Absorbed by:</span> |
1328 |
<xsl:when test="@ind2=4"> |
| 1329 |
</xsl:when> |
1329 |
<span class="label">Absorbed by:</span> |
| 1330 |
<xsl:when test="@ind2=5"> |
1330 |
</xsl:when> |
| 1331 |
<span class="label">Absorbed in part by:</span> |
1331 |
<xsl:when test="@ind2=5"> |
| 1332 |
</xsl:when> |
1332 |
<span class="label">Absorbed in part by:</span> |
| 1333 |
<xsl:when test="@ind2=6"> |
1333 |
</xsl:when> |
| 1334 |
<span class="label">Split into .. and ...:</span> |
1334 |
<xsl:when test="@ind2=6"> |
| 1335 |
</xsl:when> |
1335 |
<span class="label">Split into .. and ...:</span> |
| 1336 |
<xsl:when test="@ind2=7"> |
1336 |
</xsl:when> |
| 1337 |
<span class="label">Merged with ... to form ...</span> |
1337 |
<xsl:when test="@ind2=7"> |
| 1338 |
</xsl:when> |
1338 |
<span class="label">Merged with ... to form ...</span> |
| 1339 |
<xsl:when test="@ind2=8"> |
1339 |
</xsl:when> |
| 1340 |
<span class="label">Changed back to:</span> |
1340 |
<xsl:when test="@ind2=8"> |
| 1341 |
</xsl:when> |
1341 |
<span class="label">Changed back to:</span> |
| 1342 |
</xsl:choose> |
1342 |
</xsl:when> |
| 1343 |
<xsl:text> </xsl:text> |
1343 |
</xsl:choose> |
|
|
1344 |
<xsl:text> </xsl:text> |
| 1344 |
|
1345 |
|
| 1345 |
<xsl:if test="marc:subfield[@code='i']"> |
1346 |
<xsl:if test="marc:subfield[@code='i']"> |
| 1346 |
<span class="785_rel_info"> |
1347 |
<span class="785_rel_info"> |
| 1347 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
1348 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
| 1348 |
<xsl:text> </xsl:text> |
1349 |
<xsl:text> </xsl:text> |
| 1349 |
</span> |
1350 |
</span> |
| 1350 |
</xsl:if> |
1351 |
</xsl:if> |
| 1351 |
|
1352 |
|
| 1352 |
<xsl:variable name="f785"> |
1353 |
<xsl:variable name="f785"> |
| 1353 |
<xsl:call-template name="subfieldSelect"> |
1354 |
<xsl:call-template name="subfieldSelect"> |
| 1354 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
1355 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 1355 |
</xsl:call-template> |
1356 |
</xsl:call-template> |
| 1356 |
</xsl:variable> |
1357 |
</xsl:variable> |
| 1357 |
|
1358 |
|
| 1358 |
<xsl:choose> |
1359 |
<xsl:choose> |
| 1359 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
1360 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 1360 |
<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> |
1361 |
<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> |
| 1361 |
<xsl:value-of select="$f785"/> |
1362 |
<xsl:value-of select="$f785"/> |
| 1362 |
</a> |
1363 |
</a> |
| 1363 |
</xsl:when> |
1364 |
</xsl:when> |
| 1364 |
<xsl:otherwise> |
1365 |
<xsl:otherwise> |
| 1365 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f785, '()', ''), true())"/></xsl:attribute> |
1366 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f785, '()', ''), true())"/></xsl:attribute> |
| 1366 |
<xsl:value-of select="$f785"/> |
1367 |
<xsl:value-of select="$f785"/> |
| 1367 |
</a> |
1368 |
</a> |
| 1368 |
</xsl:otherwise> |
1369 |
</xsl:otherwise> |
| 1369 |
</xsl:choose> |
1370 |
</xsl:choose> |
| 1370 |
|
1371 |
|
| 1371 |
</span> |
1372 |
</span> |
|
|
1373 |
</xsl:if> |
| 1372 |
</xsl:for-each> |
1374 |
</xsl:for-each> |
| 1373 |
</xsl:if> |
1375 |
</xsl:if> |
| 1374 |
|
1376 |
|
| 1375 |
- |
|
|