Файл: content/themes/facebook/templates/ajax.posts._statistics.tpl
Строк: 134
{if $method == "get"}
<div class="dataTools
mb5">
<i class="app_icon
{$_icon}"></i>
<a
href="{$SITE_URL}/{$_url}/{if
$_media}{$post.data.MediaID}{else}{$post.PostID}{/if}/{$post.data.URL}">{if
$userExist}<span class="timeago"
data-time="{$post.Time}"
title="{$post.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span>{else}<span
title="{$post.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}">{$post.Time|date_format:"%a, %b %e, %Y at %I:%M
%p"}</span>{/if}</a> · <span
title="{$translate->__("See people who like this
post")}" class="uiInfoBox whoLikePost"
id="{$post.PostType}-{$post.PostID}-{$post.UserID}"
hits="{$post.Likes}"><span class="icon
like"></span><span
class="text">{$post.Likes}</span></span><span
title="{$translate->__("See people who dislike this
post")}" class="uiInfoBox whoDislikePost"
id="{$post.PostType}-{$post.PostID}-{$post.UserID}"
hits="{$post.Dislikes}"><span class="icon
dislike"></span><span
class="text">{$post.Dislikes}</span></span><a
title="{$translate->__("See comments")}"
class="uiInfoBox whoComment"
href="{$SITE_URL}/{$_url}/{$post.PostID}/{$post.data.URL}#comments"><span
class="icon comments"></span><span
class="text">{$post.Comments}</span></a> ·
<span title="{$translate->__("Leave a comment")}"
class="uiButtonText
addQComment">{$translate->__("Comment")}</span>
<!-- Share Button -->
<span class="relative
showShareButtons">
· <span
class="uiButtonText">{$translate->__("Share")}</span>
<div class="shareButtonsWrapper hidden">
<div class="shareButtons">
<a class="connect-facebook-vsmall"
title="{$translate->__("Share this with your
friends")}"
href="http://www.facebook.com/sharer/sharer.php?u={$SITE_URL}/{$_url}/{$post.PostID}/{$post.data.URL}"
target="_blank"></a> <a
class="connect-twitter-vsmall"
title="{$translate->__("Share this with your
followers")}"
href="http://twitter.com/intent/tweet?status={$SITE_URL}/{$_url}/{$post.PostID}/{$post.data.URL}"
target="_blank"></a>
</div>
<div class="shareButtonsArrow"></div>
</div>
</span>
<!-- Share Button
-->
</div>
{else}
<div class="dataTools
mb5">
<i class="app_icon
{$_icon}"></i>
<a
href="{$SITE_URL}/{$_url}/{if
$_media}{$post.data.MediaID}{else}{$post.PostID}{/if}/{$post.data.URL}"><span
class="timeago" data-time="{$post.Time}"
title="{$post.Time|date_format:"%A, %B %e, %Y at %I:%M
%p"}"></span></a> · <span
title="{$translate->__("See people who like this
post")}" class="uiInfoBox whoLikePost"
id="{$post.PostType}-{$post.PostID}-{$post.UserID}"
hits="0"><span class="icon
like"></span><span
class="text">0</span></span><span
title="{$translate->__("See people who dislike this
post")}" class="uiInfoBox whoDislikePost"
id="{$post.PostType}-{$post.PostID}-{$post.UserID}"
hits="0"><span class="icon
dislike"></span><span
class="text">0</span></span><a
title="{$translate->__("See comments")}"
class="uiInfoBox whoComment"
href="{$SITE_URL}/{$_url}/{$post.PostID}/{$post.data.URL}#comments"><span
class="icon comments"></span><span
class="text">0</span></a> · <span
title="{$translate->__("Leave a comment")}"
class="uiButtonText
addQComment">{$translate->__("Comment")}</span>
<!-- Share Button -->
<span class="relative
showShareButtons">
· <span
class="uiButtonText">{$translate->__("Share")}</span>
<div class="shareButtonsWrapper hidden">
<div class="shareButtons">
<a class="connect-facebook-vsmall"
title="{$translate->__("Share this with your
friends")}"
href="http://www.facebook.com/sharer/sharer.php?u={$SITE_URL}/{$_url}/{$post.PostID}/{$post.data.URL}"
target="_blank"></a> <a
class="connect-twitter-vsmall"
title="{$translate->__("Share this with your
followers")}"
href="http://twitter.com/intent/tweet?status={$SITE_URL}/{$_url}/{$post.PostID}/{$post.data.URL}"
target="_blank"></a>
</div>
<div class="shareButtonsArrow"></div>
</div>
</span>
<!-- Share Button
-->
</div>
{/if}