diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-07 16:28:40 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-05-07 16:28:40 +0000 |
commit | fcafabae52cefd8012f9e6e9d9a55fcf8956d577 (patch) | |
tree | 560d1df4d82f9e56eff44839e02535b0caf142b5 /views/default/account | |
parent | b191a30ebfe6e8bcb75c41193ed36190ae53a12f (diff) | |
download | elgg-fcafabae52cefd8012f9e6e9d9a55fcf8956d577.tar.gz elgg-fcafabae52cefd8012f9e6e9d9a55fcf8956d577.tar.bz2 |
Closes #983: Introducing input/captcha view, use wherever a captcha is required - override with plugins and use the actions hook to do additional validation!
git-svn-id: https://code.elgg.org/elgg/trunk@3266 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/account')
-rw-r--r-- | views/default/account/forms/register.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php index 5e1025f5f..1bc6d00e3 100644 --- a/views/default/account/forms/register.php +++ b/views/default/account/forms/register.php @@ -26,6 +26,9 @@ $form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password' , array('internalname' => 'password', 'class' => "general-textarea")) . "</label><br />"; $form_body .= "<label>" . elgg_echo('passwordagain') . "<br />" . elgg_view('input/password' , array('internalname' => 'password2', 'class' => "general-textarea")) . "</label><br />"; + // Add captcha hook + $form_body .= elgg_view('input/captcha'); + if ($admin_option) $form_body .= elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option')))); |