g4s 13-04-26일자 코드 반영
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = "300100";
|
||||
include_once('./_common.php');
|
||||
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
|
||||
@ -45,6 +45,10 @@ if (!isset($board['bo_mobile_content_head'])) {
|
||||
sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_mobile_content_head` TEXT NOT NULL AFTER `bo_content_head`, ADD `bo_mobile_content_tail` TEXT NOT NULL AFTER `bo_content_tail`", false);
|
||||
}
|
||||
|
||||
if (!isset($board['bo_use_cert'])) {
|
||||
sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_use_cert` ENUM('none','cert','adult') NOT NULL DEFAULT 'none' AFTER `bo_use_email` ", false);
|
||||
}
|
||||
|
||||
$required = "";
|
||||
$readonly = "";
|
||||
if ($w == '') {
|
||||
@ -87,6 +91,7 @@ if ($w == '') {
|
||||
$board['bo_include_head'] = '_head.php';
|
||||
$board['bo_include_tail'] = '_tail.php';
|
||||
$board['bo_show_menu'] = true;
|
||||
$board['bo_use_cert'] = 'none';
|
||||
|
||||
} else if ($w == 'u') {
|
||||
|
||||
@ -112,27 +117,27 @@ if ($is_admin != 'super') {
|
||||
$g4['title'] = $html_title;
|
||||
include_once ('./admin.head.php');
|
||||
|
||||
$pg_anchor = "<ul class=\"anchor\">
|
||||
<li><a href=\"#frm_basic\">기본 설정</a></li>
|
||||
<li><a href=\"#frm_auth\">권한 설정</a></li>
|
||||
<li><a href=\"#frm_function\">기능 설정</a></li>
|
||||
<li><a href=\"#frm_design\">디자인/양식</a></li>
|
||||
<li><a href=\"#frm_point\">포인트 설정</a></li>
|
||||
<li><a href=\"#frm_extra\">여분필드</a></li>
|
||||
</ul>";
|
||||
$pg_anchor = '<ul class="anchor">
|
||||
<li><a href="#anc_bo_basic">기본 설정</a></li>
|
||||
<li><a href="#anc_bo_auth">권한 설정</a></li>
|
||||
<li><a href="#anc_bo_function">기능 설정</a></li>
|
||||
<li><a href="#anc_bo_design">디자인/양식</a></li>
|
||||
<li><a href="#anc_bo_point">포인트 설정</a></li>
|
||||
<li><a href="#anc_bo_extra">여분필드</a></li>
|
||||
</ul>';
|
||||
?>
|
||||
|
||||
<form name="fboardform" id="fboardform" action="./board_form_update.php" onsubmit="return fboardform_submit(this)" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="sfl" value="<?=$sfl?>">
|
||||
<input type="hidden" name="stx" value="<?=$stx?>">
|
||||
<input type="hidden" name="sst" value="<?=$sst?>">
|
||||
<input type="hidden" name="sod" value="<?=$sod?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="sst" value="<?php echo $sst ?>">
|
||||
<input type="hidden" name="sod" value="<?php echo $sod ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
|
||||
<section id="frm_basic" class="cbox">
|
||||
<section id="anc_bo_basic" class="cbox">
|
||||
<h2>게시판 기본 설정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -142,38 +147,38 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_table">TABLE<?=$sound_only?></label></th>
|
||||
<th scope="row"><label for="bo_table">TABLE<?php echo $sound_only ?></label></th>
|
||||
<td colspan="2">
|
||||
<input type="text" name="bo_table" value="<?=$board['bo_table'] ?>" id="bo_table" <?=$required?> <?=$readonly?> class="frm_input <?=$reaonly?> <?=$required?> <?=$required_valid?>" maxlength="20">
|
||||
<? if ($w == '') { ?>
|
||||
<input type="text" name="bo_table" value="<?php echo $board['bo_table'] ?>" id="bo_table" <?php echo $required ?> <?php echo $readonly ?> class="frm_input <?php echo $reaonly ?> <?php echo $required ?> <?php echo $required_valid ?>" maxlength="20">
|
||||
<?php if ($w == '') { ?>
|
||||
영문자, 숫자, _ 만 가능 (공백없이 20자 이내)
|
||||
<? } else { ?>
|
||||
<a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$board['bo_table']?>" class="btn_frmline">게시판 바로가기</a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $board['bo_table'] ?>" class="btn_frmline">게시판 바로가기</a>
|
||||
<a href="./board_list.php" class="btn_frmline">목록으로</a>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_id">그룹<strong class="sound_only">필수</strong></label></th>
|
||||
<td colspan="2">
|
||||
<?=get_group_select('gr_id', $board['gr_id'], 'required');?>
|
||||
<!-- <? if ($w=='u') { ?><script>document.write("<a href='javascript:;' onclick=\"location.href='./board_list.php?sfl=a.gr_id&stx='+document.getElementById('gr_id').value;\">동일 그룹 목록</a>");</script><?}?> -->
|
||||
<?php echo get_group_select('gr_id', $board['gr_id'], 'required'); ?>
|
||||
<!-- <?php if ($w=='u') { ?><script>document.write("<a href='javascript:;' onclick=\"location.href='./board_list.php?sfl=a.gr_id&stx='+document.getElementById('gr_id').value;\">동일 그룹 목록</a>");</script><?php } ?> -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_subject">게시판 제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td colspan="2">
|
||||
<input type="text" name="bo_subject" value="<?=get_text($board['bo_subject'])?>" id="bo_subject" required class="required frm_input" size="80" maxlength="120">
|
||||
<input type="text" name="bo_subject" value="<?php echo get_text($board['bo_subject']) ?>" id="bo_subject" required class="required frm_input" size="80" maxlength="120">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_device">접속기기</label></th>
|
||||
<td>
|
||||
<?=help("PC 와 모바일 사용을 구분합니다.")?>
|
||||
<?php echo help("PC 와 모바일 사용을 구분합니다.") ?>
|
||||
<select id="bo_device" name="bo_device">
|
||||
<option value="both"<?=get_selected($board['bo_device'], 'both');?>>PC와 모바일에서 모두 사용</option>
|
||||
<option value="pc"<?=get_selected($board['bo_device'], 'pc');?>>PC 전용</option>
|
||||
<option value="mobile"<?=get_selected($board['bo_device'], 'mobile');?>>모바일 전용</option>
|
||||
<option value="both"<?php echo get_selected($board['bo_device'], 'both'); ?>>PC와 모바일에서 모두 사용</option>
|
||||
<option value="pc"<?php echo get_selected($board['bo_device'], 'pc'); ?>>PC 전용</option>
|
||||
<option value="mobile"<?php echo get_selected($board['bo_device'], 'mobile'); ?>>모바일 전용</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -186,9 +191,9 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_category_list">분류</label></th>
|
||||
<td>
|
||||
<?=help('분류와 분류 사이는 | 로 구분하세요. (예: 질문|답변) 첫자로 #은 입력하지 마세요. (예: #질문|#답변 [X])')?>
|
||||
<input type="text" name="bo_category_list" value="<?=get_text($board['bo_category_list'])?>" id="bo_category_list" class="frm_input" size="70">
|
||||
<input type="checkbox" name="bo_use_category" value="1" id="bo_use_category" <?=$board['bo_use_category']?'checked':'';?>>
|
||||
<?php echo help('분류와 분류 사이는 | 로 구분하세요. (예: 질문|답변) 첫자로 #은 입력하지 마세요. (예: #질문|#답변 [X])') ?>
|
||||
<input type="text" name="bo_category_list" value="<?php echo get_text($board['bo_category_list']) ?>" id="bo_category_list" class="frm_input" size="70">
|
||||
<input type="checkbox" name="bo_use_category" value="1" id="bo_use_category" <?php echo $board['bo_use_category']?'checked':''; ?>>
|
||||
<label for="bo_use_category">사용</label>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -198,22 +203,22 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<label for="chk_all_category_list">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($w == 'u') { ?>
|
||||
<?php if ($w == 'u') { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="proc_count">카운트 조정</label></th>
|
||||
<td colspan="2">
|
||||
<?=help('현재 원글수 : '.number_format($board['bo_count_write']).', 현재 댓글수 : '.number_format($board['bo_count_comment'])."\n".'게시판 목록에서 글의 번호가 맞지 않을 경우에 체크하십시오.')?>
|
||||
<?php echo help('현재 원글수 : '.number_format($board['bo_count_write']).', 현재 댓글수 : '.number_format($board['bo_count_comment'])."\n".'게시판 목록에서 글의 번호가 맞지 않을 경우에 체크하십시오.') ?>
|
||||
<input type="checkbox" name="proc_count" value="1" id="proc_count">
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section id="frm_auth" class="cbox">
|
||||
<section id="anc_bo_auth" class="cbox">
|
||||
<h2>게시판 권한 설정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -225,7 +230,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_admin">게시판 관리자</label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_admin" value="<?=$board['bo_admin']?>" id="bo_admin" class="frm_input" maxlength="20">
|
||||
<input type="text" name="bo_admin" value="<?php echo $board['bo_admin'] ?>" id="bo_admin" class="frm_input" maxlength="20">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_admin" value="1" id="chk_grp_admin">
|
||||
@ -237,8 +242,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_list_level">목록보기 권한</label></th>
|
||||
<td>
|
||||
<?=help('권한 1은 비회원, 2 이상 회원입니다. 권한은 10 이 가장 높습니다.')?>
|
||||
<?=get_member_level_select('bo_list_level', 1, 10, $board['bo_list_level']) ?>
|
||||
<?php echo help('권한 1은 비회원, 2 이상 회원입니다. 권한은 10 이 가장 높습니다.') ?>
|
||||
<?php echo get_member_level_select('bo_list_level', 1, 10, $board['bo_list_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_list_level" value="1" id="chk_grp_list_level">
|
||||
@ -250,7 +255,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_read_level">글읽기 권한</label></th>
|
||||
<td>
|
||||
<?=get_member_level_select('bo_read_level', 1, 10, $board['bo_read_level']) ?>
|
||||
<?php echo get_member_level_select('bo_read_level', 1, 10, $board['bo_read_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_read_level" value="1" id="chk_grp_read_level">
|
||||
@ -262,7 +267,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_write_level">글쓰기 권한</label></th>
|
||||
<td>
|
||||
<?=get_member_level_select('bo_write_level', 1, 10, $board['bo_write_level']) ?>
|
||||
<?php echo get_member_level_select('bo_write_level', 1, 10, $board['bo_write_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_write_level" value="1" id="chk_grp_write_level">
|
||||
@ -274,7 +279,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_reply_level">글답변 권한</label></th>
|
||||
<td>
|
||||
<?=get_member_level_select('bo_reply_level', 1, 10, $board['bo_reply_level']) ?>
|
||||
<?php echo get_member_level_select('bo_reply_level', 1, 10, $board['bo_reply_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_reply_level" value="1" id="chk_grp_reply_level">
|
||||
@ -286,7 +291,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_comment_level">댓글쓰기 권한</label></th>
|
||||
<td>
|
||||
<?=get_member_level_select('bo_comment_level', 1, 10, $board['bo_comment_level']) ?>
|
||||
<?php echo get_member_level_select('bo_comment_level', 1, 10, $board['bo_comment_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_comment_level" value="1" id="chk_grp_comment_level">
|
||||
@ -298,7 +303,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_link_level">링크 권한</label></th>
|
||||
<td>
|
||||
<?=get_member_level_select('bo_link_level', 1, 10, $board['bo_link_level']) ?>
|
||||
<?php echo get_member_level_select('bo_link_level', 1, 10, $board['bo_link_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_link_level" value="1" id="chk_grp_link_level">
|
||||
@ -310,7 +315,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_upload_level">업로드 권한</label></th>
|
||||
<td>
|
||||
<?=get_member_level_select('bo_upload_level', 1, 10, $board['bo_upload_level']) ?>
|
||||
<?php echo get_member_level_select('bo_upload_level', 1, 10, $board['bo_upload_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_upload_level" value="1" id="chk_grp_upload_level">
|
||||
@ -322,7 +327,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_download_level">다운로드 권한</label></th>
|
||||
<td>
|
||||
<?=get_member_level_select('bo_download_level', 1, 10, $board['bo_download_level']) ?>
|
||||
<?php echo get_member_level_select('bo_download_level', 1, 10, $board['bo_download_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_download_level" value="1" id="chk_grp_download_level">
|
||||
@ -334,7 +339,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_html_level">HTML 쓰기 권한</label></th>
|
||||
<td>
|
||||
<?=get_member_level_select('bo_html_level', 1, 10, $board['bo_html_level']) ?>
|
||||
<?php echo get_member_level_select('bo_html_level', 1, 10, $board['bo_html_level']) ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_html_level" value="1" id="chk_grp_html_level">
|
||||
@ -347,9 +352,9 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section id="frm_function" class="cbox">
|
||||
<section id="anc_bo_function" class="cbox">
|
||||
<h2>게시판 기능 설정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -361,7 +366,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_count_modify">원글 수정 불가<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
댓글 <input type="text" name="bo_count_modify" value="<?=$board['bo_count_modify']?>" id="bo_count_modify" required class="required numeric frm_input" size="3">개 이상 달리면 수정불가
|
||||
댓글 <input type="text" name="bo_count_modify" value="<?php echo $board['bo_count_modify'] ?>" id="bo_count_modify" required class="required numeric frm_input" size="3">개 이상 달리면 수정불가
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_count_modify" value="1" id="chk_grp_count_modify">
|
||||
@ -373,7 +378,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_count_delete">원글 삭제 불가<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
댓글 <input type="text" name="bo_count_delete" value="<?=$board['bo_count_delete']?>" id="bo_count_delete" required class="required numeric frm_input" size="3">개 이상 달리면 삭제불가
|
||||
댓글 <input type="text" name="bo_count_delete" value="<?php echo $board['bo_count_delete'] ?>" id="bo_count_delete" required class="required numeric frm_input" size="3">개 이상 달리면 삭제불가
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_count_delete" value="1" id="chk_grp_count_delete">
|
||||
@ -385,7 +390,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_sideview">글쓴이 사이드뷰</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_sideview" value="1" id="bo_use_sideview" <?=$board['bo_use_sideview']?'checked':'';?>>사용 (글쓴이 클릭시 나오는 레이어 메뉴)
|
||||
<input type="checkbox" name="bo_use_sideview" value="1" id="bo_use_sideview" <?php echo $board['bo_use_sideview']?'checked':''; ?>>사용 (글쓴이 클릭시 나오는 레이어 메뉴)
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_use_sideview" value="1" id="chk_grp_use_sideview">
|
||||
@ -397,11 +402,11 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_secret">비밀글 사용</label></th>
|
||||
<td>
|
||||
<?=help('"체크박스"는 글작성시 비밀글 체크가 가능합니다. "무조건"은 작성되는 모든글을 비밀글로 작성합니다. (관리자는 체크박스로 출력합니다.) 스킨에 따라 적용되지 않을 수 있습니다.')?>
|
||||
<?php echo help('"체크박스"는 글작성시 비밀글 체크가 가능합니다. "무조건"은 작성되는 모든글을 비밀글로 작성합니다. (관리자는 체크박스로 출력합니다.) 스킨에 따라 적용되지 않을 수 있습니다.') ?>
|
||||
<select id="bo_use_secret" name="bo_use_secret">
|
||||
<?=option_selected(0, $board['bo_use_secret'], "사용하지 않음");?>
|
||||
<?=option_selected(1, $board['bo_use_secret'], "체크박스");?>
|
||||
<?=option_selected(2, $board['bo_use_secret'], "무조건");?>
|
||||
<?php echo option_selected(0, $board['bo_use_secret'], "사용하지 않음"); ?>
|
||||
<?php echo option_selected(1, $board['bo_use_secret'], "체크박스"); ?>
|
||||
<?php echo option_selected(2, $board['bo_use_secret'], "무조건"); ?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -414,8 +419,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_dhtml_editor">DHTML 에디터 사용</label></th>
|
||||
<td>
|
||||
<?=help('글작성시 내용을 DHTML 에디터 기능으로 사용할 것인지 설정합니다. 스킨에 따라 적용되지 않을 수 있습니다.')?>
|
||||
<input type="checkbox" name="bo_use_dhtml_editor" value="1" <?=$board['bo_use_dhtml_editor']?'checked':'';?> id="bo_use_dhtml_editor">
|
||||
<?php echo help('글작성시 내용을 DHTML 에디터 기능으로 사용할 것인지 설정합니다. 스킨에 따라 적용되지 않을 수 있습니다.') ?>
|
||||
<input type="checkbox" name="bo_use_dhtml_editor" value="1" <?php echo $board['bo_use_dhtml_editor']?'checked':''; ?> id="bo_use_dhtml_editor">
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -428,8 +433,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_rss_view">RSS 보이기 사용</label></th>
|
||||
<td>
|
||||
<?=help('비회원 글읽기가 가능하고 RSS 보이기 사용에 체크가 되어야만 RSS 지원을 합니다.')?>
|
||||
<input type="checkbox" name="bo_use_rss_view" value="1" <?=$board['bo_use_rss_view']?'checked':'';?> id="bo_use_rss_view">
|
||||
<?php echo help('비회원 글읽기가 가능하고 RSS 보이기 사용에 체크가 되어야만 RSS 지원을 합니다.') ?>
|
||||
<input type="checkbox" name="bo_use_rss_view" value="1" <?php echo $board['bo_use_rss_view']?'checked':''; ?> id="bo_use_rss_view">
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -442,7 +447,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_good">추천 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_good" value="1" <?=$board['bo_use_good']?'checked':'';?> id="bo_use_good">
|
||||
<input type="checkbox" name="bo_use_good" value="1" <?php echo $board['bo_use_good']?'checked':''; ?> id="bo_use_good">
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -455,7 +460,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_nogood">비추천 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_nogood" value="1" id="bo_use_nogood" <?=$board['bo_use_nogood']?'checked':'';?>>
|
||||
<input type="checkbox" name="bo_use_nogood" value="1" id="bo_use_nogood" <?php echo $board['bo_use_nogood']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -468,7 +473,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_name">이름(실명) 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_name" value="1" id="bo_use_name" <?=$board['bo_use_name']?'checked':'';?>>
|
||||
<input type="checkbox" name="bo_use_name" value="1" id="bo_use_name" <?php echo $board['bo_use_name']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -482,7 +487,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_signature">서명보이기 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_signature" value="1" id="bo_use_signature" <?=$board['bo_use_signature']?'checked':'';?>>
|
||||
<input type="checkbox" name="bo_use_signature" value="1" id="bo_use_signature" <?php echo $board['bo_use_signature']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -495,7 +500,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_ip_view">IP 보이기 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_ip_view" value="1" id="bo_use_ip_view" <?=$board['bo_use_ip_view']?'checked':'';?>>
|
||||
<input type="checkbox" name="bo_use_ip_view" value="1" id="bo_use_ip_view" <?php echo $board['bo_use_ip_view']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -508,7 +513,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_list_content">목록에서 내용 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_list_content" value="1" id="bo_use_list_content" <?=$board['bo_use_list_content']?'checked':'';?>>
|
||||
<input type="checkbox" name="bo_use_list_content" value="1" id="bo_use_list_content" <?php echo $board['bo_use_list_content']?'checked':''; ?>>
|
||||
사용 (사용시 속도 느려질 수 있습니다.)
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -521,7 +526,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_list_view">전체목록보이기 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_list_view" value="1" id="bo_use_list_view" <?=$board['bo_use_list_view']?'checked':'';?>>
|
||||
<input type="checkbox" name="bo_use_list_view" value="1" id="bo_use_list_view" <?php echo $board['bo_use_list_view']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -534,7 +539,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_email">메일발송 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_email" value="1" id="bo_use_email" <?=$board['bo_use_email']?'checked':'';?>>
|
||||
<input type="checkbox" name="bo_use_email" value="1" id="bo_use_email" <?php echo $board['bo_use_email']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -544,11 +549,32 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<label for="chk_all_use_email">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_cert">휴대폰 본인확인 사용</label></th>
|
||||
<td>
|
||||
<?php echo help("본인확인 여부에 따라 게시물을 조회 할 수 있도록 합니다."); ?>
|
||||
<select id="bo_use_cert" name="bo_use_cert">
|
||||
<?php
|
||||
echo option_selected("none", $board['bo_use_cert'], "사용안함");
|
||||
if ($config['cf_kcpcert_use'] != 'none') {
|
||||
echo option_selected("cert", $board['bo_use_cert'], "본인확인된 회원전체");
|
||||
echo option_selected("adult", $board['bo_use_cert'], "본인확인된 성인회원만");
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_use_cert" value="1" id="chk_grp_use_cert">
|
||||
<label for="chk_grp_use_cert">그룹적용</label>
|
||||
<input type="checkbox" name="chk_all_use_cert" value="1" id="chk_all_use_cert">
|
||||
<label for="chk_all_use_cert">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_upload_count">파일 업로드 갯수<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('게시물 한건당 업로드 할 수 있는 파일의 최대 개수 (0 은 파일첨부 사용하지 않음)')?>
|
||||
<input type="text" name="bo_upload_count" value="<?=$board['bo_upload_count']?>" id="bo_upload_count" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('게시물 한건당 업로드 할 수 있는 파일의 최대 개수 (0 은 파일첨부 사용하지 않음)') ?>
|
||||
<input type="text" name="bo_upload_count" value="<?php echo $board['bo_upload_count'] ?>" id="bo_upload_count" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_upload_count" value="1" id="chk_grp_upload_count">
|
||||
@ -557,7 +583,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<label for="chk_all_upload_count">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
$upload_max_filesize = ini_get('upload_max_filesize');
|
||||
if (!preg_match("/([m|M])$/", $upload_max_filesize)) {
|
||||
$upload_max_filesize = (int)($upload_max_filesize / 1048576);
|
||||
@ -566,8 +592,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_upload_size">파일 업로드 용량<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('최대 '.ini_get("upload_max_filesize").' 이하 업로드 가능, 1 MB = 1,048,576 bytes')?>
|
||||
업로드 파일 한개당 <input type="text" name="bo_upload_size" value="<?=$board['bo_upload_size']?>" id="bo_upload_size" required class="required numeric frm_input" size="10"> bytes 이하
|
||||
<?php echo help('최대 '.ini_get("upload_max_filesize").' 이하 업로드 가능, 1 MB = 1,048,576 bytes') ?>
|
||||
업로드 파일 한개당 <input type="text" name="bo_upload_size" value="<?php echo $board['bo_upload_size'] ?>" id="bo_upload_size" required class="required numeric frm_input" size="10"> bytes 이하
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_upload_size" value="1" id="chk_grp_upload_size">
|
||||
@ -579,7 +605,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_file_content">파일 설명 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_file_content" value="1" id="bo_use_file_content" <?=$board['bo_use_file_content']?'checked':'';?>>사용
|
||||
<input type="checkbox" name="bo_use_file_content" value="1" id="bo_use_file_content" <?php echo $board['bo_use_file_content']?'checked':''; ?>>사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_use_file_content" value="1" id="chk_grp_use_file_content">
|
||||
@ -591,8 +617,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_write_min">최소 글수 제한</label></th>
|
||||
<td>
|
||||
<?=help('글 입력시 최소 글자수를 설정. 0을 입력하면 검사하지 않음')?>
|
||||
<input type="text" name="bo_write_min" value="<?=$board['bo_write_min']?>" id="bo_write_min" class="numeric frm_input" size="4">
|
||||
<?php echo help('글 입력시 최소 글자수를 설정. 0을 입력하면 검사하지 않음') ?>
|
||||
<input type="text" name="bo_write_min" value="<?php echo $board['bo_write_min'] ?>" id="bo_write_min" class="numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_write_min" value="1" id="chk_grp_write_min">
|
||||
@ -604,8 +630,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_write_max">최대 글수 제한</label></th>
|
||||
<td>
|
||||
<?=help('글 입력시 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
|
||||
<input type="text" name="bo_write_max" value="<?=$board['bo_write_max']?>" id="bo_write_max" class="numeric frm_input" size="4">
|
||||
<?php echo help('글 입력시 최대 글자수를 설정. 0을 입력하면 검사하지 않음') ?>
|
||||
<input type="text" name="bo_write_max" value="<?php echo $board['bo_write_max'] ?>" id="bo_write_max" class="numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_write_max" value="1" id="chk_grp_write_max">
|
||||
@ -617,8 +643,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_comment_min">최소 댓글수 제한</label></th>
|
||||
<td>
|
||||
<?=help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
|
||||
<input type="text" name="bo_comment_min" value="<?=$board['bo_comment_min']?>" id="bo_comment_min" class="numeric frm_input" size="4">
|
||||
<?php echo help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음') ?>
|
||||
<input type="text" name="bo_comment_min" value="<?php echo $board['bo_comment_min'] ?>" id="bo_comment_min" class="numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_comment_min" value="1" id="chk_grp_comment_min">
|
||||
@ -630,8 +656,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_comment_max">최대 댓글수 제한</label></th>
|
||||
<td>
|
||||
<?=help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음')?>
|
||||
<input type="text" name="bo_comment_max" value="<?=$board['bo_comment_max']?>" id="bo_comment_max" class="numeric frm_input" size="4">
|
||||
<?php echo help('댓글 입력시 최소 글자수, 최대 글자수를 설정. 0을 입력하면 검사하지 않음') ?>
|
||||
<input type="text" name="bo_comment_max" value="<?php echo $board['bo_comment_max'] ?>" id="bo_comment_max" class="numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_comment_max" value="1" id="chk_grp_comment_max">
|
||||
@ -643,7 +669,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_use_search">전체 검색 사용</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="bo_use_search" value="1" id="bo_use_search" <?=$board['bo_use_search']?'checked':'';?>>
|
||||
<input type="checkbox" name="bo_use_search" value="1" id="bo_use_search" <?php echo $board['bo_use_search']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -656,8 +682,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_show_menu">메뉴보이기</label></th>
|
||||
<td>
|
||||
<?=help("사용에 체크하시면 게시판 제목을 메뉴에 출력합니다.")?>
|
||||
<input type="checkbox" name="bo_show_menu" value="1" id="bo_show_menu" <?=$board['bo_show_menu']?'checked':'';?>>
|
||||
<?php echo help("사용에 체크하시면 게시판 제목을 메뉴에 출력합니다.") ?>
|
||||
<input type="checkbox" name="bo_show_menu" value="1" id="bo_show_menu" <?php echo $board['bo_show_menu']?'checked':''; ?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -670,8 +696,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_order">출력 순서</label></th>
|
||||
<td>
|
||||
<?=help('숫자가 낮은 게시판 부터 메뉴나 검색시 우선 출력합니다.')?>
|
||||
<input type="text" name="bo_order" value="<?=$board['bo_order']?>" id="bo_order" class="frm_input" size="4">
|
||||
<?php echo help('숫자가 낮은 게시판 부터 메뉴나 검색시 우선 출력합니다.') ?>
|
||||
<input type="text" name="bo_order" value="<?php echo $board['bo_order'] ?>" id="bo_order" class="frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_order" value="1" id="chk_grp_order">
|
||||
@ -684,9 +710,9 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section id="frm_design" class="cbox">
|
||||
<section id="anc_bo_design" class="cbox">
|
||||
<h2>게시판 디자인/양식</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -698,7 +724,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_skin">스킨 디렉토리<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=get_skin_select('board', 'bo_skin', 'bo_skin', $board['bo_skin'], 'required');?>
|
||||
<?php echo get_skin_select('board', 'bo_skin', 'bo_skin', $board['bo_skin'], 'required'); ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_skin" value="1" id="chk_grp_skin">
|
||||
@ -711,7 +737,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_mobile_skin">모바일<br>스킨 디렉토리<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=get_mobile_skin_select('board', 'bo_mobile_skin', 'bo_mobile_skin', $board['bo_mobile_skin'], 'required');?>
|
||||
<?php echo get_mobile_skin_select('board', 'bo_mobile_skin', 'bo_mobile_skin', $board['bo_mobile_skin'], 'required'); ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_mobile_skin" value="1" id="chk_grp_mobile_skin">
|
||||
@ -723,7 +749,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_include_head">상단 파일 경로</label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_include_head" value="<?=$board['bo_include_head']?>" id="bo_include_head" class="frm_input" size="50">
|
||||
<input type="text" name="bo_include_head" value="<?php echo $board['bo_include_head'] ?>" id="bo_include_head" class="frm_input" size="50">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_include_head" value="1" id="chk_grp_include_head">
|
||||
@ -735,7 +761,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_include_tail">하단 파일 경로</label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_include_tail" value="<?=$board['bo_include_tail']?>" id="bo_include_tail" class="frm_input" size="50">
|
||||
<input type="text" name="bo_include_tail" value="<?php echo $board['bo_include_tail'] ?>" id="bo_include_tail" class="frm_input" size="50">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_include_tail" value="1" id="chk_grp_include_tail">
|
||||
@ -747,7 +773,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_content_head">상단 내용</label></th>
|
||||
<td>
|
||||
<?=editor_html("bo_content_head", $board['bo_content_head']);?>
|
||||
<?php echo editor_html("bo_content_head", $board['bo_content_head']); ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_content_head" value="1" id="chk_grp_content_head">
|
||||
@ -759,7 +785,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_content_tail">하단 내용</label></th>
|
||||
<td>
|
||||
<?=editor_html("bo_content_tail", $board['bo_content_tail']);?>
|
||||
<?php echo editor_html("bo_content_tail", $board['bo_content_tail']); ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_content_tail" value="1" id="chk_grp_content_tail">
|
||||
@ -771,7 +797,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_mobile_content_head">모바일 상단 내용</label></th>
|
||||
<td>
|
||||
<?=editor_html("bo_mobile_content_head", $board['bo_mobile_content_head']);?>
|
||||
<?php echo editor_html("bo_mobile_content_head", $board['bo_mobile_content_head']); ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_mobile_content_head" value="1" id="chk_grp_mobile_content_head">
|
||||
@ -783,7 +809,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_mobile_content_tail">모바일 하단 내용</label></th>
|
||||
<td>
|
||||
<?=editor_html("bo_mobile_content_tail", $board['bo_mobile_content_tail']);?>
|
||||
<?php echo editor_html("bo_mobile_content_tail", $board['bo_mobile_content_tail']); ?>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_mobile_content_tail" value="1" id="chk_grp_mobile_content_tail">
|
||||
@ -795,7 +821,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_insert_content">글쓰기 기본 내용</label></th>
|
||||
<td>
|
||||
<textarea id="bo_insert_content" name="bo_insert_content" rows="5"><?=$board['bo_insert_content'] ?></textarea>
|
||||
<textarea id="bo_insert_content" name="bo_insert_content" rows="5"><?php echo $board['bo_insert_content'] ?></textarea>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_insert_content" value="1" id="chk_grp_insert_content">
|
||||
@ -807,8 +833,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_subject_len">제목 길이<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시')?>
|
||||
<input type="text" name="bo_subject_len" value="<?=$board['bo_subject_len']?>" id="bo_subject_len" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시') ?>
|
||||
<input type="text" name="bo_subject_len" value="<?php echo $board['bo_subject_len'] ?>" id="bo_subject_len" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_subject_len" value="1" id="chk_grp_subject_len">
|
||||
@ -820,8 +846,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_mobile_subject_len">모바일 제목 길이<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시')?>
|
||||
<input type="text" name="bo_mobile_subject_len" value="<?=$board['bo_mobile_subject_len']?>" id="bo_mobile_subject_len" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('목록에서의 제목 글자수. 잘리는 글은 … 로 표시') ?>
|
||||
<input type="text" name="bo_mobile_subject_len" value="<?php echo $board['bo_mobile_subject_len'] ?>" id="bo_mobile_subject_len" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_mobile_subject_len" value="1" id="chk_grp_mobile_subject_len">
|
||||
@ -833,7 +859,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_page_rows">페이지당 목록 수<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_page_rows" value="<?=$board['bo_page_rows']?>" id="bo_page_rows" required class="required numeric frm_input" size="4">
|
||||
<input type="text" name="bo_page_rows" value="<?php echo $board['bo_page_rows'] ?>" id="bo_page_rows" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_page_rows" value="1" id="chk_grp_page_rows">
|
||||
@ -845,7 +871,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_mobile_page_rows">모바일 페이지당 목록 수<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_mobile_page_rows" value="<?=$board['bo_mobile_page_rows']?>" id="bo_mobile_page_rows" required class="required numeric frm_input" size="4">
|
||||
<input type="text" name="bo_mobile_page_rows" value="<?php echo $board['bo_mobile_page_rows'] ?>" id="bo_mobile_page_rows" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_mobile_page_rows" value="1" id="chk_grp_mobile_page_rows">
|
||||
@ -857,8 +883,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_gallery_cols">갤러리 이미지 수<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값')?>
|
||||
<input type="text" name="bo_gallery_cols" value="<?=$board['bo_gallery_cols']?>" id="bo_gallery_cols" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값') ?>
|
||||
<input type="text" name="bo_gallery_cols" value="<?php echo $board['bo_gallery_cols'] ?>" id="bo_gallery_cols" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_gallery_cols" value="1" id="chk_grp_gallery_cols">
|
||||
@ -870,8 +896,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_gallery_width">갤러리 이미지 폭<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값')?>
|
||||
<input type="text" name="bo_gallery_width" value="<?=$board['bo_gallery_width']?>" id="bo_gallery_width" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값') ?>
|
||||
<input type="text" name="bo_gallery_width" value="<?php echo $board['bo_gallery_width'] ?>" id="bo_gallery_width" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_gallery_width" value="1" id="chk_grp_gallery_width">
|
||||
@ -883,8 +909,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_gallery_height">갤러리 이미지 높이<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값')?>
|
||||
<input type="text" name="bo_gallery_height" value="<?=$board['bo_gallery_height']?>" id="bo_gallery_height" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값') ?>
|
||||
<input type="text" name="bo_gallery_height" value="<?php echo $board['bo_gallery_height'] ?>" id="bo_gallery_height" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_gallery_height" value="1" id="chk_grp_gallery_height">
|
||||
@ -896,8 +922,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_mobile_gallery_cols">모바일<br>갤러리 이미지 수<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('모바일로 접속시 갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값')?>
|
||||
<input type="text" name="bo_mobile_gallery_cols" value="<?=$board['bo_mobile_gallery_cols']?>" id="bo_mobile_gallery_cols" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('모바일로 접속시 갤러리 형식의 게시판 목록에서 이미지를 한줄에 몇장씩 보여 줄 것인지를 설정하는 값') ?>
|
||||
<input type="text" name="bo_mobile_gallery_cols" value="<?php echo $board['bo_mobile_gallery_cols'] ?>" id="bo_mobile_gallery_cols" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="mobile_chk_grp_gallery_cols" id="mobile_chk_grp_gallery_cols" value="1">
|
||||
@ -909,8 +935,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_mobile_gallery_width">모바일<br>갤러리 이미지 폭<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값')?>
|
||||
<input type="text" name="bo_mobile_gallery_width" value="<?=$board['bo_mobile_gallery_width']?>" id="bo_mobile_gallery_width" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 폭을 설정하는 값') ?>
|
||||
<input type="text" name="bo_mobile_gallery_width" value="<?php echo $board['bo_mobile_gallery_width'] ?>" id="bo_mobile_gallery_width" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="mobile_chk_grp_gallery_width" value="1" id="mobile_chk_grp_gallery_width">
|
||||
@ -922,8 +948,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_mobile_gallery_height">모바일<br>갤러리 이미지 높이<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값')?>
|
||||
<input type="text" name="bo_mobile_gallery_height" value="<?=$board['bo_mobile_gallery_height']?>" id="bo_mobile_gallery_height" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('모바일로 접속시 갤러리 형식의 게시판 목록에서 썸네일 이미지의 높이를 설정하는 값') ?>
|
||||
<input type="text" name="bo_mobile_gallery_height" value="<?php echo $board['bo_mobile_gallery_height'] ?>" id="bo_mobile_gallery_height" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="mobile_chk_grp_gallery_height" value="1" id="mobile_chk_grp_gallery_height">
|
||||
@ -935,8 +961,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_table_width">게시판 폭<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('100 이하는 %')?>
|
||||
<input type="text" name="bo_table_width" value="<?=$board['bo_table_width']?>" id="bo_table_width" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('100 이하는 %') ?>
|
||||
<input type="text" name="bo_table_width" value="<?php echo $board['bo_table_width'] ?>" id="bo_table_width" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_table_width" value="1" id="chk_grp_table_width">
|
||||
@ -948,8 +974,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_image_width">이미지 폭 크기<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('게시판에서 출력되는 이미지의 폭 크기')?>
|
||||
<input type="text" name="bo_image_width" value="<?=$board['bo_image_width']?>" id="bo_image_width" required class="required numeric frm_input" size="4"> 픽셀
|
||||
<?php echo help('게시판에서 출력되는 이미지의 폭 크기') ?>
|
||||
<input type="text" name="bo_image_width" value="<?php echo $board['bo_image_width'] ?>" id="bo_image_width" required class="required numeric frm_input" size="4"> 픽셀
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_image_width" value="1" id="chk_grp_image_width">
|
||||
@ -961,8 +987,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_new">새글 아이콘<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('글 입력후 new 이미지를 출력하는 시간')?>
|
||||
<input type="text" name="bo_new" value="<?=$board['bo_new']?>" id="bo_new" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('글 입력후 new 이미지를 출력하는 시간') ?>
|
||||
<input type="text" name="bo_new" value="<?php echo $board['bo_new'] ?>" id="bo_new" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_new" value="1" id="chk_grp_new">
|
||||
@ -974,8 +1000,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_hot">인기글 아이콘<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<?=help('조회수가 설정값 이상이면 hot 이미지 출력')?>
|
||||
<input type="text" name="bo_hot" value="<?=$board['bo_hot']?>" id="bo_hot" required class="required numeric frm_input" size="4">
|
||||
<?php echo help('조회수가 설정값 이상이면 hot 이미지 출력') ?>
|
||||
<input type="text" name="bo_hot" value="<?php echo $board['bo_hot'] ?>" id="bo_hot" required class="required numeric frm_input" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_hot" value="1" id="chk_grp_hot">
|
||||
@ -988,8 +1014,8 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<th scope="row"><label for="bo_reply_order">답변 달기</label></th>
|
||||
<td>
|
||||
<select id="bo_reply_order" name="bo_reply_order">
|
||||
<option value="1"<?=get_selected($board['bo_reply_order'], 1, true);?>>나중에 쓴 답변 아래로 달기 (기본)
|
||||
<option value="0"<?=get_selected($board['bo_reply_order'], 0);?>>나중에 쓴 답변 위로 달기
|
||||
<option value="1"<?php echo get_selected($board['bo_reply_order'], 1, true); ?>>나중에 쓴 답변 아래로 달기 (기본)
|
||||
<option value="0"<?php echo get_selected($board['bo_reply_order'], 0); ?>>나중에 쓴 답변 위로 달기
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -1002,27 +1028,27 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_sort_field">리스트 정렬 필드</label></th>
|
||||
<td>
|
||||
<?=help('리스트에서 기본으로 정렬에 사용할 필드를 선택합니다. "기본"으로 사용하지 않으시는 경우 속도가 느려질 수 있습니다.')?>
|
||||
<?php echo help('리스트에서 기본으로 정렬에 사용할 필드를 선택합니다. "기본"으로 사용하지 않으시는 경우 속도가 느려질 수 있습니다.') ?>
|
||||
<select id="bo_sort_field" name="bo_sort_field">
|
||||
<option value="" <?=get_selected($board['bo_sort_field'], "");?>>wr_num, wr_reply : 기본</option>
|
||||
<option value="wr_datetime asc" <?=get_selected($board['bo_sort_field'], "wr_datetime asc");?>>wr_datetime asc : 날짜 이전것 부터</option>
|
||||
<option value="wr_datetime desc" <?=get_selected($board['bo_sort_field'], "wr_datetime desc");?>>wr_datetime desc : 날짜 최근것 부터</option>
|
||||
<option value="wr_hit asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_hit asc, wr_num, wr_reply");?>>wr_hit asc : 조회수 낮은것 부터</option>
|
||||
<option value="wr_hit desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_hit desc, wr_num, wr_reply");?>>wr_hit desc : 조회수 높은것 부터</option>
|
||||
<option value="wr_last asc" <?=get_selected($board['bo_sort_field'], "wr_last asc");?>>wr_last asc : 최근글 이전것 부터</option>
|
||||
<option value="wr_last desc" <?=get_selected($board['bo_sort_field'], "wr_last desc");?>>wr_last desc : 최근글 최근것 부터</option>
|
||||
<option value="wr_comment asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_comment asc, wr_num, wr_reply");?>>wr_comment asc : 댓글수 낮은것 부터</option>
|
||||
<option value="wr_comment desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_comment desc, wr_num, wr_reply");?>>wr_comment desc : 댓글수 높은것 부터</option>
|
||||
<option value="wr_good asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_good asc, wr_num, wr_reply");?>>wr_good asc : 추천수 낮은것 부터</option>
|
||||
<option value="wr_good desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_good desc, wr_num, wr_reply");?>>wr_good desc : 추천수 높은것 부터</option>
|
||||
<option value="wr_nogood asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_nogood asc, wr_num, wr_reply");?>>wr_nogood asc : 비추천수 낮은것 부터</option>
|
||||
<option value="wr_nogood desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_nogood desc, wr_num, wr_reply");?>>wr_nogood desc : 비추천수 높은것 부터</option>
|
||||
<option value="wr_subject asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_subject asc, wr_num, wr_reply");?>>wr_subject asc : 제목 내림차순</option>
|
||||
<option value="wr_subject desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_subject desc, wr_num, wr_reply");?>>wr_subject desc : 제목 오름차순</option>
|
||||
<option value="wr_name asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_name asc, wr_num, wr_reply");?>>wr_name asc : 글쓴이 내림차순</option>
|
||||
<option value="wr_name desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "wr_name desc, wr_num, wr_reply");?>>wr_name desc : 글쓴이 오름차순</option>
|
||||
<option value="ca_name asc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "ca_name asc, wr_num, wr_reply");?>>ca_name asc : 분류명 내림차순</option>
|
||||
<option value="ca_name desc, wr_num, wr_reply" <?=get_selected($board['bo_sort_field'], "ca_name desc, wr_num, wr_reply");?>>ca_name desc : 분류명 오름차순</option>
|
||||
<option value="" <?php echo get_selected($board['bo_sort_field'], ""); ?>>wr_num, wr_reply : 기본</option>
|
||||
<option value="wr_datetime asc" <?php echo get_selected($board['bo_sort_field'], "wr_datetime asc"); ?>>wr_datetime asc : 날짜 이전것 부터</option>
|
||||
<option value="wr_datetime desc" <?php echo get_selected($board['bo_sort_field'], "wr_datetime desc"); ?>>wr_datetime desc : 날짜 최근것 부터</option>
|
||||
<option value="wr_hit asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_hit asc, wr_num, wr_reply"); ?>>wr_hit asc : 조회수 낮은것 부터</option>
|
||||
<option value="wr_hit desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_hit desc, wr_num, wr_reply"); ?>>wr_hit desc : 조회수 높은것 부터</option>
|
||||
<option value="wr_last asc" <?php echo get_selected($board['bo_sort_field'], "wr_last asc"); ?>>wr_last asc : 최근글 이전것 부터</option>
|
||||
<option value="wr_last desc" <?php echo get_selected($board['bo_sort_field'], "wr_last desc"); ?>>wr_last desc : 최근글 최근것 부터</option>
|
||||
<option value="wr_comment asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_comment asc, wr_num, wr_reply"); ?>>wr_comment asc : 댓글수 낮은것 부터</option>
|
||||
<option value="wr_comment desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_comment desc, wr_num, wr_reply"); ?>>wr_comment desc : 댓글수 높은것 부터</option>
|
||||
<option value="wr_good asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_good asc, wr_num, wr_reply"); ?>>wr_good asc : 추천수 낮은것 부터</option>
|
||||
<option value="wr_good desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_good desc, wr_num, wr_reply"); ?>>wr_good desc : 추천수 높은것 부터</option>
|
||||
<option value="wr_nogood asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_nogood asc, wr_num, wr_reply"); ?>>wr_nogood asc : 비추천수 낮은것 부터</option>
|
||||
<option value="wr_nogood desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_nogood desc, wr_num, wr_reply"); ?>>wr_nogood desc : 비추천수 높은것 부터</option>
|
||||
<option value="wr_subject asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_subject asc, wr_num, wr_reply"); ?>>wr_subject asc : 제목 내림차순</option>
|
||||
<option value="wr_subject desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_subject desc, wr_num, wr_reply"); ?>>wr_subject desc : 제목 오름차순</option>
|
||||
<option value="wr_name asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_name asc, wr_num, wr_reply"); ?>>wr_name asc : 글쓴이 내림차순</option>
|
||||
<option value="wr_name desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "wr_name desc, wr_num, wr_reply"); ?>>wr_name desc : 글쓴이 오름차순</option>
|
||||
<option value="ca_name asc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "ca_name asc, wr_num, wr_reply"); ?>>ca_name asc : 분류명 내림차순</option>
|
||||
<option value="ca_name desc, wr_num, wr_reply" <?php echo get_selected($board['bo_sort_field'], "ca_name desc, wr_num, wr_reply"); ?>>ca_name desc : 분류명 오름차순</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
@ -1035,9 +1061,9 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section id="frm_point" class="cbox">
|
||||
<section id="anc_bo_point" class="cbox">
|
||||
<h2>게시판 포인트 설정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -1049,14 +1075,14 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="chk_grp_point">기본값으로 설정</label></th>
|
||||
<td colspan="2">
|
||||
<?=help('환경설정에 입력된 포인트로 설정')?>
|
||||
<?php echo help('환경설정에 입력된 포인트로 설정') ?>
|
||||
<input type="checkbox" name="chk_grp_point" id="chk_grp_point" onclick="set_point(this.form)">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_read_point">글읽기 포인트<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_read_point" value="<?=$board['bo_read_point']?>" id="bo_read_point" required class="required frm_input" size="5">
|
||||
<input type="text" name="bo_read_point" value="<?php echo $board['bo_read_point'] ?>" id="bo_read_point" required class="required frm_input" size="5">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_read_point" value="1" id="chk_grp_read_point">
|
||||
@ -1068,7 +1094,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_write_point">글쓰기 포인트<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_write_point" value="<?=$board['bo_write_point']?>" id="bo_write_point" required class="required frm_input" size="5">
|
||||
<input type="text" name="bo_write_point" value="<?php echo $board['bo_write_point'] ?>" id="bo_write_point" required class="required frm_input" size="5">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_write_point" value="1" id="chk_grp_write_point">
|
||||
@ -1080,7 +1106,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_comment_point">댓글쓰기 포인트<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_comment_point" value="<?=$board['bo_comment_point']?>" id="bo_comment_point" required class="required frm_input" size="5">
|
||||
<input type="text" name="bo_comment_point" value="<?php echo $board['bo_comment_point'] ?>" id="bo_comment_point" required class="required frm_input" size="5">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_comment_point" value="1" id="chk_grp_comment_point">
|
||||
@ -1092,7 +1118,7 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_download_point">다운로드 포인트<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="bo_download_point" value="<?=$board['bo_download_point']?>" id="bo_download_point" required class="required frm_input" size="5">
|
||||
<input type="text" name="bo_download_point" value="<?php echo $board['bo_download_point'] ?>" id="bo_download_point" required class="required frm_input" size="5">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_download_point" value="1" id="chk_grp_download_point">
|
||||
@ -1105,9 +1131,9 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<section id="frm_extra" class="cbox">
|
||||
<section id="anc_bo_extra" class="cbox">
|
||||
<h2>게시판 여분필드 설정</h2>
|
||||
<?=$pg_anchor?>
|
||||
<?php echo $pg_anchor ?>
|
||||
|
||||
<table class="frm_tbl">
|
||||
<colgroup>
|
||||
@ -1116,23 +1142,23 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<col class="grid_3">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<? for ($i=1; $i<=10; $i++) { ?>
|
||||
<?php for ($i=1; $i<=10; $i++) { ?>
|
||||
<tr>
|
||||
<th scope="row">여분필드<?=$i?></th>
|
||||
<th scope="row">여분필드<?php echo $i ?></th>
|
||||
<td>
|
||||
<label for="bo_<?=$i?>_subj">여분필드 <?=$i?> 제목</label>
|
||||
<input type="text" name="bo_<?=$i?>_subj" id="bo_<?=$i?>_subj" value="<?=get_text($board['bo_'.$i.'_subj'])?>" class="frm_input">
|
||||
<label for="bo_<?=$i?>">여분필드 <?=$i?> 값</label>
|
||||
<input type="text" name="bo_<?=$i?>" value="<?=get_text($board['bo_'.$i])?>" id="bo_<?=$i?>" class="frm_input">
|
||||
<label for="bo_<?php echo $i ?>_subj">여분필드 <?php echo $i ?> 제목</label>
|
||||
<input type="text" name="bo_<?php echo $i ?>_subj" id="bo_<?php echo $i ?>_subj" value="<?php echo get_text($board['bo_'.$i.'_subj']) ?>" class="frm_input">
|
||||
<label for="bo_<?php echo $i ?>">여분필드 <?php echo $i ?> 값</label>
|
||||
<input type="text" name="bo_<?php echo $i ?>" value="<?php echo get_text($board['bo_'.$i]) ?>" id="bo_<?php echo $i ?>" class="frm_input">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" name="chk_grp_<?=$i?>" value="1" id="chk_grp_<?=$i?>">
|
||||
<label for="chk_grp_<?=$i?>">그룹적용</label>
|
||||
<input type="checkbox" name="chk_all_<?=$i?>" value="1" id="chk_all_<?=$i?>">
|
||||
<label for="chk_all_<?=$i?>">전체적용</label>
|
||||
<input type="checkbox" name="chk_grp_<?php echo $i ?>" value="1" id="chk_grp_<?php echo $i ?>">
|
||||
<label for="chk_grp_<?php echo $i ?>">그룹적용</label>
|
||||
<input type="checkbox" name="chk_all_<?php echo $i ?>" value="1" id="chk_all_<?php echo $i ?>">
|
||||
<label for="chk_all_<?php echo $i ?>">전체적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@ -1147,11 +1173,11 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
<div class="btn_confirm">
|
||||
<p>
|
||||
작성하신 내용을 제출하시려면 <strong>확인</strong> 버튼을, 작성을 취소하고 목록으로 돌아가시려면 <strong>목록</strong> 링크를 누르세요.
|
||||
<? if ($w == 'u') { ?><br>게시판을 복사하시려면 <strong>게시판복사</strong> 링크를 누르세요.<? } ?>
|
||||
<?php if ($w == 'u') { ?><br>게시판을 복사하시려면 <strong>게시판복사</strong> 링크를 누르세요.<?php } ?>
|
||||
</p>
|
||||
<input type="submit" value="확인" class="btn_submit" accesskey="s">
|
||||
<a href="./board_list.php?<?=$qstr?>">목록</a>
|
||||
<? if ($w == 'u') { ?><a href="./board_copy.php?bo_table=<?=$bo_table?>" id="board_copy" target="win_board_copy">게시판복사</a><?}?>
|
||||
<a href="./board_list.php?<?php echo $qstr ?>">목록</a>
|
||||
<?php if ($w == 'u') { ?><a href="./board_copy.php?bo_table=<?php echo $bo_table ?>" id="board_copy" target="win_board_copy">게시판복사</a><?php } ?>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
@ -1170,10 +1196,10 @@ function board_copy(bo_table) {
|
||||
|
||||
function set_point(f) {
|
||||
if (f.chk_grp_point.checked) {
|
||||
f.bo_read_point.value = "<?=$config['cf_read_point']?>";
|
||||
f.bo_write_point.value = "<?=$config['cf_write_point']?>";
|
||||
f.bo_comment_point.value = "<?=$config['cf_comment_point']?>";
|
||||
f.bo_download_point.value = "<?=$config['cf_download_point']?>";
|
||||
f.bo_read_point.value = "<?php echo $config['cf_read_point'] ?>";
|
||||
f.bo_write_point.value = "<?php echo $config['cf_write_point'] ?>";
|
||||
f.bo_comment_point.value = "<?php echo $config['cf_comment_point'] ?>";
|
||||
f.bo_download_point.value = "<?php echo $config['cf_download_point'] ?>";
|
||||
} else {
|
||||
f.bo_read_point.value = f.bo_read_point.defaultValue;
|
||||
f.bo_write_point.value = f.bo_write_point.defaultValue;
|
||||
@ -1184,10 +1210,10 @@ function set_point(f) {
|
||||
|
||||
function fboardform_submit(f)
|
||||
{
|
||||
<?=get_editor_js("bo_content_head");?>
|
||||
<?=get_editor_js("bo_content_tail");?>
|
||||
<?=get_editor_js("bo_mobile_content_head");?>
|
||||
<?=get_editor_js("bo_mobile_content_tail");?>
|
||||
<?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"); ?>
|
||||
|
||||
if (parseInt(f.bo_count_modify.value) < 1) {
|
||||
alert("원글 수정 불가 댓글수는 1 이상 입력하셔야 합니다.");
|
||||
@ -1205,6 +1231,6 @@ function fboardform_submit(f)
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once ('./admin.tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user