g5 merge 충돌 수정

This commit is contained in:
chicpro
2013-09-13 15:22:15 +09:00
55 changed files with 818 additions and 302 deletions

View File

@ -13,7 +13,7 @@ include_once("./_common.php");
<script>
function change_captcha()
{
document.getElementById('captcha').setAttribute('src', g4_path+'/plugin/captcha/run.php?t='+(new Date).getTime());
document.getElementById('captcha').setAttribute('src', g5_path+'/plugin/captcha/run.php?t='+(new Date).getTime());
}
function form_submit(f)

View File

@ -6,7 +6,7 @@ function chk_captcha()
var captcha_result = false;
$.ajax({
type: "POST",
url: g4_gcaptcha_url+"/get.php",
url: g5_gcaptcha_url+"/get.php",
data: {
"captcha_key": captcha_key.value
},
@ -26,7 +26,7 @@ function chk_captcha()
$(function() {
$("#captcha").click(function(e) {
this.setAttribute("src", g4_url+"/plugin/gcaptcha/run.php?t="+(new Date).getTime());
this.setAttribute("src", g5_url+"/plugin/gcaptcha/run.php?t="+(new Date).getTime());
var keycode = (e.keyCode ? e.keyCode : e.which);
// 첫 실행에서는 포커스를 주지 않음
if (typeof(keycode) != "undefined") {

View File

@ -179,7 +179,7 @@ function captcha_html($class='captcha')
$jpg_file_url = G5_DATA_URL.'/cache/'.$obj->captcha_filename.'.jpg';
$mp3_file_url = G5_DATA_URL.'/cache/'.$obj->captcha_filename.'.mp3';
$html .= "\n".'<script>var g4_gcaptcha_url = "'.G5_GCAPTCHA_URL.'";</script>';
$html .= "\n".'<script>var g5_gcaptcha_url = "'.G5_GCAPTCHA_URL.'";</script>';
$html .= "\n".'<script src="'.G5_GCAPTCHA_URL.'/gcaptcha.js"></script>';
$html .= '<fieldset id="captcha" class="'.$class.'">';
$html .= '<legend class="sound_only">자동등록방지</legend>';