Changeset 33229

Show
Ignore:
Timestamp:
26.06.2019 17:21:41 (3 weeks ago)
Author:
davidb
Message:

Changed hard-wired interface name to XSLT param/variable to be more portable

Files:
1 modified

Legend:

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

    r33151 r33229  
    2121      <gslib:langfrag name="berry"/> 
    2222        <xsl:variable name="clusterName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable> 
    23         <script type="text/javascript" src="interfaces/default/js/berrybasket/berrycheckout.js"><xsl:text> </xsl:text></script> 
     23        <script type="text/javascript" src="interfaces/{$interface_name}/js/berrybasket/berrycheckout.js"><xsl:text> </xsl:text></script> 
    2424        <xsl:call-template name="customJavascript"/> 
    2525        <xsl:call-template name="customCSS"/>