Extra Form
PHP PHP 7.0
CMS Rhymix

스케치북-댓글.gif

저렇게 되다보니 위아래 공간이 너무 붕 뜨는거 같아서 닉네임 옆으로 옮기고 싶은데 단순히 저 아이콘만 옮겨서 되는게 아니더라구요.ㅠ.ㅠ

 

<ul class="fdb_lst_ul {$mi->fdb_hide}">
<block loop="$oDocument->getComments()=>$key,$comment">
<!--@if($comment->get('depth'))-->
<li id="comment_{$comment->comment_srl}" class="fdb_itm clear re bg{($comment->get('depth'))%2}" style="margin-left:{(($comment->get('depth')-1)%10+1)*2}%">
<i class="fa fa-share fa-flip-vertical re"></i> <i cond="$comment->get('depth')>10" class="fa fa-share fa-flip-vertical re rere"></i>
<!--@else-->
<li id="comment_{$comment->comment_srl}" class="fdb_itm clear">
<!--@end-->
<!--// 프로필 -->
<block cond="!$mi->profile_img">
<img cond="$comment->getProfileImage()" class="profile img" src="{$comment->getProfileImage()}" alt="profile" />
<span cond="!$comment->getProfileImage()" class="profile img no_img">?</span>
</block>
<!--// 댓글 정보 -->
<div class="meta">
<a cond="$comment->member_srl" href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false">{$comment->getNickName()}</a>
<a cond="!$comment->member_srl && $comment->homepage" href="{$comment->getHomepageUrl()}" target="_blank">{$comment->getNickName()}</a>
<b cond="!$comment->member_srl && !$comment->homepage">{$comment->getNickName()}</b>
<!--댓글 글작상자인경우 표시 추가-->
<!--@ if($comment->member_srl==$oDocument->variables[member_srl])-->
           <span class="longpower">글쓴이</span>
            <!--@end-->
<span class="date">{getTimeGap($comment->get('regdate'), "Y.m.d H:i")}</span>
<small cond="$grant->manager || $mi->display_ip_address" class="m_no">({$comment->getIpaddress()})</small>
<span cond="$comment->isSecret()" class="ico_secret">SECRET</span>
<!--// 첨부파일 -->
<block cond="$comment->hasUploadedFiles()">
<a class="tg_btn2" href="#files_{$comment->comment_srl}"><b class="ui-icon ui-icon-disk">Files</b>{$lang->uploaded_file} <small>({$comment->get('uploaded_count')})</small></a>
<div id="files_{$comment->comment_srl}" class="cmt_files tg_cnt2">
<button type="button" class="tg_blur2"></button><button type="button" class="tg_close2" title="{$lang->cmd_close}"><b class="ui-icon ui-icon-closethick">X</b></button>
<ul class="wrp">

여기서 아이콘만 따로 옮겨봤는데 이상해지더라구요.

<ul class="fdb_lst_ul {$mi->fdb_hide}">
<block loop="$oDocument->getComments()=>$key,$comment">
<!--@if($comment->get('depth'))-->
<li id="comment_{$comment->comment_srl}" class="fdb_itm clear re bg{($comment->get('depth'))%2}" style="margin-left:{(($comment->get('depth')-1)%10+1)*2}%">
<i cond="$comment->get('depth')>10" class="fa fa-share fa-flip-vertical re rere"></i>
<!--@else-->
<li id="comment_{$comment->comment_srl}" class="fdb_itm clear">
<!--@end-->
<!--// 프로필 -->
<block cond="!$mi->profile_img">
<img cond="$comment->getProfileImage()" class="profile img" src="{$comment->getProfileImage()}" alt="profile" />
<span cond="!$comment->getProfileImage()" class="profile img no_img">?</span>
</block>
<!--// 댓글 정보 -->
<div class="meta">
<i class="fa fa-share fa-flip-vertical re"></i><a cond="$comment->member_srl" href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false">{$comment->getNickName()}</a>
<a cond="!$comment->member_srl && $comment->homepage" href="{$comment->getHomepageUrl()}" target="_blank">{$comment->getNickName()}</a>
<b cond="!$comment->member_srl && !$comment->homepage">{$comment->getNickName()}</b>
<!--댓글 글작상자인경우 표시 추가-->
<!--@ if($comment->member_srl==$oDocument->variables[member_srl])-->
           <span class="longpower">글쓴이</span>
            <!--@end-->
<span class="date">{getTimeGap($comment->get('regdate'), "Y.m.d H:i")}</span>
<small cond="$grant->manager || $mi->display_ip_address" class="m_no">({$comment->getIpaddress()})</small>
<span cond="$comment->isSecret()" class="ico_secret">SECRET</span>
<!--// 첨부파일 -->
<block cond="$comment->hasUploadedFiles()">
<a class="tg_btn2" href="#files_{$comment->comment_srl}"><b class="ui-icon ui-icon-disk">Files</b>{$lang->uploaded_file} <small>({$comment->get('uploaded_count')})</small></a>
<div id="files_{$comment->comment_srl}" class="cmt_files tg_cnt2">
<button type="button" class="tg_blur2"></button><button type="button" class="tg_close2" title="{$lang->cmd_close}"><b class="ui-icon ui-icon-closethick">X</b></button>
<ul class="wrp">

스케치북 댓글2.PNG

 

<i class="fa fa-share fa-flip-vertical re"></i> 이걸 <a cond="$comment->member_srl" href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false">{$comment->getNickName()}</a>여기 앞에 붙였더니...ㅠㅠ.

이렇게 제일 처음에 등록한 댓글까지 저 아이콘이 표시가 되더라구요.

 

어떻게 수정을해야 닉네임옆으로 제대로 옮길수 있을까요? 처음 작성한 댓글엔 아이콘이 안보이게 할수있는건가요?

  • Lv24

    <!--@if($comment->get('depth'))--><i class="fa fa-share fa-flip-vertical re"></i><!--@end-->

    추가하신 i태그에 감싸세요

  • Lv24 Lv4
    헛 덕분에 해결되었습니다. 감사합니다^^