Changeset 32371 for main/trunk

Show
Ignore:
Timestamp:
23.08.2018 14:04:51 (13 months ago)
Author:
kjdon
Message:

added additionalHeaderContent-page template so that pages can add header info themselves. eg authentication page adding in recaptcha script

Files:
1 modified

Legend:

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

    r32046 r32371  
    112112    <xsl:call-template name="additionalHeaderContent"/> 
    113113  </xsl:template> 
    114    
     114 
    115115  <!-- This template allows for extra header content to be added by interface, site and collection. --> 
    116116  <xsl:template name="additionalHeaderContent"> 
     117    <xsl:call-template name="additionalHeaderContent-page"/> 
    117118    <xsl:call-template name="additionalHeaderContent-interface"/> 
    118119    <xsl:call-template name="additionalHeaderContent-site"/> 
    119120    <xsl:call-template name="additionalHeaderContent-collection"/> 
     121  </xsl:template> 
     122 
     123  <xsl:template name="additionalHeaderContent-page"> 
     124    header.xsl content 
    120125  </xsl:template> 
    121126  <!-- This template should be overridden in header.xsl of a new interface file if you want to add extra header content -->