Log in

View Full Version : Navbar


rogersnm
06-01-2006, 07:45 AM
I currently have this in one of my custom files:
// draw nav bar
$navbits = array();
$parentlist = array_reverse(explode(',', substr($foruminfo['parentlist'], 0, -3)));
foreach ($parentlist AS $forumID)
{
$forumTitle =& $vbulletin->forumcache["$forumID"]['title'];
$navbits['forumdisplay.php?' . $vbulletin->session->vars['sessionurl'] . "f=$forumID"] = $forumTitle;
}

// pop the last element off the end of the $nav array so that we can show it without a link
array_pop($navbits);

$navbits[''] = $foruminfo['title'];
$navbits = construct_navbits($navbits);

i copied that out of index.php

and it displays like this:
https://vborg.vbsupport.ru/external/2006/06/6.png

But i would like it to display like this:
https://vborg.vbsupport.ru/external/2006/06/7.png

The 2nd screenshot is one of the index.php file.

Regards,
Nick.