• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[ban+edit] user link on topic

#1


template: message_user_info


find:
Code:
<xen:if hascontent="true">
        <div class="extraUserInfo">
replace for:
Code:
<div class="extraUserInfo"><xen:if hascontent="true">



find:
Code:
</xen:if>
</div></xen:if>

</xen:if>

        <span class="arrow"><span></span></span>
    </div>
</div>
replace for:

Code:
</xen:if>
    <xen:if is="{$visitor.is_admin}">
<a href="admin.php?banning/users/{$post.username}.{$post.user_id}/add">{xen:phrase ban_user}</a><br>
<a href="admin.php?users/{$post.username}.{$post.user_id}/edit">{xen:phrase edit}</a><br />
</xen:if></div>

</xen:if>

        <span class="arrow"><span></span></span>
    </div>
</div>