그누보드5 개발이 다 안된건가요?
본문
그누보드5 개발이 다 안된건가요?
게시판 글쓰기 폼 입력필드를 옵션 조정할 수 있는 것들이 없네요...
소스 상에서는 옵션 조절하면 브라우징 처리 될 수 있게 되어있는데
관리자 쪽에선 전혀 없네요
<?php if ($is_name) { ?>
<tr>
<th scope="row"><label for="wr_name">이름<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="wr_name" value="<?php echo $name ?>" id="wr_name" required class="frm_input required" size="10" maxlength="20"></td>
</tr>
<?php } ?>
<?php if ($is_password) { ?>
<tr>
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only">필수</strong></label></th>
<td><input type="password" name="wr_password" id="wr_password" <?php echo $password_required ?> class="frm_input <?php echo $password_required ?>" maxlength="20"></td>
</tr>
<?php } ?>
<?php if ($is_email) { ?>
<tr>
<th scope="row"><label for="wr_email">이메일</label></th>
<td><input type="text" name="wr_email" value="<?php echo $email ?>" id="wr_email" class="frm_input email" size="50" maxlength="100"></td>
</tr>
<?php } ?>
<?php if ($is_homepage) { ?>
<tr>
<th scope="row"><label for="wr_homepage">홈페이지</label></th>
<td><input type="text" name="wr_homepage" value="<?php echo $homepage ?>" id="wr_homepage" class="frm_input" size="50"></td>
</tr>
<?php } ?>
<?php if ($option) { ?>
<tr>
<th scope="row">옵션</th>
<td><?php echo $option ?></td>
</tr>
<?php } ?>
관리자에서 게시판 관리 부분 입니다.
여분필드 이용해서 직접 하나하나씩 처리를 해야하는지..?
!-->답변 2
어떤 옵션을 말씀하시는지요?
소스상으로는
$is_name = false;
$is_password = false;
$is_email = false;
$is_homepage = false;
if ($is_guest || ($is_admin && $w == 'u' && $member['mb_id'] != $write['mb_id'])) {
$is_name = true;
$is_password = true;
$is_email = true;
$is_homepage = true;
}
이렇게 되어 있습니다만..
!-->
베타 딱지를 뗀지가 한참되는데...
질문의 제목이 좀 과하네요.
답변을 작성하시기 전에 로그인 해주세요.