Admin name in the nav

All support enquiries for DFH go in here...

Admin name in the nav

Postby klopus » Fri Mar 30, 2012 4:56 pm

I modified the nav, to enter instead of writing My Files, the name of "Registered user", so everything is right!
but when I access via Admin login, I dont see any name
how can I fix this?

Code: Select all
<?php if ($_SESSION['islogged'] <> true) {?>
  <a class="toplinks" href="index.php?page=login"><?php echo $lang[login];?></a>
  <?php }else{?><a class="toplinks" href="index.php?page=userpanel"><?php echo $_SESSION['name'];?></a><?php }?>


its possible?

thanks in advance, and sorry for my bad english(im italian :D)

ps: This script is fantastic, I will donate soon :D
klopus
Premium
 
Posts: 14
Joined: Thu Mar 22, 2012 9:31 pm

Re: Admin name in the nav

Postby SamEA » Fri Mar 30, 2012 7:06 pm

The AdminCP has its own header and footer. You'll need to modify ./admin.php to adjust the navigation bar. However, do be careful though.
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm


Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 37 guests

cron