Changeset 29169


Ignore:
Timestamp:
2014-08-04T11:46:33+12:00 (10 years ago)
Author:
kjdon
Message:

allowing for extra header content to come from multiple places

File:
1 edited

Legend:

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

    r28631 r29169  
    105105    </xsl:template>
    106106   
     107    <!-- This template allows for extra header content to be added by interface, site and collection. -->
    107108    <xsl:template name="additionalHeaderContent">
    108         <!-- This template should be overridden in the collectionConfig.xml file if you want to add extra header content -->
     109      <xsl:call-template name="additionalHeaderContent-interface"/>
     110      <xsl:call-template name="additionalHeaderContent-site"/>
     111      <xsl:call-template name="additionalHeaderContent-collection"/>
     112    </xsl:template>
     113    <!-- This template should be overridden in header.xsl of a new interface file if you want to add extra header content -->
     114    <xsl:template name="additionalHeaderContent-interface">
     115    </xsl:template>
     116    <!-- This template should be overridden in the header.xsl file in a site's transform directory if you want to add site specific headers -->
     117    <xsl:template name="additionalHeaderContent-site">
     118    </xsl:template>
     119    <!-- This template should be overridden in the collectionConfig.xml file if you want to add extra header content -->
     120    <xsl:template name="additionalHeaderContent-collection">
    109121    </xsl:template>
    110122   
Note: See TracChangeset for help on using the changeset viewer.