Changeset 33050 for main


Ignore:
Timestamp:
2019-05-06T13:47:48+12:00 (2 years 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

File:
1 edited

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> 
Note: See TracChangeset for help on using the changeset viewer.