영카트 5.4 버전 내용 적용
This commit is contained in:
@ -3,23 +3,38 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="bo_v_ans">
|
||||
<h2><span class="bo_v_reply"><i class="fa fa-arrow-circle-right" aria-hidden="true"></i> 답변</span> <?php echo get_text($answer['qa_subject']); ?></h2>
|
||||
<a href="<?php echo $rewrite_href; ?>" class="btn add_qa"><i class="fa fa-plus-circle" aria-hidden="true"></i> 추가질문</a>
|
||||
|
||||
<div id="ans_datetime">
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $answer['qa_datetime']; ?>
|
||||
</div>
|
||||
|
||||
<h2><span class="bo_v_reply">답변</span> <?php echo get_text($answer['qa_subject']); ?></h2>
|
||||
<header>
|
||||
<div id="ans_datetime">
|
||||
<i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $answer['qa_datetime']; ?>
|
||||
</div>
|
||||
|
||||
<?php if ( $answer_update_href || $answer_delete_href ){ ?>
|
||||
<div id="ans_add">
|
||||
<button type="button" class="btn_more_add btn_more_opt btn_b01 btn" title="답변 옵션"><i class="fa fa-ellipsis-v" aria-hidden="true"></i><span class="sound_only">답변 옵션</span></button>
|
||||
<ul class="more_add">
|
||||
<?php if($answer_update_href) { ?>
|
||||
<li><a href="<?php echo $answer_update_href; ?>" class="btn_b01 btn" title="답변수정">답변수정</a></li>
|
||||
<?php } ?>
|
||||
<?php if($answer_delete_href) { ?>
|
||||
<li><a href="<?php echo $answer_delete_href; ?>" class="btn_b01 btn" onclick="del(this.href); return false;" title="답변삭제">답변삭제</a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<script>
|
||||
// 답변하기 옵션
|
||||
$(".btn_more_add").on("click", function() {
|
||||
$(".more_add").toggle();
|
||||
})
|
||||
</script>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</header>
|
||||
|
||||
<div id="ans_con">
|
||||
<?php echo get_view_thumbnail(conv_content($answer['qa_content'], $answer['qa_html']), $qaconfig['qa_image_width']); ?>
|
||||
</div>
|
||||
|
||||
<div id="ans_add">
|
||||
<?php if($answer_update_href) { ?>
|
||||
<a href="<?php echo $answer_update_href; ?>" class="btn_b03 btn">답변수정</a>
|
||||
<?php } ?>
|
||||
<?php if($answer_delete_href) { ?>
|
||||
<a href="<?php echo $answer_delete_href; ?>" class="btn_b03 btn" onclick="del(this.href); return false;">답변삭제</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
<div class="bo_v_btn">
|
||||
<a href="<?php echo $rewrite_href; ?>" class="add_qa" title="추가질문">추가질문</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user