[tipos commit] r1609 - in trunk/Tipos: Filter View/Helper

0 views
Skip to first unread message

codesite...@google.com

unread,
Oct 8, 2008, 6:14:12 AM10/8/08
to tipo...@googlegroups.com
Author: rodrigo.moraes
Date: Wed Oct 8 03:11:23 2008
New Revision: 1609

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;
}
}

Reply all
Reply to author
Forward
0 new messages