Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -71,7 +71,10 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
</article>
|
||||
<?}?>
|
||||
|
||||
<? if ($is_comment_write) { ?>
|
||||
<? if ($is_comment_write) {
|
||||
if($w == '')
|
||||
$w = 'c';
|
||||
?>
|
||||
<aside id="bo_vc_w">
|
||||
<h2>댓글쓰기</h2>
|
||||
<form name="fviewcomment" method="post" action="./write_comment_update.php" onsubmit="return fviewcomment_submit(this);" autocomplete="off">
|
||||
|
||||
@ -8,10 +8,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<h2>회원가입약관</h2>
|
||||
<textarea readonly><?=get_text($config['cf_stipulation'])?></textarea>
|
||||
<fieldset class="fregister_agree">
|
||||
<input type="radio" id="agree11" name="agree" value="1">
|
||||
<label for="agree11">동의합니다.</label>
|
||||
<input type="radio" id="agree10" name="agree" value="0">
|
||||
<label for="agree10">동의하지 않습니다.</label>
|
||||
<input type="checkbox" id="agree11" name="agree" value="1">
|
||||
<label for="agree11">회원가입약관의 내용에 동의합니다. (동의하셔야 회원가입가능)</label>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
@ -19,10 +17,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<h2>개인정보수집이용안내</h2>
|
||||
<textarea readonly><?=get_text($config['cf_privacy'])?></textarea>
|
||||
<fieldset class="fregister_agree">
|
||||
<input type="radio" id="agree21" name="agree2" value="1">
|
||||
<label for="agree21">동의합니다.</label>
|
||||
<input type="radio" id="agree20" name="agree2" value="0">
|
||||
<label for="agree20">동의하지 않습니다.</label>
|
||||
<input type="checkbox" id="agree21" name="agree2" value="1">
|
||||
<label for="agree21">개인정보수집이용안내의 내용에 동의합니다. (동의하셔야 회원가입가능)</label>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
@ -35,17 +31,15 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<script>
|
||||
function fregister_submit(f)
|
||||
{
|
||||
var agree1 = document.getElementsByName("agree");
|
||||
if (!agree1[0].checked) {
|
||||
if (!f.agree.checked) {
|
||||
alert("회원가입약관의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
agree1[0].focus();
|
||||
f.agree.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
var agree2 = document.getElementsByName("agree2");
|
||||
if (!agree2[0].checked) {
|
||||
if (!f.agree2.checked) {
|
||||
alert("개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
agree2[0].focus();
|
||||
f.agree2.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user