diff -r 000000000000 -r 4eba9c11703f web/Zend/Captcha/Figlet.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/Zend/Captcha/Figlet.php Mon Dec 13 18:29:26 2010 +0100 @@ -0,0 +1,85 @@ +_figlet = new Zend_Text_Figlet($options); + } + + /** + * Generate new captcha + * + * @return string + */ + public function generate() + { + $this->_useNumbers = false; + return parent::generate(); + } + + /** + * Display the captcha + * + * @param Zend_View_Interface $view + * @param mixed $element + * @return string + */ + public function render(Zend_View_Interface $view = null, $element = null) + { + return '
' + . $this->_figlet->render($this->getWord()) + . "\n"; + } +}