summaryrefslogtreecommitdiff
path: root/src/views/pages/users/new.html.php
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2011-09-22 20:36:17 -0700
committerLuke Shumaker <lukeshu@sbcglobal.net>2011-09-22 20:36:17 -0700
commitd9043d59d9109a0fb8350b9829806b7cab910425 (patch)
tree699ccc284e3e9a6105987fa3b31f332c2329e6e2 /src/views/pages/users/new.html.php
parent98f65a9b001382720d16b34c18256c20410a627c (diff)
parentdb3cb85d0992dd49ca2fdf33ea35c0cad60e312f (diff)
Merge branch 'master' of https://git.gitorious.org/messagemanager/messagemanager
Diffstat (limited to 'src/views/pages/users/new.html.php')
-rw-r--r--src/views/pages/users/new.html.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/views/pages/users/new.html.php b/src/views/pages/users/new.html.php
index 326f0bc..147e3c0 100644
--- a/src/views/pages/users/new.html.php
+++ b/src/views/pages/users/new.html.php
@@ -30,13 +30,9 @@ if (in_array('no pw', $VARS['errors'])) {
$t->inputNewPassword('auth_password','Password', $password);
$t->closeFieldset();
-global $mm; $db = $mm->database();
-$public_key = $db->getPluginConf('ReCaptcha', 'public_key');
-$recaptcha_error = null;
-if (isset($VARS['recaptcha_error']))
- $recaptcha_error = $VARS['recaptcha_error'];
-require_once('recaptchalib.php');
-echo recaptcha_get_html($public_key, $recaptcha_error);
+foreach ($VARS['antispam_html'] as $html) {
+ echo $html;
+}
$t->tag('input', array('type'=>'submit', 'value'=>'Submit'));