Вход Регистрация
Файл: content/themes/facebook/templates/ajax.posts.discussions.tpl
Строк: 127
{if $app == 'home'} <!-- Avatar --> {include
file='ajax.posts._avatar.tpl'} <!-- Avatar --> <!-- Post
--> <div class="dataContentWrapper medium
ml10"> <!-- Buttons & UserName --> <div
class="dataContent mb5"> {include
file='ajax.posts._buttons.tpl'} {include
file='ajax.posts._username.tpl'} <span
class="gray"> {$translate->__("Opened a new
Discussion")} </span> </div> <!-- Buttons &
UserName --> <!-- Data --> <div class="dataAppContent
mb10 dataDiscussion"> <strong> <a
href="{$SITE_URL}/discussion/{$post.PostID}/{$post.data.URL}">{$post.data.Title}</a> </strong> <br
/> <br /> <span
class="gray"> {$post.data.Text|truncate:500} </span> </div> <!--
Data --> <!-- Statistics --> {include
file='ajax.posts._statistics.tpl' _icon='app_discussions'
_url='discussion'} <!-- Statistics --> <!-- Comments
--> {include file='ajax.posts.comments.tpl'} <!-- Comments
--> </div> <!-- Post --> {elseif $app ==
'discussions'} <!-- Post --> <div class="dataContentWrapper
ml10"> <!-- Buttons & Title --> <div
class="dataContent mb5"> {include
file='ajax.posts._buttons.tpl'} <strong> <a
href="{$SITE_URL}/discussion/{$post.PostID}/{$post.data.URL}">{$post.data.Title}</a> </strong> </div> <!--
Buttons & Title --> <!-- Data --> <div
class="dataContent gray
mb10"> {$translate->__("By")}: <!-- User Name
--> {include file='ajax.posts._username.tpl'} <!-- User Name
--> · {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} · <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}/discussion/{$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}/discussion/{$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}/discussion/{$post.PostID}/{$post.data.URL}
" target="_blank"></a> </div> <div
class="shareButtonsArrow"> </div> </div> </span> <!--
Share Button --> </div> <div class="dataContent
mb10"> {$post.data.Text} </div> <!-- Data
--> <!-- Comments --> {include
file='ajax.posts.comments.tpl'} <!-- Comments
--> </div> <!-- Post --> <!-- Avatar --> <div
class="dataSideWrapper medium ml10"> <a
href="{$post.UserURL}"><img
src="{$SITE_URL}/{$post.UserAvatarPath}" width='30px'
/></a> </div> <!-- Avatar --> {/if}
Онлайн: 1
Реклама