해당 게시판이 원래 무조건 비밀글이 되도록 만들어진 게시판이예요.
근데 무조건 오픈 게시판으로 바꾸라고 하셔서요.
전 디자이너라 힘드네요 ㅠㅠ;
1. 게시판 설정가서 -> 글쓰기, 글읽기 권한 1로 변경 / 비밀글 사용 : 사용하지 않음 으로 변경
이렇게 하고 글을 다시 써보는데요.

위 이미지처럼 얼럿창이 뜨네요.
코드 어디를 바꿔야 댈까요?
Copy
<?php
$option = '';
$option_hidden = '';
if ($is_notice || $is_html || $is_secret || $is_mail) {
$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_hidden .= "\n".'<input type="hidden" 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>';
}
}
echo $option_hidden;
?>
|
답변 5개 / 댓글 2개
답변을 작성하려면 로그인이 필요합니다.
제가 만든게 아니라서 어렵네요