[그누보드 5.2.x] 게시판 글양식 DHTML 적용하기.
adm/board_form.php 을 편집합니다.
891번 줄에
<th scope="row"><label for="bo_insert_content">글쓰기 기본 내용</label></th>
<td>
<textarea id="bo_insert_content" name="bo_insert_content" rows="5"><?php echo $board['bo_insert_content'] ?></textarea>
</td>
<td class="td_grpset">
<input type="checkbox" name="chk_grp_insert_content" value="1" id="chk_grp_insert_content">
<label for="chk_grp_insert_content">그룹적용</label>
<input type="checkbox" name="chk_all_insert_content" value="1" id="chk_all_insert_content">
<label for="chk_all_insert_content">전체적용</label>
</td>
[code]
<th scope="row"><label for="bo_insert_content">글쓰기 기본 내용</label></th>
<td>
<?php echo editor_html("bo_insert_content", get_text($board['bo_insert_content'], 0)); ?>
</td>
<td class="td_grpset">
<input type="checkbox" name="chk_grp_insert_content" value="1" id="chk_grp_insert_content">
<label for="chk_grp_insert_content">그룹적용</label>
<input type="checkbox" name="chk_all_insert_content" value="1" id="chk_all_insert_content">
<label for="chk_all_insert_content">전체적용</label>
</td>
[/code] 변경
1296번 줄에
[code]
<?php echo get_editor_js("bo_content_head"); ?>
<?php echo get_editor_js("bo_content_tail"); ?>
<?php echo get_editor_js("bo_mobile_content_head"); ?>
<?php echo get_editor_js("bo_mobile_content_tail"); ?>
<?php echo get_editor_js("bo_insert_content"); ?> // 추가
[/code]
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 2개