From cb346ff43a63f93ff5275502638c51a4653fac7d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 15 Mar 2014 14:53:35 -0300 Subject: Squashed 'mod/captcha/' content from commit c7ac34e git-subtree-dir: mod/captcha git-subtree-split: c7ac34e65fed6e9fc08f85dc4734b29c4fd51147 --- views/default/captcha/css.php | 4 ++++ views/default/input/captcha.php | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 views/default/captcha/css.php create mode 100644 views/default/input/captcha.php (limited to 'views') diff --git a/views/default/captcha/css.php b/views/default/captcha/css.php new file mode 100644 index 000000000..d06a26d7d --- /dev/null +++ b/views/default/captcha/css.php @@ -0,0 +1,4 @@ +.captcha-input-image { + text-align: center; + margin: auto; +} diff --git a/views/default/input/captcha.php b/views/default/input/captcha.php new file mode 100644 index 000000000..cc78ffb08 --- /dev/null +++ b/views/default/input/captcha.php @@ -0,0 +1,19 @@ + +
+ +
+ "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')); + ?> +
-- cgit v1.2.3