그누보드5 개발이 다 안된건가요?

그누보드5 개발이 다 안된건가요?

QA

그누보드5 개발이 다 안된건가요?

답변 2

본문

그누보드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 } ?>

 

관리자에서 게시판 관리 부분 입니다.

 

09ca5aca28b5adddc7d7b760589f0da2_1453637272_2516.jpg 

 

 

여분필드 이용해서 직접 하나하나씩 처리를 해야하는지..? 

이 질문에 댓글 쓰기 :

답변 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;
}

 

이렇게 되어 있습니다만..

 

 

 

write 스킨 상단에

$is_name = true;
$is_password = true;
$is_email = true;
$is_homepage = true;

이런 식으로 변수값을 설정해 줘도 될 것 같습니다만..


사실, 별로 고민을 해 본 적은 없는데요.. ^^
필요없는 부분은 소스에서 빼버리는 식으로 처리하기 때문에.

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 129,110
© SIRSOFT
현재 페이지 제일 처음으로