기존 캡차 코드 제거
This commit is contained in:
@ -1103,26 +1103,8 @@ function explan_resize_image()
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript" src="<?=$g4[path]?>/js/jquery.kcaptcha.js"></script>
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$("#kcaptcha_image_use, #kcaptcha_image_qa").bind("click", function() {
|
|
||||||
$.ajax({
|
|
||||||
type: 'POST',
|
|
||||||
url: g4_path+'/'+g4_bbs+'/kcaptcha_session.php',
|
|
||||||
cache: false,
|
|
||||||
async: false,
|
|
||||||
success: function(text) {
|
|
||||||
$("#kcaptcha_image_use, #kcaptcha_image_qa").attr('src', g4_path+'/'+g4_bbs+'/kcaptcha_image.php?t=' + (new Date).getTime());
|
|
||||||
}
|
|
||||||
});
|
|
||||||
})
|
|
||||||
.css('cursor', 'pointer')
|
|
||||||
.attr('title', '글자가 잘 안보이시는 경우 클릭하시면 새로운 글자가 나옵니다.')
|
|
||||||
.attr('width', '120')
|
|
||||||
.attr('height', '60')
|
|
||||||
.trigger('click');
|
|
||||||
|
|
||||||
explan_resize_image();
|
explan_resize_image();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user