Файл: content/themes/facebook/templates/ajax.answers.note.tpl
Строк: 41
{if $method == "get"}
<li>
<div
class="questionNote"
id="{$note.ID}-{$note.AnswerID}-{$post.PostID}-{$note.UserID}">
{$note.Text} -
<!-- User Name
-->
<span class="relative showHoverCard"
id="{$note.UserID}">
<strong><a
href="{$SITE_URL}/{$note.UserName}">{$note.UserFirstName}
{$note.UserLastName}</a></strong>
<!--
Hover Card -->
<div class="hoverCardWrapper
hidden"></div>
<!-- Hover Card -->
</span>
<!-- User Name -->
<span class="timeago gray"
data-time="{$note.Time}"
title="{$note.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span>{if $note.UserID == $userArray.UserID ||
$userArray.UserGroup < 3} · <span class="uiButtonText
doRemoveNote">Delete</span>{/if}
</div>
</li>
{elseif $method == "post"}
<li>
<div class="questionNote"
id="{$answer.ID}-{$answer.AnswerID}-{$post.PostID}-{$userArray.UserID}">
{$answer.Text} -
<!-- 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 -->
<span class="timeago gray"
data-time="{$answer.Time}"
title="{$answer.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span> · <span class="uiButtonText
doRemoveNote">Delete</span>
</div>
</li>
{/if}