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 > Post Reply


Post Reply
Icon:
Message:



[More smilies...]
Bold   Italic   Underline   Code   Email   Quote   Url   Image   
Rights

HTML is Off
Smilies are On
BB Code is On
[img] Code is On

Disable smileys?
Use signature?
Turn BBCode off?
Receive email notification of new replies?

Topic Review


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



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.103949 Seconds