diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-03 17:30:18 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-11-03 17:30:18 -0800 |
commit | 1faa2492952a54f0b80cce149ae42b59b91039df (patch) | |
tree | e25c2d0e9ceccf1974449eeda3ef62f4cb5e87c0 /modules/recaptcha/helpers/recaptcha_event.php | |
parent | 6dd622416531e8897af2bc3712e55a640277ac62 (diff) | |
parent | 9a33f96e31ba41d78ab24eb9420d74578c7fbbcf (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/recaptcha/helpers/recaptcha_event.php')
-rw-r--r-- | modules/recaptcha/helpers/recaptcha_event.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/recaptcha/helpers/recaptcha_event.php b/modules/recaptcha/helpers/recaptcha_event.php index 7a0b4f58..04af9568 100644 --- a/modules/recaptcha/helpers/recaptcha_event.php +++ b/modules/recaptcha/helpers/recaptcha_event.php @@ -28,6 +28,12 @@ class recaptcha_event_Core { } } + static function register_add_form($form) { + if (module::get_var("recaptcha", "public_key")) { + $form->register_user->recaptcha("recaptcha")->label("")->id("g-recaptcha"); + } + } + static function admin_menu($menu, $theme) { $menu->get("settings_menu") ->append(Menu::factory("link") |