Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Questions? > Adding admin menu to header


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: Adding admin menu to header

Newbie





Posts: 1
Registered: 12/29/2007
Status: Offline

  posted on 12/29/2007 at 09:38 AM
Hi all,

I saw in the fisubice theme in the header that there is showing up a link to the admin menu when you are an admin. Looks like a nice feature I would like to use in my autotheme theme also. But I have no clue where to change this in the code.

I found this in the fisubice code :

if (is_admin($admin)) $adminMenu='<a href="'.$admin_file.'.php?op=adminMain">'._FSIADMINMENU.'</a>& nbsp;&#8226;&nbsp;';
else $adminMenu = '';

$navMenu = '&nbsp;&#8226;&nbsp;<a href="index.phtml">'._HOME.'</a>&nbsp;&#8226;&nbsp;<a href="modules.php?name=Downloads">'._UDOWNLOADS.'</a>&nbsp;&am p;#8226;&nbsp;<a href="modules.php?name=Your_Account">'._FSIYOURACCOUNT.'</a>&n bsp;&#8226;&nbsp;<a href="modules.php?name=Forums">'._BBFORUMS.'</a>&nbsp;&#82 26;&nbsp;'.$logoutMenu.$adminMenu;

Could anyone point me to the right files to edit to add some of this code to get this link in the autotheme header?

Thanks

 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 103
Comments: 0

Powered by the AutoTheme HTML Theme System
Page created in 0.108590 Seconds