|
@ -3,100 +3,145 @@ |
|
|
</div> |
|
|
</div> |
|
|
<?=validation_errors('<p class="alert alert-danger">')?>
|
|
|
<?=validation_errors('<p class="alert alert-danger">')?>
|
|
|
<?=form_open(NULL, array("autocomplete"=>"off","data-form"=>"board-form",'class'=>'form-flex'))?>
|
|
|
<?=form_open(NULL, array("autocomplete"=>"off","data-form"=>"board-form",'class'=>'form-flex'))?>
|
|
|
<div class="row"> |
|
|
|
|
|
<div class="col-sm-3"> |
|
|
|
|
|
<ul class="nav nav-cards"> |
|
|
|
|
|
<li role="presentation"><a class="card selected"><?=empty($brd_key)?'게시판 신규 등록': "게시판 정보 수정";?></a></li>
|
|
|
|
|
|
<?php if($brd_key) : ?>
|
|
|
|
|
|
<li role="presentation"><a class="card" href="<?=base_url('admin/board/category/'.$brd_key)?>">카테고리 설정</a></li> |
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
|
<div data-ax-tbl> |
|
|
|
|
|
<div class="caption">게시판 기본 설정</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>게시판 고유 키</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input class="form-control form-control-inline" maxlength="20" name="brd_key" value="<?=element('brd_key', $view)?>" <?=$brd_key?'readonly':'required'?>>
|
|
|
|
|
|
<p class="help-block">4-20자의 영어소문자</p> |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-sm-9"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title">기본 설정</h4> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="panel-body"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">게시판 고유 키</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input class="form-control form-control-inline" maxlength="20" name="brd_key" value="<?=element('brd_key', $view)?>" <?=$brd_key?'readonly':'required'?>>
|
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<?php if (empty($brd_key)) : ?>
|
|
|
<?php if (empty($brd_key)) : ?>
|
|
|
<button type="button" class="btn btn-default ML10" id="btn-check-brd-key"><i class="fal fa-check"></i> 중복 확인</button> |
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-default btn-sm ML10" id="btn-check-brd-key"><i class="fal fa-check"></i> 중복 확인</button> |
|
|
<?php endif;?>
|
|
|
<?php endif;?>
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">게시판 이름</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input class="form-control" name="brd_title" value="<?=element('brd_title', $view)?>" required> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">게시판 이름 (모바일)</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input class="form-control" name="brd_title_m" value="<?=element('brd_title_m', $view)?>"> |
|
|
|
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>게시판 이름</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input class="form-control" name="brd_title" maxlength="30" value="<?=element('brd_title', $view)?>" required> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">게시판 키워드</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td class="width-100"> |
|
|
|
|
|
<div data-ax-td-label>게시판 키워드</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<input class="form-control" name="brd_keywords" value="<?=element('brd_keywords', $view)?>"> |
|
|
<input class="form-control" name="brd_keywords" value="<?=element('brd_keywords', $view)?>"> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">요약 설명</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<textarea class="form-control" name="brd_description" rows="4"><?=element('brd_description', $view)?></textarea>
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td class="width-100"> |
|
|
|
|
|
<div data-ax-td-label>게시판 요약설명</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<textarea class="form-control" name="brd_description" data-autosize><?=element('brd_description', $view)?></textarea>
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">검색 설정</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td class="width-100"> |
|
|
|
|
|
<div data-ax-td-label>카테고리</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<label class="w-check"> |
|
|
<label class="w-check"> |
|
|
<input type="checkbox" name="brd_search" value="Y" <?=element('brd_search', $view, 'Y')=='Y'?'checked':''?>><span>전체 검색시 게시판의 글 노출</span>
|
|
|
|
|
|
|
|
|
<input type="checkbox" name="brd_use_category" value="Y" <?=element('brd_use_category', $view)=='Y'?'checked':''?>><span>기능 사용</span>
|
|
|
</label> |
|
|
</label> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">노출 순서</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control" name="brd_sort" value="<?=element('brd_sort', $view, 0)?>"> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">카테고리 기능 사용</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<label class="w-check"> |
|
|
|
|
|
<input type="checkbox" name="brd_use_category" value="Y" <?=element('brd_use_category', $view)=='Y'?'checked':''?>><span>카테고리 기능 사용</span>
|
|
|
|
|
|
</label> |
|
|
|
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td class="width-100"> |
|
|
|
|
|
<div data-ax-td-label>카테고리 목록</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input class="form-control" name="brd_category" value="<?=element('brd_category', $view)?>" maxlength="255"> |
|
|
|
|
|
<p class="help-block">카테고리를 세미콜론(;)으로 여러개를 입력해주세요. ex) 자유;정보;잡담</p> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td class="width-100"> |
|
|
|
|
|
<div data-ax-td-label>시간 표시형식</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_display_time"> |
|
|
|
|
|
<option value="sns" <?=element('brd_use_anonymous',$view)=='sns'?'selected':''?>>SNS형식</option>
|
|
|
|
|
|
<option value="basic" <?=element('brd_use_anonymous',$view)=='basic'?'selected':''?>>기본형</option>
|
|
|
|
|
|
<option value="full" <?=element('brd_use_anonymous',$view)=='full'?'selected':''?>>전체표시</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="H10"></div> |
|
|
|
|
|
|
|
|
|
|
|
<div data-ax-tbl> |
|
|
|
|
|
<div class="caption">페이지 기능</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>페이지 기능</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_page_limit"> |
|
|
|
|
|
<option value="Y" <?=element('brd_page_limit',$view,'Y')=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_page_limit',$view,'Y')=='N'?'selected':''?>>미사용</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>한페이지 글수</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" min="0" class="form-control form-control-inline" name="brd_page_rows" value="<?=element('brd_page_rows', $view, 15)?>" required> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>모바일</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" min="0" class="form-control form-control-inline" name="brd_page_rows_m" value="<?=element('brd_page_rows_m', $view, 10)?>" required> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>한번에 표시 페이지</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" min="0" class="form-control" name="brd_fixed_num" value="<?=element('brd_fixed_num', $view, 10)?>" required> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title">게시판 스킨 설정</h4> |
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>모바일</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" min="0" class="form-control" name="brd_fixed_num_m" value="<?=element('brd_fixed_num_m', $view, 10)?>" required> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="panel-body"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">목록 스킨</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
<div class="H10"></div> |
|
|
|
|
|
|
|
|
|
|
|
<div data-ax-tbl> |
|
|
|
|
|
<div class="caption">게시판 스킨 설정</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>목록 스킨</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_skin_l"> |
|
|
<select class="form-control" name="brd_skin_l"> |
|
|
<?php foreach($skin_list_l as $skin) : ?>
|
|
|
<?php foreach($skin_list_l as $skin) : ?>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_l',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_l',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<?php endforeach;?>
|
|
|
<?php endforeach;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">목록 스킨 (모바일)</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>모바일</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_skin_l_m"> |
|
|
<select class="form-control" name="brd_skin_l_m"> |
|
|
<?php foreach($skin_list_l as $skin) : ?>
|
|
|
<?php foreach($skin_list_l as $skin) : ?>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_l_m',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_l_m',$view)?'selected':''?>><?=$skin?></option>
|
|
@ -104,18 +149,21 @@ |
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">글쓰기 스킨</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>글쓰기 스킨</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_skin_w"> |
|
|
<select class="form-control" name="brd_skin_w"> |
|
|
<?php foreach($skin_list_w as $skin) : ?>
|
|
|
<?php foreach($skin_list_w as $skin) : ?>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_w',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_w',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<?php endforeach;?>
|
|
|
<?php endforeach;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">글쓰기 스킨 (모바일)</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>모바일</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_skin_w_m"> |
|
|
<select class="form-control" name="brd_skin_w_m"> |
|
|
<?php foreach($skin_list_w as $skin) : ?>
|
|
|
<?php foreach($skin_list_w as $skin) : ?>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_w_m',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_w_m',$view)?'selected':''?>><?=$skin?></option>
|
|
@ -123,18 +171,21 @@ |
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">글 보기 스킨</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>글내용 보기 스킨</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_skin_v"> |
|
|
<select class="form-control" name="brd_skin_v"> |
|
|
<?php foreach($skin_list_v as $skin) : ?>
|
|
|
<?php foreach($skin_list_v as $skin) : ?>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_v',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_v',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<?php endforeach;?>
|
|
|
<?php endforeach;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">글쓰기 스킨 (모바일)</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>모바일</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_skin_v_m"> |
|
|
<select class="form-control" name="brd_skin_v_m"> |
|
|
<?php foreach($skin_list_v as $skin) : ?>
|
|
|
<?php foreach($skin_list_v as $skin) : ?>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_v_m',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_v_m',$view)?'selected':''?>><?=$skin?></option>
|
|
@ -142,18 +193,21 @@ |
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">댓글 스킨</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>댓글 스킨</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_skin_c"> |
|
|
<select class="form-control" name="brd_skin_c"> |
|
|
<?php foreach($skin_list_c as $skin) : ?>
|
|
|
<?php foreach($skin_list_c as $skin) : ?>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_c',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_c',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<?php endforeach;?>
|
|
|
<?php endforeach;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">댓글 스킨 (모바일)</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>모바일</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_skin_c_m"> |
|
|
<select class="form-control" name="brd_skin_c_m"> |
|
|
<?php foreach($skin_list_c as $skin) : ?>
|
|
|
<?php foreach($skin_list_c as $skin) : ?>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_c_m',$view)?'selected':''?>><?=$skin?></option>
|
|
|
<option value="<?=$skin?>" <?=$skin==element('brd_skin_c_m',$view)?'selected':''?>><?=$skin?></option>
|
|
@ -161,358 +215,227 @@ |
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title">게시판 권한 설정</h4> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="panel-body"> |
|
|
|
|
|
<p class="alert alert-info"><i class="fal fa-info-circle"></i> 레벨0은 비회원을 의미합니다.</p> |
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">목록 보기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
<div class="H10"></div> |
|
|
|
|
|
|
|
|
|
|
|
<div data-ax-tbl> |
|
|
|
|
|
<div class="caption">게시판 권한 설정</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>목록 보기</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_lv_list"> |
|
|
<select class="form-control" name="brd_lv_list"> |
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_list', $view, 0)?'selected':''?>><?=$i?></option>
|
|
|
|
|
|
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_list', $view, 0)?'selected':''?>><?=$i?><?=$i==0?' (비회원)':''?></option>
|
|
|
<?php endfor;?>
|
|
|
<?php endfor;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">글 내용 보기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control" name="brd_lv_read"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>글 작성</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control" name="brd_lv_write"> |
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_read', $view, 0)?'selected':''?>><?=$i?></option>
|
|
|
|
|
|
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_write', $view, 0)?'selected':''?>><?=$i?><?=$i==0?' (비회원)':''?></option>
|
|
|
<?php endfor;?>
|
|
|
<?php endfor;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">글 작성하기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control" name="brd_lv_write"> |
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>글 내용 보기</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control" name="brd_lv_read"> |
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_write', $view, 0)?'selected':''?>><?=$i?></option>
|
|
|
|
|
|
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_read', $view, 0)?'selected':''?>><?=$i?><?=$i==0?' (비회원)':''?></option>
|
|
|
<?php endfor;?>
|
|
|
<?php endfor;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">답변글 작성</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>답글 작성</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_lv_reply"> |
|
|
<select class="form-control" name="brd_lv_reply"> |
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_reply', $view, 0)?'selected':''?>><?=$i?></option>
|
|
|
|
|
|
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_reply', $view, 0)?'selected':''?>><?=$i?><?=$i==0?' (비회원)':''?></option>
|
|
|
<?php endfor;?>
|
|
|
<?php endfor;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">댓글 작성</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>댓글 작성</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control" name="brd_lv_comment"> |
|
|
<select class="form-control" name="brd_lv_comment"> |
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_comment', $view, 0)?'selected':''?>><?=$i?></option>
|
|
|
|
|
|
<?php endfor;?>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
|
|
|
<label class="control-label">첨부파일 다운로드</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control" name="brd_lv_download"> |
|
|
|
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_download', $view, 0)?'selected':''?>><?=$i?></option>
|
|
|
|
|
|
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_comment', $view, 0)?'selected':''?>><?=$i?><?=$i==0?' (비회원)':''?></option>
|
|
|
<?php endfor;?>
|
|
|
<?php endfor;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">첨부파일 업로드</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control" name="brd_lv_upload"> |
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>첨부파일 다운</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control" name="brd_lv_download"> |
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<?php for($i=0; $i<=10; $i++):?>
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_upload', $view, 0)?'selected':''?>><?=$i?></option>
|
|
|
|
|
|
|
|
|
<option value="<?=$i?>" <?=$i==element('brd_lv_download', $view, 0)?'selected':''?>><?=$i?><?=$i==0?' (비회원)':''?></option>
|
|
|
<?php endfor;?>
|
|
|
<?php endfor;?>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label"></label> |
|
|
|
|
|
<div class="controls"></div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title">글 목록 설정</h4> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="panel-body"> |
|
|
|
|
|
<p class="alert alert-info"><i class="fal fa-info-circle"></i> 갤러리 형식의 게시판에서는 '목록에서 썸내일 불러오기' / '목록에서 첨부파일 불러오기'를 활성화 하세요.</p> |
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">썸네일 생성하기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control" name="brd_use_list_thumbnail"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_list_thumbnail',$view,'N')=='Y'?'selected':''?>>생성하기</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_list_thumbnail',$view,'N')=='N'?'selected':''?>>생성하지 않기</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<label class="control-label">썸네일 너비</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control" name="brd_thumb_width" value="<?=element('brd_thumb_width',$view,300)?>" min="0"> |
|
|
|
|
|
</div> |
|
|
|
|
|
<label class="control-label">썸네일 높이</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control" name="brd_thumb_height" value="<?=element('brd_thumb_height',$view,300)?>" min="0"> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">첨부파일 목록 불러오기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_list_file"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_list_file',$view,'N')=='Y'?'selected':''?>>불러오기</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_list_file',$view,'N')=='N'?'selected':''?>>불러오지 않기</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">NEW 표시 시간</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control form-control-inline" name="brd_time_new" value="<?=element('brd_time_new', $view, 24)?>" min="0"> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">HIT 표시 조회수</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control form-control-inline" name="brd_hit_count" value="<?=element('brd_hit_count', $view, 500)?>" min="0"> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="H10"></div> |
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title">글 내용보기 설정</h4> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="panel-body"> |
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">내용보기 에서 글 목록</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_view_list"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_view_list',$view,'N')=='Y'?'selected':''?>>불러오기</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_view_list',$view,'N')=='N'?'selected':''?>>불러오지 않기</option>
|
|
|
|
|
|
|
|
|
<div data-ax-tbl> |
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>답글 기능</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_reply"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_reply',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_reply',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title">페이지네이션 기능</h4> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="panel-body"> |
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">기능 사용여부</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_page_limit"> |
|
|
|
|
|
<option value="Y" <?=element('brd_page_limit',$view,'Y')=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_page_limit',$view,'Y')=='N'?'selected':''?>>미사용</option>
|
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>댓글 기능</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_comment"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_comment',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_comment',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">페이지 당 글 수</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control form-control-inline" name="brd_page_rows" value="<?=element('brd_page_rows', $view, 15)?>"> |
|
|
|
|
|
</div> |
|
|
|
|
|
<label class="control-label">페이지 당 글 수 (모바일)</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control form-control-inline" name="brd_page_rows_m" value="<?=element('brd_page_rows_m', $view, 10)?>"> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">표시할 페이지 수</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control form-control-inline" name="brd_fixed_num" value="<?=element('brd_fixed_num', $view, 10)?>"> |
|
|
|
|
|
</div> |
|
|
|
|
|
<label class="control-label">표시할 페이지 수 (모바일)</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control form-control-inline" name="brd_fixed_num_m" value="<?=element('brd_fixed_num_m', $view, 5)?>"> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div data-ax-td></div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title">게시판 기능 설정</h4> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="panel-body"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">시간 표시 형식</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_display_time"> |
|
|
|
|
|
<option value="sns" <?=element('brd_use_anonymous',$view)=='sns'?'selected':''?>>SNS형식</option>
|
|
|
|
|
|
<option value="basic" <?=element('brd_use_anonymous',$view)=='basic'?'selected':''?>>기본형</option>
|
|
|
|
|
|
<option value="full" <?=element('brd_use_anonymous',$view)=='full'?'selected':''?>>전체표시</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">익명 기능 사용</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>익명 기능</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control form-control-inline" name="brd_use_anonymous"> |
|
|
<select class="form-control form-control-inline" name="brd_use_anonymous"> |
|
|
<option value="Y" <?=element('brd_use_anonymous',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
<option value="Y" <?=element('brd_use_anonymous',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
<option value="N" <?=element('brd_use_anonymous',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
<option value="N" <?=element('brd_use_anonymous',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
<option value="A" <?=element('brd_use_anonymous',$view)=='A'?'selected':''?>>항상 사용</option>
|
|
|
<option value="A" <?=element('brd_use_anonymous',$view)=='A'?'selected':''?>>항상 사용</option>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">비밀글 기능 사용</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>비밀글 기능</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
<select class="form-control form-control-inline" name="brd_use_secret"> |
|
|
<select class="form-control form-control-inline" name="brd_use_secret"> |
|
|
<option value="Y" <?=element('brd_use_secret',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
<option value="Y" <?=element('brd_use_secret',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
<option value="N" <?=element('brd_use_secret',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
<option value="N" <?=element('brd_use_secret',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
<option value="A" <?=element('brd_use_secret',$view)=='A'?'selected':''?>>항상 사용</option>
|
|
|
<option value="A" <?=element('brd_use_secret',$view)=='A'?'selected':''?>>항상 사용</option>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">답글 기능 사용</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_reply"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_reply',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_reply',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">댓글 기능 사용</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_comment"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_comment',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_comment',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>이름 * 처리</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_blind_nickname"> |
|
|
|
|
|
<option value="Y" <?=element('brd_blind_nickname',$view, 'N')=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_blind_nickname',$view, 'N')=='N'?'selected':''?>>미사용</option>
|
|
|
</select> |
|
|
</select> |
|
|
|
|
|
<p class="help-block">관리자 <i class="fal fa-caret-right"></i> 관*자</p> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">위지윅 에디터 사용</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_wysiwyg"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_wysiwyg',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_wysiwyg',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">파일 첨부 사용</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_attach"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_attach',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_attach',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">관리자 승인 글만 표시</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_assign"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_assign',$view,'N')=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_assign',$view,'N')=='N'?'selected':''?>>미사용</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
<p class="help-block"><i class="fal fa-exclamation-circle"></i> 승인된 글만 표시하는 기능을 사용하여, 사이트에 불리한 내용을 숨기거나 하는경우 소비자보호센터의 제재를 받을 수 있습니다.</p> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="H10"></div> |
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title"><?=$this->site->config('point_name')?> 설정</h4>
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="panel-body"> |
|
|
|
|
|
<?php if($this->site->config('point_use') == 'Y') :?>
|
|
|
|
|
|
<p class="alert alert-info"><i class="fal fa-info-circle"></i> <?=$this->site->config('point_name')?> 지급은 +값, <?=$this->site->config('point_name')?> 차감은 -값을 입력합니다.<br><i class="fal fa-info-circle"></i> 포인트 차감이 설정된 경우 강제로 회원전용 기능으로 전환합니다.</p>
|
|
|
|
|
|
<?php else :?>
|
|
|
|
|
|
|
|
|
<?php if($this->site->config('point_use') != 'Y') :?>
|
|
|
<p class="alert alert-info"><i class="fal fa-info-circle"></i> <?=$this->site->config('point_name')?> 기능을 사용 하는경우만 아래 옵션이 활성화 됩니다.</p>
|
|
|
<p class="alert alert-info"><i class="fal fa-info-circle"></i> <?=$this->site->config('point_name')?> 기능을 사용 하는경우만 아래 옵션이 활성화 됩니다.</p>
|
|
|
|
|
|
<div class="H10"></div> |
|
|
<?php endif;?>
|
|
|
<?php endif;?>
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">글쓰기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control" name="brd_point_write" value="<?=element('brd_point_write', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
|
|
|
|
|
|
<div data-ax-tbl> |
|
|
|
|
|
<div class="caption"><?=$this->site->config('point_name')?> 설정</div>
|
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>글쓰기 <?=$this->site->config('point_name')?></div>
|
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" class="form-control text-right" name="brd_point_write" value="<?=element('brd_point_write', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control" name="brd_point_write_flag"> |
|
|
|
|
|
<option value="1" <?=element('brd_point_write_flag', $view, 1)=='1'?'selected':''?>>증가</option>
|
|
|
|
|
|
<option value="-1" <?=element('brd_point_write_flag', $view, 1)=='-1'?'selected':''?>>차감</option>
|
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">답글쓰기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control" name="brd_point_reply" value="<?=element('brd_point_reply', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">댓글쓰기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control" name="brd_point_comment" value="<?=element('brd_point_comment', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>답글쓰기 <?=$this->site->config('point_name')?></div>
|
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" class="form-control text-right" name="brd_point_reply" value="<?=element('brd_point_reply', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control" name="brd_point_reply_flag"> |
|
|
|
|
|
<option value="1" <?=element('brd_point_reply_flag', $view, 1)=='1'?'selected':''?>>증가</option>
|
|
|
|
|
|
<option value="-1" <?=element('brd_point_reply_flag', $view, 1)=='-1'?'selected':''?>>차감</option>
|
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">내용 보기</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control" name="brd_point_read" value="<?=element('brd_point_read', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">첨부파일 다운</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<input type="number" class="form-control" name="brd_point_download" value="<?=element('brd_point_download', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
|
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>댓글쓰기 <?=$this->site->config('point_name')?></div>
|
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" class="form-control text-right" name="brd_point_comment" value="<?=element('brd_point_comment', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label"></label> |
|
|
|
|
|
<div class="controls"></div> |
|
|
|
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control" name="brd_point_comment_flag"> |
|
|
|
|
|
<option value="1" <?=element('brd_point_comment_flag', $view, 1)=='1'?'selected':''?>>증가</option>
|
|
|
|
|
|
<option value="-1" <?=element('brd_point_comment_flag', $view, 1)=='-1'?'selected':''?>>차감</option>
|
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="panel panel-dark"> |
|
|
|
|
|
<div class="panel-heading"> |
|
|
|
|
|
<h4 class="panel-title">검색엔진 최적화 설정</h4> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="panel-body"> |
|
|
|
|
|
<div class="form-group"> |
|
|
|
|
|
<label class="control-label">통합 RSS</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_total_rss"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_total_rss',$view)=='Y'?'selected':''?>>포함</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_total_rss',$view)=='N'?'selected':''?>>포함하지 않기</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
<div data-ax-tr> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>글 내용 보기</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" class="form-control text-right" name="brd_point_read" value="<?=element('brd_point_read', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">게시판 RSS</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_rss"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_rss',$view)=='Y'?'selected':''?>>사용</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_rss',$view)=='N'?'selected':''?>>미사용</option>
|
|
|
|
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control" name="brd_point_read_flag"> |
|
|
|
|
|
<option value="1" <?=element('brd_point_read_flag', $view, 1)=='1'?'selected':''?>>증가</option>
|
|
|
|
|
|
<option value="-1" <?=element('brd_point_read_flag', $view, 1)=='-1'?'selected':''?>>차감</option>
|
|
|
</select> |
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
<label class="control-label">사이트맵 노출</label> |
|
|
|
|
|
<div class="controls"> |
|
|
|
|
|
<select class="form-control form-control-inline" name="brd_use_sitemap"> |
|
|
|
|
|
<option value="Y" <?=element('brd_use_sitemap',$view)=='Y'?'selected':''?>>노출</option>
|
|
|
|
|
|
<option value="N" <?=element('brd_use_sitemap',$view)=='N'?'selected':''?>>감추기</option>
|
|
|
|
|
|
</select> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div data-ax-td> |
|
|
|
|
|
<div data-ax-td-label>첨부파일 다운</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<input type="number" class="form-control text-right" name="brd_point_download" value="<?=element('brd_point_download', $view, 0)?>" <?=$this->site->config('point_use') != 'Y'?'readonly':''?>>
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div data-ax-td-wrap> |
|
|
|
|
|
<select class="form-control" name="brd_point_download_flag"> |
|
|
|
|
|
<option value="1" <?=element('brd_point_download_flag', $view, 1)=='1'?'selected':''?>>증가</option>
|
|
|
|
|
|
<option value="-1" <?=element('brd_point_download_flag', $view, 1)=='-1'?'selected':''?>>차감</option>
|
|
|
|
|
|
</select> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="H10"></div> |
|
|
|
|
|
<div class="text-center"> |
|
|
|
|
|
<button class="btn btn-primary btn-lg">저장하기</button> |
|
|
|
|
|
|
|
|
<div data-ax-td></div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="text-center MT15"> |
|
|
|
|
|
<button class="btn btn-primary"><i class="fal fa-save"></i> 저장하기</button> |
|
|
</div> |
|
|
</div> |
|
|
<?=form_close()?>
|
|
|
<?=form_close()?>
|
|
|
<div class="H30"></div> |
|
|
<div class="H30"></div> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
$(document).ready(function(){ |
|
|
$(document).ready(function(){ |
|
|
|
|
|
$('[name="brd_use_category"]').change(function() { |
|
|
|
|
|
var checked = $(this).prop('checked'); |
|
|
|
|
|
|
|
|
|
|
|
if( checked ) $('[name="brd_category"]').removeAttr('disabled'); |
|
|
|
|
|
else $('[name="brd_category"]').attr('disabled','disabled'); |
|
|
|
|
|
}).change(); |
|
|
|
|
|
|
|
|
$("select[name='brd_page_limit']").change(function(){ |
|
|
$("select[name='brd_page_limit']").change(function(){ |
|
|
if( $(this).find('option:selected').val() == 'Y' ) |
|
|
if( $(this).find('option:selected').val() == 'Y' ) |
|
|
{ |
|
|
{ |
|
|