답변 1개
해당 게시판 write.skin.php 파일 열어보시면
옵션부분에 대한 내용이 있습니다.
해당부분에 wr_1 부분을 추가하시면 됩니다.
ex)
<?php
$option = '';
$option_hidden = '';
$is_wr_1 = true; //wr_1 사용
if($write['wr_1']=="Y"){ // wr_1 이 체크되어 있다면
$wr_1_checked = 'checked';
}
if ($is_notice || $is_html || $is_secret || $is_mail || $is_wr_1) {
$option = '';
if ($is_notice) {
$option .= "\n".'<input type="checkbox" id="notice" name="notice" value="1" '.$notice_checked.'>'."\n".'<label for="notice">공지</label>';
}
if ($is_html) {
if ($is_dhtml_editor) {
$option_hidden .= '<input type="hidden" value="html1" name="html">';
} else {
$option .= "\n".'<input type="checkbox" id="html" name="html" onclick="html_auto_br(this);" value="'.$html_value.'" '.$html_checked.'>'."\n".'<label for="html">HTML</label>';
}
}
if ($is_secret) {
if ($is_admin || $is_secret==1) {
$option .= "\n".'<input type="checkbox" id="secret" name="secret" value="secret" '.$secret_checked.'>'."\n".'<label for="secret">비밀글</label>';
} else {
$option_hidden .= '<input type="hidden" name="secret" value="secret">';
}
}
if ($is_mail) {
$option .= "\n".'<input type="checkbox" id="mail" name="mail" value="mail" '.$recv_email_checked.'>'."\n".'<label for="mail">답변메일받기</label>';
}
if ($is_wr_1) {
$option .= "\n".'<input type="checkbox" id="wr_1" name="wr_1" value="Y" '.$wr_1_checked.'>'."\n".'<label for="wr_1">wr_1</label>';
}
}
echo $option_hidden;
?>
답변에 대한 댓글 2개
이미 wr_1 에 대한 쿼리구문은 포함되어 있으니까요.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인