diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-24 14:57:13 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-24 14:57:13 -0800 |
commit | cc912935731c216a57e4c291548ec503a0c1607e (patch) | |
tree | 0ebfdf14a4f8cd183df31cde5be8e3226641d580 /modules/recaptcha/helpers | |
parent | 5b84919d6e55a8c43f60cf8b695c3696340d001b (diff) | |
parent | eb32e1052df4da268f01a84b809d756d9c9b85b7 (diff) |
Merge branch 'bharat_dev' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/recaptcha/helpers')
-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 e7ded3ab..a7f64bdd 100644 --- a/modules/recaptcha/helpers/recaptcha_event.php +++ b/modules/recaptcha/helpers/recaptcha_event.php @@ -18,6 +18,12 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class recaptcha_event_Core { + static function user_profile_contact_form($form) { + if (module::get_var("recaptcha", "public_key")) { + $form->message->recaptcha("recaptcha")->label("")->id("g-recaptcha"); + } + } + static function comment_add_form($form) { if (module::get_var("recaptcha", "public_key")) { $form->add_comment->recaptcha("recaptcha")->label("")->id("g-recaptcha"); |