[TYPO3-project-formidable] Captcha
Luc Muller
l.mul-nospam-ler at ameos.com
Mon Apr 21 10:07:24 CEST 2008
Yep, you're right about this bug.
I think the name had been swapped during our XHTML 1.0 Strict compliance
process.
Name can't be used on images.
So, adding a name="cryptogram" to the image is not so easy.
For now, I've changed the way the image is relaoded, by a getElementById.
Thoses changes are going to be applied in the next SVN release (in a few
minutes).
Luc Muller
Stas Kobzar a écrit :
> Hi,
>
> There is a bug in captcha in formidable.
> It does not re-draws image after clicking on refresh icon next to captcha.
>
> Looks like the problem appears in examples on http://formidable.typo3.ug/.
>
> The problem is really small and can be fixed by adding
> name=\"cryptogram\"
> to line (109)
> in "ameos_formidable/api/base/rdt_captcha/api/class.tx_rdtcaptcha.php"
>
> $aCaptcha["img"]="<img id='" . $this->_getElementHtmlId() . "'
> name=\"cryptogram\" src='".$_SESSION['cryptdir']."cryptographp.php?cfg="
> $cfg."&".$iSID."' alt='captcha'></img>";
>
> Best regards,
> Stas Kobzar
More information about the TYPO3-project-formidable
mailing list