ckeditor, captcha 수정중

This commit is contained in:
gnuboard
2013-01-10 10:57:44 +09:00
parent 1ff1d90efd
commit b370acf97a
8 changed files with 34 additions and 77 deletions

View File

@ -137,7 +137,7 @@ $captcha->run();
*/
// 캡챠이미지는 한개만 사용 가능함.
function get_captcha($input_name, $captcha_no)
function get_captcha($input_name, $captcha_no=1)
{
global $g4;
@ -170,4 +170,10 @@ function chk_captcha($input_name)
}
return true;
}
// captcha javascript code
function captcha_js($element)
{
return "if (!check_captcha({$element})) { return false; }";
}
?>