Файл: content/themes/facebook/templates/ajax.comments.reply.tpl
Строк: 117
{if $method == "get"}
<li>
<div
class="commentContainer"
id="{$reply.ID}-{$post.PostType}-{$post.PostID}-{$reply.UserID}">
<!-- Vote Box -->
<div
class="dataSideWrapper small">
<div
title="Like this reply" class="voteBox doLikeComment {if
$reply.liked == "Y"}active{/if}"><i
class="up"></i></div>
<div
title="Disike this reply" class="voteBox doDislikeComment
{if $reply.liked == "N"}active{/if}"><i
class="down"></i></div>
</div>
<!-- Vote Box -->
<!-- Avatar -->
<div class="dataSideWrapper
ml5">
<a
href="{$SITE_URL}/{$reply.UserName}"><img
src="{$SITE_URL}/{$reply.UserAvatarPath}" /></a>
</div>
<!-- Avatar -->
<!-- Reply Data -->
<div
class="dataContentWrapper vsmall ml10">
<!-- Buttons & UserName -->
<div
class="dataContent mb5">
{if $userExist}
<!-- Buttons -->
<div class="dataButtons hidden">
<div class="right">
{if $reply.UserID == $userArray.UserID}
<div title="Remove" class="button-close
doRemoveReply"></div>
{else}
<div
title="Remove" class="{if $userArray.UserGroup <
3}button-edit{else}button-close{/if} closeNode"></div>
<div class="subMenu closeMenu"
id="{$reply.ID}-{$post.PostType}-{$post.PostID}-{$comment.UserID}">
<ul>
<li><span class="menuItem
doSpamReply">Mark as spam</span></li>
<li><span class="menuItem
doReportReply">Report as Abuse</span></li>
{if $userArray.UserGroup < 3}
<li
class="moderator"></li>
<li><span class="menuItem
doRemoveReply">Delete this reply</span></li>
{/if}
</ul>
</div>
{/if}
</div>
</div>
<!-- Buttons
-->
{/if}
<!-- User Name -->
<span
class="relative showHoverCard"
id="{$reply.UserID}">
<strong><a
href="{$SITE_URL}/{$reply.UserName}">{$reply.UserFirstName}
{$reply.UserLastName}</a></strong>
<!-- Hover Card -->
<div
class="hoverCardWrapper hidden"></div>
<!-- Hover Card -->
</span>
<!-- User Name -->
</div>
<!-- Buttons & UserName -->
<!-- Reply -->
<div
class="dataContent mb5 white">{$reply.Text}</div>
<!-- Reply -->
<!--
Statistics -->
<div class="dataContent gray
mb5">
<span title="See people who like
this reply" class="uiInfoBox whoLikeComment {if $reply.Likes ==
0}hidden{/if}" id="{$reply.ID}"
hits="{$reply.Likes}"><span class="icon
like"></span><span
class="text">{$reply.Likes}</span></span>
<span title="See people who dislike this reply"
class="uiInfoBox whoDislikeComment {if $reply.Dislikes ==
0}hidden{/if}" id="{$reply.ID}"
hits="{$reply.Dislikes}"><span class="icon
dislike"></span><span
class="text">{$reply.Dislikes}</span></span>
<span class="timeago"
data-time="{$reply.Time}"
title="{$reply.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span>
</div>
<!-- Statistics -->
</div>
<!-- Reply Data -->
</div>
</li>
{elseif $method == "post"}
<li>
<div class="commentContainer"
id="{$comment.ID}-{$post.PostType}-{$post.PostID}-{$userArray.UserID}">
<!-- Vote Box -->
<div
class="dataSideWrapper small">
<div
title="Like this reply" class="voteBox
doLikeComment"><i
class="up"></i></div>
<div
title="Dislike this reply" class="voteBox
doDislikeComment"><i
class="down"></i></div>
</div>
<!-- Vote Box -->
<!-- Avatar -->
<div class="dataSideWrapper
ml5">
<a
href="{$SITE_URL}/{$userArray.UserName}"><img
src="{$SITE_URL}/{$userArray.UserAvatarPathMedium}"
/></a>
</div>
<!-- Avatar
-->
<!-- Reply Data -->
<div class="dataContentWrapper vsmall ml10">
<!-- UserName & Buttons -->
<div class="dataContent mb5">
<!-- Buttons -->
<div
class="dataButtons hidden">
<div
class="right">
<div
title="Remove" class="button-close
doRemoveReply"></div>
</div>
</div>
<!-- Buttons
-->
<!-- User Name
-->
<span class="relative
showHoverCard" id="{$userArray.UserID}">
<strong><a
href="{$SITE_URL}/{$userArray.UserName}">{$userArray.UserFirstName}
{$userArray.UserLastName}</a></strong>
<!-- Hover Card -->
<div
class="hoverCardWrapper hidden"></div>
<!-- Hover Card -->
</span>
<!-- User Name -->
</div>
<!-- UserName & Buttons -->
<!-- Reply -->
<div
class="dataContent mb5 white">{$comment.Text}</div>
<!-- Reply -->
<!--
Statistics -->
<div class="dataContent gray
mb5">
<span title="See people who like
this reply" class="uiInfoBox whoLikeComment hidden"
id="{$comment.ID}" hits="0"><span
class="icon like"></span><span
class="text">0</span></span>
<span title="See people who dislike this reply"
class="uiInfoBox whoDislikeComment hidden"
id="{$comment.ID}" hits="0"><span
class="icon dislike"></span><span
class="text">0</span></span>
<span class="timeago" data-time="{$comment.Time}"
title="{$comment.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span>
</div>
<!-- Statistics -->
</div>
<!-- Reply Data -->
</div>
</li>
{/if}