Hi,
I am using version 2.9.
Congratulations on this mod, very well done, worked first time apart from the sql would not run in zen admin without an error, fine in phpmyadmin though.
I have found two minor validation errors, I could not find any reference to them in the thread so,
in classes/captcha.php
there are two unencoded ampersands.
1)
change this line:
Code:
$image = '<img id="captcha-img" src="' . $this->img_href . '&rand=' . str_replace(' ', '', microtime()) . '" alt="' . $alt . '"';
to this:
Code:
$image = '<img id="captcha-img" src="' . $this->img_href . '&rand=' . str_replace(' ', '', microtime()) . '" alt="' . $alt . '"';
2)
change this line:
Code:
$redraw = ' onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"';
to this:
Code:
$redraw = ' onclick="document.getElementById(\'captcha-img\').src=\'' . $this->img_href . '&rand=\'+Math.random();return false;"';
regards
Steve
Bookmarks