Slightly Better Admin Panel Menu
For vShare2.6 Admin Panel Menu
This removes the logo and link to vShare at the top and replaces it with a way to view your vShare site without having to leave the administration panel. Copy and preplace the code in templates/admin/menu.tpl
Code:
<HTML>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<title>{$site_name} ADMINISTRATION</title>
<LINK href="{$baseurl}/templates/css/admin.css" type=text/css rel=stylesheet>
</head>
<body leftmargin=0 rightmargin="0" topmargin=0 bottommargin="0" marginheight="0" marginwidth="0">
<table cellspacing=0 cellpadding=0 border=0>
<tr>
<td valign=top>
<div class="menu_head">PREVIEW</div>
<div id=mnpMenuTop>
<div class=mnpInherit>
<div class=mnpMenuRow>
[img]{$baseurl}/templates/images/arrow_orange.gif[/img]
{$site_name} Index</div>
{section name=aa loop=$MainLinks}
<div class="menu_head">{$MainLinks[aa].0}</div>
{section name=bb loop=$ChildLinks}
{ if $ChildLinks[bb].2 eq $smarty.section.aa.index }
<div class=mnpMenuRow>
[img]{$baseurl}/templates/images/arrow_orange.gif[/img]
{$ChildLinks[bb].0}</div>
{/if}
{/section}
{/section}</div>
</div></td>
</tr>
</table>
<hr>
<center>
Logout
<font size=2 color=#000000>Powered by: vShare</FONT>
</center>
</body>
</html>
If it's not fun, stop doing it!
Bookmarks