1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed A little template bug in div.privateControls

Discussion in 'Resolved Bug Reports' started by alexD, Feb 28, 2011.

  1. alexD

    alexD Active Member

    template_bug.png
    In the above snapshot, "Report" should be inside that span.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I'm fairly sure that is intended.

    This is the template code:

    Code:
    <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="{$visitor.user_id}"><a href="{xen:link posts/report, $post}" class="OverlayTrigger item control report" data-cacheOverlay="false"><span></span>{xen:phrase report}</a></xen:if>
     
  3. Mike

    Mike XenForo Developer Staff Member

    Yes, it's intended. It's a helper to add an icon, for example.
     
  4. alexD

    alexD Active Member

    Thanks for your replies guys.
     

Share This Page