<xen:if is="{$post.canEdit}">
<a href="{xen:link posts/edit, $post}" class="item control edit {xen:if $xenOptions.messageInlineEdit, OverlayTrigger}"
data-href="{xen:link posts/edit-inline, $post}" data-overlayOptions="{"fixed":false}"
data-messageSelector="#post-{$post.post_id}"><span></span>{xen:phrase edit}</a>
<xen:require js="js/xenforo/discussion.js" />
</xen:if>
<xen:if is="{$post.edit_count} && {$post.canViewHistory}"><a href="{xen:link posts/history, $post}" class="item control history {xen:if '@uix_postbit_privateControlsMenu', 'OverlayTrigger', 'ToggleTrigger'}"><span></span>{xen:phrase history}</a></xen:if>
<xen:if is="{$post.canDelete}"><a href="{xen:link posts/delete, $post}" class="item control delete OverlayTrigger"><span></span>{xen:phrase delete}</a></xen:if>
<xen:if is="{$post.canCleanSpam}"><a href="{xen:link spam-cleaner, $post}" class="item control deleteSpam OverlayTrigger"><span></span>{xen:phrase spam}</a></xen:if>
<xen:if is="{$canViewIps} AND {$post.ip_id}"><a href="{xen:link posts/ip, $post}" class="item control ip OverlayTrigger"><span></span>{xen:phrase ip}</a></xen:if>
<xen:if is="{$post.canWarn}">
<a href="{xen:link members/warn, $post, 'content_type=post', 'content_id={$post.post_id}'}" class="item control warn"><span></span>{xen:phrase warn}</a>
<xen:elseif is="{$post.warning_id} && {$canViewWarnings}" />
<a href="{xen:link warnings, $post}" class="OverlayTrigger item control viewWarning"><span></span>{xen:phrase view_warning}</a>
</xen:if>
<xen:if is="{$post.canReport}">
<a href="{xen:link posts/report, $post}" class="OverlayTrigger item control report" data-cacheOverlay="false"><span></span>{xen:phrase report}</a>
</xen:if>