ckeditor, captcha 수정중

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

No files matched your search

+7 -1
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; }";
}
?>