aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/captcha.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/captcha.php')
-rw-r--r--views/default/input/captcha.php21
1 files changed, 5 insertions, 16 deletions
diff --git a/views/default/input/captcha.php b/views/default/input/captcha.php
index cc78ffb08..1c2e22aaa 100644
--- a/views/default/input/captcha.php
+++ b/views/default/input/captcha.php
@@ -1,19 +1,8 @@
<?php
/**
- * Elgg captcha plugin captcha hook view override.
- *
- * @package ElggCaptcha
+ * This view provides a hook for third parties to provide a CAPTCHA.
+ *
+ * @package Elgg
+ * @subpackage Core
*/
-
-// Generate a token which is then passed into the captcha algorithm for verification
-$token = captcha_generate_token();
-?>
-<div>
- <label><?php echo elgg_echo('captcha:entercaptcha'); ?></label>
- <br />
- <?php
- echo elgg_view('input/hidden', array('name' => "captcha_token", 'value' => $token));
- echo elgg_view('output/img', array('src'=> elgg_get_site_url() . "captcha/$token", 'class' => 'captcha-input-image'));
- echo elgg_view('input/text', array('name' => 'captcha_input', 'class' => 'captcha-input-text'));
- ?>
-</div>
+?> \ No newline at end of file