Merge branch 'g4s'
This commit is contained in:
@ -116,7 +116,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
||||
<textarea id="wr_content" name="wr_content" required
|
||||
<textarea id="wr_content" name="wr_content" required title="댓글 내용"
|
||||
<?php if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?php } ?>><?php echo $c_wr_content; ?></textarea>
|
||||
<?php if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?php } ?>
|
||||
</td>
|
||||
@ -125,7 +125,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" class="btn_submit" value="댓글등록">
|
||||
<input type="submit" value="댓글등록" id="btn_submit" class="btn_submit" accesskey="s">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
@ -233,6 +233,8 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
|
||||
<?php if($is_guest) echo chk_captcha_js(); ?>
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -234,6 +234,8 @@ function fwrite_submit(f)
|
||||
|
||||
<?php if ($is_guest) { echo chk_captcha_js(); } ?>
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -226,7 +226,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<p>
|
||||
작성하신 내용을 제출하시려면 <strong><?php echo $w==''?'회원가입':'정보수정'; ?></strong> 버튼을, 작성을 취소하고 목록으로 돌아가시려면 <strong>취소</strong> 링크를 누르세요.
|
||||
</p>
|
||||
<input type="submit" value="<?php echo $w==''?'회원가입':'정보수정'; ?>" class="btn_submit" accesskey="s">
|
||||
<input type="submit" value="<?php echo $w==''?'회원가입':'정보수정'; ?>" id="btn_submit" class="btn_submit" accesskey="s">
|
||||
<a href="<?php echo $g4['path'] ?>/" class="btn_cancel">취소</a>
|
||||
</div>
|
||||
</form>
|
||||
@ -336,12 +336,19 @@ function fregisterform_submit(f)
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof(f.mb_recommend) != 'undefined') {
|
||||
if (typeof(f.mb_recommend) != 'undefined' && f.mb_recommend.value) {
|
||||
if (f.mb_id.value == f.mb_recommend.value) {
|
||||
alert('본인을 추천할 수 없습니다.');
|
||||
f.mb_recommend.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
var msg = reg_mb_recommend_check();
|
||||
if (msg) {
|
||||
alert(msg);
|
||||
f.mb_recommend.select();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php if ($config['cf_kcpcert_use']) { ?>
|
||||
@ -371,6 +378,8 @@ function fregisterform_submit(f)
|
||||
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user