smokin1337
11-10-2009, 10:00 PM
I don't know if this has been done or not if so sorry. This will open Admincp/Modcp in a new tab.
Go to admincp->Styles and Templates->Style Manager->Yourstyle->Edit Templates->footer
For Admincp find:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
Replace with:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]" target="_blank">$vbphrase[admin]</a> -</if>
For Modcp find:
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
Replace with:
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]" target="_blank">$vbphrase[mod]</a> -</if>
Thats it, if you use a mod to put admincp on your navbar it will be in the navbar or header template just add target="_blank" inside the href tag.
Go to admincp->Styles and Templates->Style Manager->Yourstyle->Edit Templates->footer
For Admincp find:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
Replace with:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]" target="_blank">$vbphrase[admin]</a> -</if>
For Modcp find:
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
Replace with:
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]" target="_blank">$vbphrase[mod]</a> -</if>
Thats it, if you use a mod to put admincp on your navbar it will be in the navbar or header template just add target="_blank" inside the href tag.