|
Lines 1242-1366
Link Here
|
| 1242 |
|
1242 |
|
| 1243 |
<!-- 780 --> |
1243 |
<!-- 780 --> |
| 1244 |
<xsl:if test="marc:datafield[@tag=780]"> |
1244 |
<xsl:if test="marc:datafield[@tag=780]"> |
| 1245 |
<xsl:for-each select="marc:datafield[@tag=780]"> |
1245 |
<xsl:for-each select="marc:datafield[@tag=780]"> |
| 1246 |
<xsl:if test="@ind1=0"> |
1246 |
<xsl:if test="@ind1=0"> |
| 1247 |
<span class="results_summary preceeding_entry"> |
1247 |
<span class="results_summary preceeding_entry"> |
| 1248 |
<xsl:choose> |
1248 |
<xsl:choose> |
| 1249 |
<xsl:when test="@ind2=0"> |
1249 |
<xsl:when test="@ind2=0"> |
| 1250 |
<span class="label">Continues:</span> |
1250 |
<span class="label">Continues:</span> |
| 1251 |
</xsl:when> |
1251 |
</xsl:when> |
| 1252 |
<xsl:when test="@ind2=1"> |
1252 |
<xsl:when test="@ind2=1"> |
| 1253 |
<span class="label">Continues in part:</span> |
1253 |
<span class="label">Continues in part:</span> |
| 1254 |
</xsl:when> |
1254 |
</xsl:when> |
| 1255 |
<xsl:when test="@ind2=2"> |
1255 |
<xsl:when test="@ind2=2"> |
| 1256 |
<span class="label">Supersedes:</span> |
1256 |
<span class="label">Supersedes:</span> |
| 1257 |
</xsl:when> |
1257 |
</xsl:when> |
| 1258 |
<xsl:when test="@ind2=3"> |
1258 |
<xsl:when test="@ind2=3"> |
| 1259 |
<span class="label">Supersedes in part:</span> |
1259 |
<span class="label">Supersedes in part:</span> |
| 1260 |
</xsl:when> |
1260 |
</xsl:when> |
| 1261 |
<xsl:when test="@ind2=4"> |
1261 |
<xsl:when test="@ind2=4"> |
| 1262 |
<span class="label">Formed by the union: ... and: ...</span> |
1262 |
<span class="label">Formed by the union: ... and: ...</span> |
| 1263 |
</xsl:when> |
1263 |
</xsl:when> |
| 1264 |
<xsl:when test="@ind2=5"> |
1264 |
<xsl:when test="@ind2=5"> |
| 1265 |
<span class="label">Absorbed:</span> |
1265 |
<span class="label">Absorbed:</span> |
| 1266 |
</xsl:when> |
1266 |
</xsl:when> |
| 1267 |
<xsl:when test="@ind2=6"> |
1267 |
<xsl:when test="@ind2=6"> |
| 1268 |
<span class="label">Absorbed in part:</span> |
1268 |
<span class="label">Absorbed in part:</span> |
| 1269 |
</xsl:when> |
1269 |
</xsl:when> |
| 1270 |
<xsl:when test="@ind2=7"> |
1270 |
<xsl:when test="@ind2=7"> |
| 1271 |
<span class="label">Separated from:</span> |
1271 |
<span class="label">Separated from:</span> |
| 1272 |
</xsl:when> |
1272 |
</xsl:when> |
| 1273 |
</xsl:choose> |
1273 |
</xsl:choose> |
| 1274 |
<xsl:variable name="f780"> |
1274 |
<xsl:text> </xsl:text> |
| 1275 |
<xsl:call-template name="subfieldSelect"> |
|
|
| 1276 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 1277 |
</xsl:call-template> |
| 1278 |
</xsl:variable> |
| 1279 |
<xsl:choose> |
| 1280 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 1281 |
<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> |
| 1282 |
<xsl:value-of select="$f780"/> |
| 1283 |
</a> |
| 1284 |
</xsl:when> |
| 1285 |
<xsl:otherwise> |
| 1286 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f780, '()', ''), true())"/></xsl:attribute> |
| 1287 |
<xsl:value-of select="$f780"/> |
| 1288 |
</a> |
| 1289 |
</xsl:otherwise> |
| 1290 |
</xsl:choose> |
| 1291 |
</span> |
| 1292 |
|
| 1293 |
<xsl:if test="marc:subfield[@code='i']"> |
| 1294 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='i']"/></span> |
| 1295 |
</xsl:if> |
| 1296 |
|
1275 |
|
| 1297 |
<xsl:if test="marc:subfield[@code='n']"> |
1276 |
<xsl:if test="marc:subfield[@code='i']"> |
| 1298 |
<span class="results_summary preceeding_entry_note"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
1277 |
<span class="780_rel_info"> |
| 1299 |
</xsl:if> |
1278 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
|
|
1279 |
<xsl:text> </xsl:text> |
| 1280 |
</span> |
| 1281 |
</xsl:if> |
| 1300 |
|
1282 |
|
| 1301 |
</xsl:if> |
1283 |
<xsl:variable name="f780"> |
| 1302 |
</xsl:for-each> |
1284 |
<xsl:call-template name="subfieldSelect"> |
|
|
1285 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 1286 |
</xsl:call-template> |
| 1287 |
</xsl:variable> |
| 1288 |
<xsl:choose> |
| 1289 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
| 1290 |
<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> |
| 1291 |
<xsl:value-of select="$f780"/> |
| 1292 |
</a> |
| 1293 |
</xsl:when> |
| 1294 |
<xsl:otherwise> |
| 1295 |
<a><xsl:attribute name="href">/cgi-bin/koha/catalogue/search.pl?q=ti,phr:<xsl:value-of select="str:encode-uri(translate($f780, '()', ''), true())"/></xsl:attribute> |
| 1296 |
<xsl:value-of select="$f780"/> |
| 1297 |
</a> |
| 1298 |
</xsl:otherwise> |
| 1299 |
</xsl:choose> |
| 1300 |
</span> |
| 1301 |
|
| 1302 |
<xsl:if test="marc:subfield[@code='n']"> |
| 1303 |
<span class="results_summary preceeding_entry_note"><xsl:value-of select="marc:subfield[@code='n']"/></span> |
| 1304 |
</xsl:if> |
| 1305 |
|
| 1306 |
</xsl:if> |
| 1307 |
</xsl:for-each> |
| 1303 |
</xsl:if> |
1308 |
</xsl:if> |
| 1304 |
|
1309 |
|
| 1305 |
<!-- 785 --> |
1310 |
<!-- 785 --> |
| 1306 |
<xsl:if test="marc:datafield[@tag=785]"> |
1311 |
<xsl:if test="marc:datafield[@tag=785]"> |
| 1307 |
<xsl:for-each select="marc:datafield[@tag=785]"> |
1312 |
<xsl:for-each select="marc:datafield[@tag=785]"> |
| 1308 |
<span class="results_summary succeeding_entry"> |
1313 |
<span class="results_summary succeeding_entry"> |
| 1309 |
<xsl:choose> |
1314 |
<xsl:choose> |
| 1310 |
<xsl:when test="@ind2=0"> |
1315 |
<xsl:when test="@ind2=0"> |
| 1311 |
<span class="label">Continued by:</span> |
1316 |
<span class="label">Continued by:</span> |
| 1312 |
</xsl:when> |
1317 |
</xsl:when> |
| 1313 |
<xsl:when test="@ind2=1"> |
1318 |
<xsl:when test="@ind2=1"> |
| 1314 |
<span class="label">Continued in part by:</span> |
1319 |
<span class="label">Continued in part by:</span> |
| 1315 |
</xsl:when> |
1320 |
</xsl:when> |
| 1316 |
<xsl:when test="@ind2=2"> |
1321 |
<xsl:when test="@ind2=2"> |
| 1317 |
<span class="label">Superseded by:</span> |
1322 |
<span class="label">Superseded by:</span> |
| 1318 |
</xsl:when> |
1323 |
</xsl:when> |
| 1319 |
<xsl:when test="@ind2=3"> |
1324 |
<xsl:when test="@ind2=3"> |
| 1320 |
<span class="label">Superseded in part by:</span> |
1325 |
<span class="label">Superseded in part by:</span> |
| 1321 |
</xsl:when> |
1326 |
</xsl:when> |
| 1322 |
<xsl:when test="@ind2=4"> |
1327 |
<xsl:when test="@ind2=4"> |
| 1323 |
<span class="label">Absorbed by:</span> |
1328 |
<span class="label">Absorbed by:</span> |
| 1324 |
</xsl:when> |
1329 |
</xsl:when> |
| 1325 |
<xsl:when test="@ind2=5"> |
1330 |
<xsl:when test="@ind2=5"> |
| 1326 |
<span class="label">Absorbed in part by:</span> |
1331 |
<span class="label">Absorbed in part by:</span> |
| 1327 |
</xsl:when> |
1332 |
</xsl:when> |
| 1328 |
<xsl:when test="@ind2=6"> |
1333 |
<xsl:when test="@ind2=6"> |
| 1329 |
<span class="label">Split into .. and ...:</span> |
1334 |
<span class="label">Split into .. and ...:</span> |
| 1330 |
</xsl:when> |
1335 |
</xsl:when> |
| 1331 |
<xsl:when test="@ind2=7"> |
1336 |
<xsl:when test="@ind2=7"> |
| 1332 |
<span class="label">Merged with ... to form ...</span> |
1337 |
<span class="label">Merged with ... to form ...</span> |
| 1333 |
</xsl:when> |
1338 |
</xsl:when> |
| 1334 |
<xsl:when test="@ind2=8"> |
1339 |
<xsl:when test="@ind2=8"> |
| 1335 |
<span class="label">Changed back to:</span> |
1340 |
<span class="label">Changed back to:</span> |
| 1336 |
</xsl:when> |
1341 |
</xsl:when> |
| 1337 |
</xsl:choose> |
1342 |
</xsl:choose> |
| 1338 |
<xsl:text> </xsl:text> |
1343 |
<xsl:text> </xsl:text> |
| 1339 |
<xsl:variable name="f785"> |
|
|
| 1340 |
<xsl:call-template name="subfieldSelect"> |
| 1341 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 1342 |
</xsl:call-template> |
| 1343 |
</xsl:variable> |
| 1344 |
|
1344 |
|
| 1345 |
<xsl:choose> |
1345 |
<xsl:if test="marc:subfield[@code='i']"> |
| 1346 |
<xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']"> |
1346 |
<span class="785_rel_info"> |
| 1347 |
<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> |
1347 |
<xsl:value-of select="marc:subfield[@code='i']"/> |
| 1348 |
<xsl:value-of select="$f785"/> |
1348 |
<xsl:text> </xsl:text> |
| 1349 |
</a> |
1349 |
</span> |
| 1350 |
</xsl:when> |
1350 |
</xsl:if> |
| 1351 |
<xsl:otherwise> |
|
|
| 1352 |
<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> |
| 1353 |
<xsl:value-of select="$f785"/> |
| 1354 |
</a> |
| 1355 |
</xsl:otherwise> |
| 1356 |
</xsl:choose> |
| 1357 |
|
1351 |
|
| 1358 |
</span> |
1352 |
<xsl:variable name="f785"> |
| 1359 |
<xsl:if test="marc:subfield[@code='i']"> |
1353 |
<xsl:call-template name="subfieldSelect"> |
| 1360 |
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='i']"/></span> |
1354 |
<xsl:with-param name="codes">a_t</xsl:with-param> |
| 1361 |
</xsl:if> |
1355 |
</xsl:call-template> |
|
|
1356 |
</xsl:variable> |
| 1362 |
|
1357 |
|
| 1363 |
</xsl:for-each> |
1358 |
<xsl:choose> |
|
|
1359 |
<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 |
<xsl:value-of select="$f785"/> |
| 1362 |
</a> |
| 1363 |
</xsl:when> |
| 1364 |
<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 |
<xsl:value-of select="$f785"/> |
| 1367 |
</a> |
| 1368 |
</xsl:otherwise> |
| 1369 |
</xsl:choose> |
| 1370 |
|
| 1371 |
</span> |
| 1372 |
</xsl:for-each> |
| 1364 |
</xsl:if> |
1373 |
</xsl:if> |
| 1365 |
|
1374 |
|
| 1366 |
<xsl:if test="$OPACBaseURL!=''"> |
1375 |
<xsl:if test="$OPACBaseURL!=''"> |