Вход Регистрация
Файл: content/themes/facebook/templates/ajax.comments.comment.tpl
Строк: 215
{if $method == "get"} <li
class="feedItem"> <div
class="dataContainer"
id="{$comment.ID}-{$post.PostType}-{$post.PostID}-{$comment.UserID}">
<!-- Vote Box --> <div
class="dataSideWrapper small"> <div
title="Like this comment" class="voteBox doLikeComment {if
$comment.liked == "Y"}active{/if}"><i
class="up"></i></div> <div
title="Disike this comment" class="voteBox doDislikeComment
{if $comment.liked == "N"} active {/if}"><i
class="down"></i></div>
</div> <!-- Vote Box -->
<!-- Avatar --> <div class="dataSideWrapper
ml5"> <a
href="{$SITE_URL}/{$comment.UserName}"><img
src="{$SITE_URL}/{$comment.UserAvatarPath}" /></a>
</div> <!-- Avatar -->
<!-- Comment Data --> <div
class="dataContentWrapper medium ml10">
<!-- Buttons & UserName --> <div
class="dataContent mb5">
{if $userExist}
<!-- Buttons --> <div
class="dataButtons hidden">
<div class="right"> {if
$comment.UserID == $userArray.UserID}
<div title="Remove" class="button-close
doRemoveComment"></div>
{else} <div
title="Remove" class="{if $userArray.UserGroup <
3}button-edit{else}button-close{/if} closeNode"></div>
<div class="subMenu closeMenu"
id="{$comment.ID}-{$post.PostType}-{$post.PostID}-{$comment.UserID}">
<ul>
<li><span class="menuItem
doSpamComment">Mark as spam</span></li>
<li><span class="menuItem
doReportComment">Report as Abuse</span></li>
{if $userArray.UserGroup < 3}
<li
class="moderator"></li>
<li><span class="menuItem
doRemoveComment">Delete this comment</span></li>
{/if}
</ul> </div>
{/if}
</div> </div>
<!-- Buttons --> {/if}
<!-- User Name --> <span
class="relative showHoverCard"
id="{$comment.UserID}">
<strong><a
href="{$SITE_URL}/{$comment.UserName}">{$comment.UserFirstName}
{$comment.UserLastName}</a></strong>
<!-- Hover Card --> <div
class="hoverCardWrapper hidden"></div>
<!-- Hover Card --> </span>
<!-- User Name -->
</div> <!-- Buttons & UserName -->
<!-- Comment --> <div
class="dataContent mb5 white">{$comment.Text}</div>
<!-- Comment -->
<!-- Statistics --> <div class="dataContent
mb5 gray"> <span title="See people who
like this comment" class="uiInfoBox whoLikeComment {if
$comment.Likes == 0}hidden{/if}" id="{$comment.ID}"
hits="{$comment.Likes}"><span class="icon
like"></span><span
class="text">{$comment.Likes}</span></span>
<span title="See people who dislike this
comment" class="uiInfoBox whoDislikeComment {if $comment.Dislikes
== 0}hidden{/if}" id="{$comment.ID}"
hits="{$comment.Dislikes}"><span class="icon
dislike"></span><span
class="text">{$comment.Dislikes}</span></span>
{if $userExist}<span title="Leave a reply"
class="uiButtonText addReply">Reply</span> ·
{/if}<span class="timeago"
data-time="{$comment.Time}"
title="{$comment.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span> </div>
<!-- Statistics --> <!--
Replies --> {if $comment.Replies > 0}
<ul id="streamReplies">
<!-- Previous Replies --> {if
$comment.prevReplies > 0} <!-- View More
--> <div class="viewMore mt10
viewMoreReplies" id="{$comment.prevReplies}">
<div class="right hidden"><img
src="{$spinner.small}" /></div>
View previous replies </div>
<!-- View More -->
{/if} <!-- Previous Replies -->
{foreach $comment.replies as $reply}
{include file='ajax.comments.reply.tpl' method = 'get'}
{/foreach} </ul>
{else} <ul
id="streamReplies"></ul> {/if}
<!-- Replies --> <!--
Add a Reply --> <form class="postReply
hidden"> <div class="commentContainer
postCommentWrapper"> <div
class="dataSideWrapper small"></div>
<div class="dataSideWrapper ml5">
<img
src="{$SITE_URL}/{$userArray.UserAvatarPathMedium}" />
</div>
<div class="dataContentWrapper vsmall ml10">
<div class="commentContent small mb5">
<textarea class="uiInput addReply
expand">Write a reply...</textarea>
</div> <div
class="commentContent small tright mb10">
<input class="uiButton" type="submit"
value="Reply" /> <div
class="hidden"><img src="{$spinner.small}"
/></div> </div>
</div> </div>
</form> <!-- Add a Reply -->
</div> <!-- Comment Data -->
</div> </li> {elseif $method ==
"post"} <li class="feedItem">
<div class="dataContainer"
id="{$comment.ID}-{$post.PostType}-{$post.PostID}-{$userArray.UserID}">
<!-- Vote Box --> <div
class="dataSideWrapper small"> <div
title="Like this comment" class="voteBox
doLikeComment"><i
class="up"></i></div> <div
title="Disike this comment" 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
--> <!-- Comment Data -->
<div class="dataContentWrapper medium ml10">
<!-- Buttons & UserName -->
<div class="dataContent mb5">
<!-- Buttons --> <div
class="dataButtons hidden"> <div
class="right"> <div
title="Remove" class="button-close
doRemoveComment"></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> <!-- Buttons & UserName -->
<!-- Comment --> <div
class="dataContent mb5 white">{$comment.Text}</div>
<!-- Comment -->
<!-- Statistics --> <div class="dataContent
mb5 gray"> <span title="See people who
like this comment" 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 comment"
class="uiInfoBox whoDislikeComment hidden"
id="{$comment.ID}" hits="0"><span
class="icon dislike"></span><span
class="text">0</span></span>
<span class="uiButtonText addReply">Reply</span> ·
<span class="timeago" data-time="{$comment.Time}"
title="{$comment.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span> </div>
<!-- Statistics --> <!--
Replies --> <ul
id="streamReplies"></ul> <!--
Replies --> <!-- Add a Reply
--> <form class="postReply hidden">
<div class="commentContainer
postCommentWrapper"> <div
class="dataSideWrapper small"></div>
<div class="dataSideWrapper ml5">
<img
src="{$SITE_URL}/{$userArray.UserAvatarPathMedium}" />
</div> <div
class="dataContentWrapper vsmall ml10">
<div class="commentContent small mb5">
<textarea class="uiInput addReply
expand">Write a reply...</textarea>
</div> <div
class="commentContent small tright mb10">
<input class="uiButton" type="submit"
value="Reply" /> <div
class="hidden"><img src="{$spinner.small}"
/></div> </div>
</div> </div>
</form> <!-- Add a Reply -->
</div> <!-- Comment Data -->
</div> </li> {/if}
Онлайн: 2
Реклама