Файл: content/themes/facebook/templates/ajax.posts._buttons.tpl
Строк: 36
{if $method == "get"}
{if $userExist}
<!--
Buttons -->
<div class="dataButtons hidden">
<div class="right">
{if
$post.UserID == $userArray.UserID}
<div
title="{$translate->__("Remove")}"
class="button-close doRemovePost"></div>
{else}
<div
title="{$translate->__("Remove")}" class="{if
$userArray.UserGroup < 3}button-edit{else}button-close{/if}
closeNode"></div>
<div
class="subMenu closeMenu">
<ul>
<li><span
class="menuItem doHidePost">{$translate->__("Hide this
post")}</span></li>
<li><span class="menuItem
doHideUser">{$translate->__("Hide all by")}
{$post.UserFirstName}</span></li>
<li><span class="menuItem
doSpam">{$translate->__("Mark as
spam")}</span></li>
{if
$userArray.UserGroup < 3}
<li
class="moderator"></li>
<li><span class="menuItem
doRemovePost">{$translate->__("Delete this
post")}</span></li>
{/if}
</ul>
</div>
{/if}
</div>
<div
class="left">
<div
title="{$translate->__("Favorit this post")}"
class="button-favorit doFavorite {if $post.favorited ==
true}active{/if}"></div>
</div>
</div>
<!-- Buttons -->
{/if}
{else}
<div class="dataButtons hidden">
<div
class="right">
<div
title="{$translate->__("Remove")}"
class="button-close doRemovePost"></div>
</div>
<div class="left">
<div title="{$translate->__("Favorit this
post")}" class="button-favorit
doFavorite"></div>
</div>
</div>
{/if}