capcha control now has reCAPTCHA mode
This commit is contained in:
parent
5d8ede926c
commit
b088299eb0
6 changed files with 127 additions and 9 deletions
|
|
@ -240,6 +240,28 @@ sub definition {
|
|||
namespace=>"AdminConsole",
|
||||
defaultValue=>$setting->get("AdminConsoleTemplate")
|
||||
});
|
||||
push(@fields, {
|
||||
tab => "ui",
|
||||
fieldType => "yesNo",
|
||||
name => "useRecaptcha",
|
||||
label => $i18n->get('use recaptcha'),
|
||||
hoverHelp => $i18n->get('use recaptcha description'),
|
||||
defaultValue => $setting->get('useRecaptcha'),
|
||||
});
|
||||
push(@fields, {
|
||||
tab => "ui",
|
||||
fieldType => "text",
|
||||
name => "recaptchaPublicKey",
|
||||
label => $i18n->get('recaptcha public key'),
|
||||
defaultValue => $setting->get('recaptchaPublicKey'),
|
||||
});
|
||||
push(@fields, {
|
||||
tab => "ui",
|
||||
fieldType => "text",
|
||||
name => "recaptchaPrivateKey",
|
||||
label => $i18n->get('recaptcha private key'),
|
||||
defaultValue => $setting->get('recaptchaPrivateKey'),
|
||||
});
|
||||
# messaging settings
|
||||
push(@fields, {
|
||||
tab=>"messaging",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue