Modified:
trunk/Tipos/Filter/ValidateCaptcha.php
trunk/Tipos/View/Helper/FormCaptcha.php
Log:
Little whitespace/variable name changes.
Modified: trunk/Tipos/Filter/ValidateCaptcha.php
==============================================================================
--- trunk/Tipos/Filter/ValidateCaptcha.php (original)
+++ trunk/Tipos/Filter/ValidateCaptcha.php Wed Oct 8 03:11:23 2008
@@ -30,7 +30,7 @@
if (! $this->_filter->getRequire() && $value === null) {
return true;
}
-
+
$captcha = Solar::factory('Tipos_Captcha_Image');
return $captcha->isValid($value);
}
Modified: trunk/Tipos/View/Helper/FormCaptcha.php
==============================================================================
--- trunk/Tipos/View/Helper/FormCaptcha.php (original)
+++ trunk/Tipos/View/Helper/FormCaptcha.php Wed Oct 8 03:11:23 2008
@@ -48,9 +48,9 @@
'title' => 'captcha'
));
- $out = '<p class="captcha-image">' . $image . '</p>';
- $out .= $this->_view->formText($info);
+ $html = '<p class="image-captcha">' . $image . '</p>';
+ $html .= $this->_view->formText($info);
- return $out;
+ return $html;
}
}