Ignore:
Timestamp:
2023-01-02T00:13:12+13:00 (16 months ago)
Author:
davidb
Message:

Templates and vars move into their '-core.xsl' counterparts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl

    r37078 r37084  
    1212  <xsl:include href="../javascript-global-setup.xsl"/>
    1313
     14  <xsl:include href="../javascript-global-setup.xsl"/>
     15
     16  <xsl:include href="header-core.xsl"/>
     17 
     18
    1419  <xsl:param name="cookie_consent"/>
    1520 
    16   <!-- If the c parameter is empty then use the p.c parameter for the collection name-->
    17   <xsl:variable name="collNameChecked">
    18     <xsl:choose>
    19       <xsl:when test="$collName = '' and /page/pageRequest/paramList/param[@name='p.c']/@value">
    20     <xsl:value-of select="/page/pageRequest/paramList/param[@name='p.c']/@value"/>
    21       </xsl:when>
    22       <xsl:otherwise>
    23     <xsl:value-of select="$collName"/>
    24       </xsl:otherwise>
    25     </xsl:choose>
    26   </xsl:variable>
    27 
     21 
    2822  <!-- does this collection have editing allowed? it's turned on by default, can turn off in config file-->
    2923  <xsl:variable name="isEditingAllowed">
Note: See TracChangeset for help on using the changeset viewer.