diff options
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/pages/users/new.html.php | 10 |
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')); |