diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-15 12:49:51 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-15 12:49:51 +0000 |
commit | 514afb57ceb65ef6109f7bc60181a0aa45b8f950 (patch) | |
tree | a53626b764b691fb66e0ec1b2c5f5f1dc8ce962e /mod/captcha/views/default | |
parent | e463f5079c9eef80350184cdb8af968dc416e90e (diff) | |
download | elgg-514afb57ceb65ef6109f7bc60181a0aa45b8f950.tar.gz elgg-514afb57ceb65ef6109f7bc60181a0aa45b8f950.tar.bz2 |
Updated Captcha UI.
git-svn-id: http://code.elgg.org/elgg/trunk@5400 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/captcha/views/default')
-rw-r--r-- | mod/captcha/views/default/captcha/css.php | 16 | ||||
-rw-r--r-- | mod/captcha/views/default/input/captcha.php | 12 |
2 files changed, 17 insertions, 11 deletions
diff --git a/mod/captcha/views/default/captcha/css.php b/mod/captcha/views/default/captcha/css.php index 7466cbb24..7deb4440e 100644 --- a/mod/captcha/views/default/captcha/css.php +++ b/mod/captcha/views/default/captcha/css.php @@ -1,6 +1,12 @@ +<?php +/** + * Elgg Captcha CSS + * + * @package captcha + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider <info@elgg.com> + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.org/ + */ -.captcha-input-image { - text-align: center; - margin: auto; -} - +?>
\ No newline at end of file diff --git a/mod/captcha/views/default/input/captcha.php b/mod/captcha/views/default/input/captcha.php index 879a01c2d..2c880eb0a 100644 --- a/mod/captcha/views/default/input/captcha.php +++ b/mod/captcha/views/default/input/captcha.php @@ -15,12 +15,12 @@ <div class="captcha"> <input type="hidden" name="captcha_token" value="<?php echo $token; ?>" /> <label> - <?php echo elgg_echo('captcha:entercaptcha'); ?><br /><br /> - <div class="captcha-right"> - <img class="captcha-input-image" src="<?php echo $vars['url'] . "pg/captcha/$token"; ?>" /><br /> - </div><br /> - <div class="captcha-left"> - <?php echo elgg_view('input/text', array('internalname' => 'captcha_input', 'class' => 'captcha-input-text')); ?> + <?php echo elgg_echo('captcha:entercaptcha'); ?> + <div class="captcha_image"> + <img class="captcha-input-image" src="<?php echo $vars['url'] . "pg/captcha/$token"; ?>" /> + </div> + <div class="captcha_input"> + <?php echo elgg_view('input/text', array('internalname' => 'captcha_input')); ?> </div> </label> </div>
\ No newline at end of file |