모든 게시판에서 비밀글 체크를 가리긴 할건데 살려둬야할 게시판이 한두개 있어서 일단 일부 게시판에서 라고 조건을 달겠습니다.
게시판 설정에서 비밀글사용을 해제하면 비밀댓글 기능이 동작하지 않네요. 그래서 비밀글사용은 그대로 두고 스킨에서 가려보려고 합니다.
<input type="radio" name="status" value="PUBLIC" id="PUBLIC" checked="checked"><label for="PUBLIC">공개</label> <input type="radio" name="status" value="SECRET" id="SECRET"><label for="SECRET">비밀</label>
이렇게 출력이 되는데요.
글쓰기 폼에서 작성된 코드는
<!--@foreach($status_list AS $key=>$value)--> <input cond="@!in_array('secret',$mi->wrt_opt)" type="radio" name="status" value="{$key}" id="{$key}" checked="checked"|cond="$oDocument->get('status')==$key || ($key=='PUBLIC' && !$document_srl)" /> <input cond="@in_array('secret',$mi->wrt_opt)" type="radio" name="status" value="{$key}" id="{$key}" checked="checked"|cond="$oDocument->get('status')==$key || ($key=='SECRET' && !$document_srl)" /> <label for="{$key}">{$value}</label> <!--@end-->
이렇게 작성되어 있습니다.
두 번째 <input>의 조건을
cond="@in_array('secret',$mi->wrt_opt)"
에서
cond="@in_array('secret',$mi->wrt_opt) && $mid !== '제외할 게시판의 mid값'"
으로 바꿔보세요.