first
This commit is contained in:
49
modules/comment/admin/_header_fgroup.php
Normal file
49
modules/comment/admin/_header_fgroup.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<!--
|
||||
// makebbs.php 의 헤더삽입 부분
|
||||
-->
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" >헤더 파일</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="file" name="imghead">
|
||||
<?php if($R['imghead']):?>
|
||||
<p class="form-control-static">
|
||||
<a class="btn bnt-link" href="<?php echo $g['r']?>/?m=<?php echo $module?>&a=bbs_file_delete&bid=<?php echo $R['id']?>&dtype=head" target="_action_frame_<?php echo $m?>" onclick="return hrefCheck(this,true,'정말로 삭제하시겠습니까?');">삭제</a>
|
||||
<a class="btn btn-link" href="<?php echo $g['s']?>/modules/<?php echo $module?>/var/files/<?php echo $R['imghead']?>" target="_blank">등록파일 보기</a>
|
||||
</p>
|
||||
<?php else:?>
|
||||
<small class="help-block">(gif/jpg/png/swf 가능)</small>
|
||||
<?php endif?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">
|
||||
헤더 코드
|
||||
</label>
|
||||
<div class="col-sm-10">
|
||||
<p>
|
||||
<textarea name="codhead" id="codheadArea" class="form-control" rows="5"><?php if(is_file($g['path_module'].$module.'/var/code/'.$R['id'].'.header.php')) echo htmlspecialchars(implode('',file($g['path_module'].$module.'/var/code/'.$R['id'].'.header.php')))?></textarea>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">
|
||||
노출 위치
|
||||
</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="col-sm-3">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="inc_head_list" value="[l]"<?php if(strstr($R['puthead'],'[l]')):?> checked <?php endif?> class="form-control"> <i></i>목록
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="inc_head_view" value="[v]"<?php if(strstr($R['puthead'],'[v]')):?> checked <?php endif?> class="form-control"><i></i>본문
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="inc_head_write" value="[w]"<?php if(strstr($R['puthead'],'[w]')):?> checked <?php endif?> class="form-control"><i></i>쓰기
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user