XF 1.2 Admin link

BassMan

Well-known member
Hi!

How to open admin link (on the top right corner) in new window? Where can I find the code?
 

Jeremy

Well-known member
In the template moderator_bar find this code:
Code:
                <a href="admin.php" class="acp adminLink"><span class="itemLabel">{xen:phrase admin_control_panel_short}</span></a>
Change it to this (to add target="_blank"):
Code:
                <a href="admin.php" class="acp adminLink" target="_blank"><span class="itemLabel">{xen:phrase admin_control_panel_short}</span></a>
 
Top