Hello,
I remember being confronted with this problem and I used a class like this:
class Form_Element_Captcha extends Zend_Form_Element_Captcha {
/**
* Render form element
*
* @param Zend_View_Interface $view
* @return string
*/
public function render(Zend_View_Interface $view = null) {
return str_replace(
"Please type this word backwards",
utf8_decode($this->getTranslator()->translate("Please
type this word
backwards")),
parent::render()
);
//
}
}
I hope it will help someone ...
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Zend-Form-Element-Captcha-decorator-tp653567p3807288.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]