aboutsummaryrefslogtreecommitdiff
path: root/mod/captcha/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/captcha/views')
-rw-r--r--mod/captcha/views/default/captcha/css.php16
-rw-r--r--mod/captcha/views/default/input/captcha.php12
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