테마기능 추가
This commit is contained in:
@ -29,7 +29,7 @@ function editor_html($id, $content, $is_dhtml_editor=true)
|
||||
$(this).text("단축키 일람 닫기");
|
||||
}
|
||||
});
|
||||
$(".btn_cke_sc_close").live("click",function(){
|
||||
$(document).on("click", ".btn_cke_sc_close", function(){
|
||||
$(this).parent("div.cke_sc_def").remove();
|
||||
});
|
||||
});';
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
$(function(){
|
||||
var mp3_url = "";
|
||||
|
||||
$("#captcha_reload").live("click", function(){
|
||||
$(document).on( "click", "#captcha_reload", function(){
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: g5_captcha_url+'/kcaptcha_session.php',
|
||||
@ -24,9 +24,9 @@ $(function(){
|
||||
}
|
||||
}
|
||||
});
|
||||
}).trigger("click");
|
||||
});
|
||||
|
||||
$("#captcha_mp3").live("click", function(){
|
||||
$(document).on( "click", "#captcha_mp3", function(){
|
||||
$("body").css("cursor", "wait");
|
||||
|
||||
$.ajax({
|
||||
@ -74,6 +74,8 @@ $(function(){
|
||||
return false;
|
||||
|
||||
}).css('cursor', 'pointer');
|
||||
|
||||
$("#captcha_reload").trigger("click");
|
||||
});
|
||||
|
||||
// 출력된 캡챠이미지의 키값과 입력한 키값이 같은지 비교한다.
|
||||
|
||||
@ -41,7 +41,7 @@ if ($config['cf_facebook_appid']) {
|
||||
echo '<a href="'.$facebook_url.'" id="facebook_url" onclick="return false;"><img src="'.G5_SNS_URL.'/icon/facebook'.($facebook_user?'':'_off').'.png" id="facebook_icon"></a>';
|
||||
echo '<label for="" class="sound_only">페이스북 동시 등록</label>';
|
||||
echo '<input type="checkbox" name="facebook_checked" id="facebook_checked" disabled value="1">';
|
||||
echo '<script>$(function(){ $("#facebook_url").live("click", function(){ window.open(this.href, "facebook_url", "width=600,height=250"); }); });</script>';
|
||||
echo '<script>$(function(){ $(document).on("click", "#facebook_url", function(){ window.open(this.href, "facebook_url", "width=600,height=250"); }); });</script>';
|
||||
}
|
||||
echo '</li>';
|
||||
}
|
||||
@ -99,7 +99,7 @@ if ($config['cf_twitter_key']) {
|
||||
echo '<a href="'.$twitter_url.'" id="twitter_url" onclick="return false;"><img src="'.G5_SNS_URL.'/icon/twitter'.($twitter_user?'':'_off').'.png" id="twitter_icon"></a>';
|
||||
echo '<label for="" class="sound_only">트위터 동시 등록</label>';
|
||||
echo '<input type="checkbox" name="twitter_checked" id="twitter_checked" disabled value="1">';
|
||||
echo '<script>$(function(){ $("#twitter_url").live("click", function(){ window.open(this.href, "twitter_url", "width=600,height=250"); }); });</script>';
|
||||
echo '<script>$(function(){ $(document).on("click", "#twitter_url", function(){ window.open(this.href, "twitter_url", "width=600,height=250"); }); });</script>';
|
||||
}
|
||||
echo '</li>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user