diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-23 16:29:10 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-23 16:29:10 -0800 |
commit | fecac4a8596a69088270e48a90868e845fc8f4ca (patch) | |
tree | a4683906d481d1091e218c9b6662a1997cb11086 /modules/recaptcha | |
parent | 8849594aa17768f564e45370a62f01e440570dcf (diff) | |
parent | 3b16d0662b8a4b06f4be72165c858a1231e9bd67 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Conflicts:
modules/gallery/tests/xss_data.txt
Diffstat (limited to 'modules/recaptcha')
-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"); |