Changeset 32296 for main/trunk

Show
Ignore:
Timestamp:
23.07.2018 11:25:32 (15 months ago)
Author:
kjdon
Message:

java code was adding in a filepath param for the xsltparams. adding it in to xslt side of things

Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
2 modified

Legend:

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

    r32150 r32296  
    2323  <xsl:param name="site_name"/> 
    2424  <xsl:param name="use_client_side_xslt"/> 
     25  <xsl:param name="filepath"/> 
    2526  <!-- every pages ....................................................................... --> 
    2627 
     
    382383    </xsl:for-each> 
    383384  </xsl:template> 
    384  
    385385 
    386386  <xsl:template name="libraryInterfaceLink"> 
  • main/trunk/greenstone3/web/interfaces/default/transform/javascript-global-setup.xsl

    r30478 r32296  
    4747            <xsl:text disable-output-escaping="yes">gs.xsltParams.site_name = "</xsl:text><xsl:value-of select="$site_name"/><xsl:text disable-output-escaping="yes">";</xsl:text> 
    4848            <xsl:text disable-output-escaping="yes">gs.xsltParams.use_client_side_xslt = "</xsl:text><xsl:value-of select="$use_client_side_xslt"/><xsl:text disable-output-escaping="yes">";</xsl:text> 
     49            <xsl:text disable-output-escaping="yes">gs.xsltParams.filepath = "</xsl:text><xsl:value-of select="$filepath"/><xsl:text disable-output-escaping="yes">";</xsl:text> 
    4950        </script> 
    5051    </xsl:template>