captcha 코드 변경중

This commit is contained in:
gnuboard
2013-01-10 11:31:59 +09:00
parent c27361cb9c
commit 90ecd50767
5 changed files with 10 additions and 6 deletions

View File

@ -137,15 +137,14 @@ $captcha->run();
*/
// 캡챠이미지는 한개만 사용 가능함.
function get_captcha($input_name, $captcha_no=1)
function captcha_html($input_name, $captcha_id_suffix='')
{
global $g4;
// 세션생성을 한후 다음페이지에서 해당 세션이 있을때만 올바른 캡챠코드인지 비교합니다.
set_session('ss_captcha_use', true);
$captcha_class = str_pad($captcha_no,2,'0',STR_PAD_LEFT);// 캡챠 클래스를 선택할 수 있도록 지운아빠 2012-07-24
$code = '<fieldset id="captcha'.$captcha_class.'">';
$code = '<fieldset id="captcha'.$captcha_id_suffix.'">';
$code .= '<legend>자동등록방지</legend>';
//$code .= '<img src="" id="captcha" alt="자동등록방지 이미지" title="이미지를 클릭하시면 숫자가 바뀝니다.">';
$code .= '<iframe id="captcha_iframe" name="captcha_iframe" src="'.$g4['path'].'/plugin/captcha/run.php" width="80" height="25" frameborder="0" scrolling="no"></iframe>';