Show
Ignore:
Timestamp:
12.04.2012 15:47:24 (9 years ago)
Author:
ak19
Message:

Java method getInterfaceStringsAsJavascript outputs more of the javascript so that the XSLT has to output less of it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/layouts/header.xsl

    r25360 r25378  
    407407    <xsl:template name="document-editor-language-fragments"> 
    408408      <!--<gslib:langfrag name="dse"/>--> 
    409  
     409       
    410410      <script type="text/javascript"> 
    411       gs.text = new Array(); 
    412       gs.text.dse = new Array(); 
    413       <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceStringsAsJavascript($interface_name, /page/@lang, 'dse', 'gs.text')"/> 
     411        <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceStringsAsJavascript($interface_name, /page/@lang, 'dse')"/>         
    414412      </script> 
    415413    </xsl:template>