Results 1 to 2 of 2

Thread: Slightly Better Admin Panel Menu

  1. #1
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default 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!

  2. #2

    Default Re: Slightly Better Admin Panel Menu

    works great

Similar Threads

  1. sql problem in admin panel
    By RAMMSTEIN in forum General Discussions
    Replies: 0
    Last Post: 04-07-2009, 10:35 PM
  2. Secure admin panel
    By bigoboy in forum Template Modifications
    Replies: 10
    Last Post: 01-05-2009, 08:33 AM
  3. cannot login admin panel
    By eManuka in forum General Discussions
    Replies: 4
    Last Post: 06-11-2008, 10:05 AM
  4. CANT GET INTO ADMIN PANEL!!?
    By joecool6101 in forum Fixed Bugs
    Replies: 2
    Last Post: 07-09-2007, 09:56 PM
  5. In The new update In Admin Panel
    By zeffer in forum General Discussions
    Replies: 8
    Last Post: 06-29-2007, 11:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •