Ignore:
Timestamp:
2012-03-28T17:04:32+13:00 (12 years ago)
Author:
sjm84
Message:

Moved the private and public recaptcha keys to the siteconfig.xml file

File:
1 edited

Legend:

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

    r25292 r25315  
    429429                                </tr>
    430430                            </xsl:if>
    431                             <xsl:if test="/page/pageResponse/authenticationNode/service/@operation = 'Register'">
     431                            <xsl:if test="/page/pageResponse/authenticationNode/service/@operation = 'Register' and /page/pageResponse/recaptcha/@privateKey and /page/pageResponse/recaptcha/@publicKey">
    432432                                <tr>
    433433                                    <td colspan="2">
    434                                         <xsl:value-of disable-output-escaping="yes" select="util:reCAPTCHAimage()"/>
     434                                        <xsl:value-of disable-output-escaping="yes" select="util:reCAPTCHAimage(/page/pageResponse/recaptcha/@publicKey, /page/pageResponse/recaptcha/@privateKey)"/>
    435435                                    </td>
    436436                                    <script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.