Subversion Repositories oidplus

Rev

Rev 1036 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1036 Rev 1050
Line 54... Line 54...
54
 
54
 
55
captcha_rebuild_config_callbacks.push(function() {
55
captcha_rebuild_config_callbacks.push(function() {
56
        var e = $("#captcha_plugin")[0];
56
        var e = $("#captcha_plugin")[0];
57
        var strPlugin = e.options[e.selectedIndex].value;
57
        var strPlugin = e.options[e.selectedIndex].value;
58
        if (strPlugin.toLowerCase() != 'reCAPTCHA'.toLowerCase()) return '';
58
        if (strPlugin.toLowerCase() != 'reCAPTCHA'.toLowerCase()) return '';
59
        return 'OIDplus::baseConfig()->setValue(\'RECAPTCHA_VERSION\', '+$("#recaptcha_version").find('option:selected').attr("name")+');<br>' +
59
        return 'OIDplus::baseConfig()->setValue(\'RECAPTCHA_VERSION\', \\ViaThinkSoft\\OIDplus\\OIDplusCaptchaPluginRecaptcha::'+$("#recaptcha_version").find('option:selected').attr("name")+');<br>' +
60
               'OIDplus::baseConfig()->setValue(\'RECAPTCHA_PUBLIC\',  \''+$("#recaptcha_public")[0].value+'\');<br>' +
60
               'OIDplus::baseConfig()->setValue(\'RECAPTCHA_PUBLIC\',  \''+$("#recaptcha_public")[0].value+'\');<br>' +
61
               'OIDplus::baseConfig()->setValue(\'RECAPTCHA_PRIVATE\', \''+$("#recaptcha_private")[0].value+'\');<br>';
61
               'OIDplus::baseConfig()->setValue(\'RECAPTCHA_PRIVATE\', \''+$("#recaptcha_private")[0].value+'\');<br>';
62
});
62
});