Changeset 25312

Show
Ignore:
Timestamp:
28.03.2012 17:01:03 (8 years ago)
Author:
sjm84
Message:

Moved the recaptcha private and public keys to the siteConfig.xml files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/XSLTUtil.java

    r25264 r25312  
    480480    } 
    481481     
    482     public static String reCAPTCHAimage() 
    483     { 
    484         ReCaptcha c = ReCaptchaFactory.newReCaptcha("6LckI88SAAAAACUYjj97WMcnz5HPjVp3lI-x-ue8", "6LckI88SAAAAAGnGy1PwuXYZzIMXZYoPxN51bWWG", false); 
     482    public static String reCAPTCHAimage(String publicKey, String privateKey) 
     483    { 
     484        ReCaptcha c = ReCaptchaFactory.newReCaptcha(publicKey, privateKey, false); 
    485485        return c.createRecaptchaHtml(null, null); 
    486486    }