쪽지보내기 캡챠코드 수정

This commit is contained in:
gnuboard
2013-01-29 18:13:43 +09:00
parent b5544f9f8c
commit 8aa9e0baae
5 changed files with 5 additions and 4 deletions

View File

@ -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>';

View File

@ -1,6 +1,6 @@
<?php
define('G4_CAPTCHA', 1);
include_once("./_common.php");
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
echo chk_captcha();
?>

View File

@ -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('회원만 이용하실 수 있습니다.');

View File

@ -1,6 +1,6 @@
<?
define('G4_CAPTCHA', 1);
include_once('./_common.php');
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
if ($is_guest)
alert('회원만 이용하실 수 있습니다.');

View File

@ -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;
}