Location: PHPKode > scripts > Form Tools > themes/classicgrey/menu.tpl

  This page is used to render the navigation menu for all accounts - administrator and clients.

  {assign var=is_current_parent_menu value=false}

  <div class="menu_items">
  {foreach from=$SESSION.menu.menu_items key=k item=i}

    {assign var=link_id value=""}

    {* main menu item *}
    {if $i.is_submenu == "no"}

      {* if this parent menu contains the page that is currently being viewed, show the submenu options *}
      {if $i.url == $nav_parent_page_url}
        {assign var=is_current_parent_menu value=true}
        {assign var=is_current_parent_menu value=false}

      <div class="nav_link"><a href="{$i.url}"{$link_id}>{$i.display_text}</a></div>

    {* child menu item *}
      <div class="nav_link_submenu"><a href="{$i.url}"{$link_id}>&#8211; {$i.display_text}</a></div>

Return current item: Form Tools