function display_recaptcha_bp($errors) { global $recaptcha_opt, $wpmu, $bp; if ($recaptcha_opt['re_registration']) { $format = << var RecaptchaOptions = { theme : '{$recaptcha_opt['re_theme_reg']}', lang : '{$recaptcha_opt['re_lang']}' , tabindex : 30 }; END; $comment_string = << document.getElementById('recaptcha_table').style.direction = 'ltr'; COMMENT_FORM; if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") $use_ssl = true; else $use_ssl = false; ?>