View | Details | Raw Unified | Return to bug 23407
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-2 / +1 lines)
Lines 6-15 Link Here
6
<!-- Edited: Bug 1807 [ENH] XSLT enhancements sponsored by bywater solutions 2015/01/19 WS wsalesky@gmail.com  -->
6
<!-- Edited: Bug 1807 [ENH] XSLT enhancements sponsored by bywater solutions 2015/01/19 WS wsalesky@gmail.com  -->
7
<xsl:stylesheet version="1.0"
7
<xsl:stylesheet version="1.0"
8
  xmlns:marc="http://www.loc.gov/MARC21/slim"
8
  xmlns:marc="http://www.loc.gov/MARC21/slim"
9
  xmlns:items="http://www.koha-community.org/items"
10
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
11
  xmlns:str="http://exslt.org/strings"
10
  xmlns:str="http://exslt.org/strings"
12
  exclude-result-prefixes="marc items str">
11
  exclude-result-prefixes="marc str">
13
    <xsl:import href="MARC21slimUtils.xsl"/>
12
    <xsl:import href="MARC21slimUtils.xsl"/>
14
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
13
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
15
    <xsl:template match="/">
14
    <xsl:template match="/">
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl (-5 / +1 lines)
Lines 3-16 Link Here
3
<!DOCTYPE stylesheet [<!ENTITY nbsp "&#160;" >]>
3
<!DOCTYPE stylesheet [<!ENTITY nbsp "&#160;" >]>
4
<xsl:stylesheet version="1.0"
4
<xsl:stylesheet version="1.0"
5
  xmlns:marc="http://www.loc.gov/MARC21/slim"
5
  xmlns:marc="http://www.loc.gov/MARC21/slim"
6
  xmlns:items="http://www.koha-community.org/items"
7
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8
  xmlns:str="http://exslt.org/strings"
7
  xmlns:str="http://exslt.org/strings"
9
  exclude-result-prefixes="marc items str">
8
  exclude-result-prefixes="marc str">
10
    <xsl:import href="MARC21slimUtils.xsl"/>
9
    <xsl:import href="MARC21slimUtils.xsl"/>
11
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
10
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
12
    <xsl:key name="item-by-status" match="items:item" use="items:status"/>
13
    <xsl:key name="item-by-status-and-branch" match="items:item" use="concat(items:status, ' ', items:homebranch)"/>
14
11
15
    <xsl:template match="/">
12
    <xsl:template match="/">
16
            <xsl:apply-templates/>
13
            <xsl:apply-templates/>
Lines 20-26 Link Here
20
        <!-- Option: Display Alternate Graphic Representation (MARC 880)  -->
17
        <!-- Option: Display Alternate Graphic Representation (MARC 880)  -->
21
        <xsl:variable name="display880" select="boolean(marc:datafield[@tag=880])"/>
18
        <xsl:variable name="display880" select="boolean(marc:datafield[@tag=880])"/>
22
19
23
        <xsl:variable name="hidelostitems" select="marc:sysprefs/marc:syspref[@name='hidelostitems']"/>
24
        <xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/>
20
        <xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/>
25
        <xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='Display856uAsImage']"/>
21
        <xsl:variable name="Show856uAsImage" select="marc:sysprefs/marc:syspref[@name='Display856uAsImage']"/>
26
        <xsl:variable name="AlternateHoldingsField" select="substring(marc:sysprefs/marc:syspref[@name='AlternateHoldingsField'], 1, 3)"/>
22
        <xsl:variable name="AlternateHoldingsField" select="substring(marc:sysprefs/marc:syspref[@name='AlternateHoldingsField'], 1, 3)"/>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-3 / +1 lines)
Lines 4-13 Link Here
4
<!DOCTYPE stylesheet [<!ENTITY nbsp "&#160;" >]>
4
<!DOCTYPE stylesheet [<!ENTITY nbsp "&#160;" >]>
5
<xsl:stylesheet version="1.0"
5
<xsl:stylesheet version="1.0"
6
  xmlns:marc="http://www.loc.gov/MARC21/slim"
6
  xmlns:marc="http://www.loc.gov/MARC21/slim"
7
  xmlns:items="http://www.koha-community.org/items"
8
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
7
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9
  xmlns:str="http://exslt.org/strings"
8
  xmlns:str="http://exslt.org/strings"
10
  exclude-result-prefixes="marc items str">
9
  exclude-result-prefixes="marc str">
11
    <xsl:import href="MARC21slimUtils.xsl"/>
10
    <xsl:import href="MARC21slimUtils.xsl"/>
12
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
11
    <xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
13
12
14
- 

Return to bug 23407