recaptcha signup link including domain

This commit is contained in:
Shish 2009-11-10 04:36:05 +00:00
parent 3dccde13d1
commit fb0513561f

View file

@ -256,7 +256,10 @@ class Setup extends SimpleExtension {
$sb = new SetupBlock("Remote API Integration"); $sb = new SetupBlock("Remote API Integration");
$sb->add_label("<a href='http://akismet.com/'>Akismet</a>"); $sb->add_label("<a href='http://akismet.com/'>Akismet</a>");
$sb->add_text_option("comment_wordpress_key", "<br>API key: "); $sb->add_text_option("comment_wordpress_key", "<br>API key: ");
$sb->add_label("<br>&nbsp;<br><a href='http://recaptcha.net/'>ReCAPTCHA</a>"); $sb->add_label(
"<br>&nbsp;<br><a href='".
recaptcha_get_signup_url($_SERVER["HTTP_HOST"], "Shimmie").
"'>ReCAPTCHA</a>");
$sb->add_text_option("api_recaptcha_privkey", "<br>Private key: "); $sb->add_text_option("api_recaptcha_privkey", "<br>Private key: ");
$sb->add_text_option("api_recaptcha_pubkey", "<br>Public key: "); $sb->add_text_option("api_recaptcha_pubkey", "<br>Public key: ");
$event->panel->add_block($sb); $event->panel->add_block($sb);