Changeset 32445 for main/trunk

Show
Ignore:
Timestamp:
13.09.2018 13:28:43 (12 months ago)
Author:
kjdon
Message:

add hl=lang to api.js url to get recpatcha in users language

Files:
1 modified

Legend:

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

    r32415 r32445  
    1313 
    1414    <!-- add recaptcha js to the head --> 
    15   <xsl:template name="additionalHeaderContent-page"> 
    16     <script src='https://www.google.com/recaptcha/api.js'><xsl:text> </xsl:text></script> 
    17   </xsl:template> 
     15    <xsl:template name="additionalHeaderContent-page"> 
     16      <script src='https://www.google.com/recaptcha/api.js?hl={/page/@lang}'><xsl:text> </xsl:text></script> 
     17    </xsl:template> 
    1818 
    1919  <!-- set page title -->