Code: Select all
<div id="wrap"><div id="header"><ul>
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->current == true and $node->child == false}
<li><a href="{$node->url}"><span>{$node->menutext}</a></il>
{/if}
{/foreach}
{/if}
</ul></div></div>
And for this one below, I want to show the children links pushed over a bit.
Code: Select all
{if $count > 0}
{foreach from=$nodelist item=node}
{if $node->current == true}
<tr><td class="nav_body" style="background-color:#dadada;"><img border="0px" height="16px" src="images/bullet.gif" width="20px" /> {$node->menutext}</td></tr>
{elseif $node->parent == true}
<tr><td class="nav_body"><img border="0px" height="16px" src="images/bullet.gif" width="20px" /> <a href="{$node->url}">{$node->menutext}</a></td></tr>
{else}
<tr><td class="nav_body"><img border="0px" height="16px" src="images/bullet.gif" width="20px" /> <a href="{$node->url}">{$node->menutext}</a></td></tr>
{/if}
{/foreach}
{/if}
Code: Select all
<tr><td class="nav_body"><img border="0px" height="16px" src="images/bullet.gif" width="20px" /> <a href="{$node->url}">{$node->menutext}</a></td></tr>