Changeset 33050 for main

Show
Ignore:
Timestamp:
06.05.2019 13:47:48 (6 months ago)
Author:
kjdon
Message:

added a place to easily add in custom javascript code - can just implement customJavascript template, without needing to copy the entire main template

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/berry.xsl

    r31532 r33050  
    2222        <xsl:variable name="clusterName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable> 
    2323        <script type="text/javascript" src="interfaces/default/js/berrybasket/berrycheckout.js"><xsl:text> </xsl:text></script> 
     24        <xsl:call-template name="customJavascript"/> 
    2425        <script type="text/javascript"> 
    2526            <xsl:text disable-output-escaping="yes"> 
     
    5455    </xsl:template> 
    5556 
    56  
     57    <xsl:template name="customJavascript"> 
     58    </xsl:template> 
    5759 
    5860</xsl:stylesheet>