Analogpoint
10-03-2007, 10:00 PM
This is a super-simple template mod to add Admin CP and Mod CP links to the top right corner of the page. The links are only shown if the user has the appropriate mod or admin permissions.
I created this for myself, because it's a lot more convenient than scrolling to the bottom for the admin/mod cp links or typing in the url. It should work for most styles, and since the links are small they are fairly non-intrusive. If you need to change the link or background colors so the links show up with your style, just ask here.
http://www.analogpoint.com/static/images/admin-mod-links-screenshot.png
To install, simply paste the following code at the bottom of your footer template.
<if condition="$show['admincplink'] || $show['modcplink']">
<div style="position:absolute;top:2px;right:8px;font-size:x-small;">
<if condition="$show['admincplink']">
<a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a>
</if>
<if condition="$show['modcplink']">
<a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a>
</if>
</div>
</if>
I created this for myself, because it's a lot more convenient than scrolling to the bottom for the admin/mod cp links or typing in the url. It should work for most styles, and since the links are small they are fairly non-intrusive. If you need to change the link or background colors so the links show up with your style, just ask here.
http://www.analogpoint.com/static/images/admin-mod-links-screenshot.png
To install, simply paste the following code at the bottom of your footer template.
<if condition="$show['admincplink'] || $show['modcplink']">
<div style="position:absolute;top:2px;right:8px;font-size:x-small;">
<if condition="$show['admincplink']">
<a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a>
</if>
<if condition="$show['modcplink']">
<a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a>
</if>
</div>
</if>