Changeset 20379 for greenstone3

Show
Ignore:
Timestamp:
24.08.2009 16:16:28 (11 years ago)
Author:
oranfry
Message:

interfaces directory is relative to current document, not necessarily a top-level directory

Files:
1 modified

Legend:

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

    r19988 r20379  
    2020    <xsl:template match="/page"> 
    2121        <xsl:variable name="clusterName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable> 
    22         <script type="text/javascript" src="/interfaces/oran/js/berrycheckout.js"><xsl:text> </xsl:text></script> 
     22        <script type="text/javascript" src="interfaces/oran/js/berrycheckout.js"><xsl:text> </xsl:text></script> 
    2323        <script type="text/javascript"> 
    2424            <xsl:text> </xsl:text> 
    2525            <xsl:for-each select="/page/pageResponse/collection/item"> 
    26                 <xsl:text disable-output-escaping="yes">var doc = new Array(); 
    27                 </xsl:text> 
     26                <xsl:text disable-output-escaping="yes"> 
     27var doc = new Array(); 
     28var docList = new Array(); 
     29</xsl:text> 
    2830                <xsl:for-each select="@*"> 
    2931                    <xsl:text disable-output-escaping="yes">doc["</xsl:text><xsl:value-of select="name()" /><xsl:text disable-output-escaping="yes">"]='</xsl:text><xsl:value-of select="." /><xsl:text disable-output-escaping="yes">';