쪽지보내기 캡챠코드 수정
This commit is contained in:
@ -175,6 +175,7 @@ function captcha_html($class="captcha")
|
||||
$png_file_url = G4_CACHE_URL.'/'.$obj->captcha_filename.'.png';
|
||||
$wav_file_url = G4_CACHE_URL.'/'.$obj->captcha_filename.'.wav';
|
||||
|
||||
$html .= PHP_EOL.'<script>var g4_gcaptcha_url = "'.G4_GCAPTCHA_URL.'";</script>';
|
||||
$html .= PHP_EOL.'<script src="'.G4_GCAPTCHA_URL.'/gcaptcha.js"></script>';
|
||||
$html .= '<fieldset id="captcha" class="'.$class.'">';
|
||||
$html .= '<legend class="sound_only">스팸방지</legend>';
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
define('G4_CAPTCHA', 1);
|
||||
include_once("./_common.php");
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
|
||||
echo chk_captcha();
|
||||
?>
|
||||
@ -1,6 +1,6 @@
|
||||
<?
|
||||
define('G4_CAPTCHA', 1);
|
||||
include_once('./_common.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
|
||||
if ($is_guest)
|
||||
alert_close('회원만 이용하실 수 있습니다.');
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?
|
||||
define('G4_CAPTCHA', 1);
|
||||
include_once('./_common.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
|
||||
if ($is_guest)
|
||||
alert('회원만 이용하실 수 있습니다.');
|
||||
|
||||
@ -45,7 +45,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<script>
|
||||
function fmemoform_submit(f)
|
||||
{
|
||||
<? if ($is_guest) { echo chk_captcha_js(); } ?>
|
||||
<? echo chk_captcha_js(); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user