{*<!--

+---------------------------------------------------------------------------+
| OpenX v2.8                                                                |
| =========                                                                 |
|                                                                           |
| Copyright (c) 2003-2009 OpenX Limited                                     |
| For contact details, see: http://www.openx.org/                           |
|                                                                           |
| This program is free software; you can redistribute it and/or modify      |
| it under the terms of the GNU General Public License as published by      |
| the Free Software Foundation; either version 2 of the License, or         |
| (at your option) any later version.                                       |
|                                                                           |
| This program is distributed in the hope that it will be useful,           |
| but WITHOUT ANY WARRANTY; without even the implied warranty of            |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             |
| GNU General Public License for more details.                              |
|                                                                           |
| You should have received a copy of the GNU General Public License         |
| along with this program; if not, write to the Free Software               |
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA |
+---------------------------------------------------------------------------+
$Id:captcha-dialog.html 11612 2007-10-26 11:00:05Z matteo.beccati@openads.org $

-->*}
{if $aLeftMenuNav|@count}
<div id="secondLevelNavigation">
  {section name=n loop=$aLeftMenuNav}
    {if $smarty.section.n.first} {*open nav list*}
        <ul class="navigation first">
    {elseif $aLeftMenuNav[n].first} {*if new group starts close list and start a new one*}
        </ul>
        <ul class="navigation">
    {/if}
  
    {if $aLeftMenuNav[n].selected}
      <li class="active {if $aLeftMenuNav[n].first} first{/if}{if $aLeftMenuNav[n].last} last{/if}">
    {else}
      <li class="passive {if $aLeftMenuNav[n].first} first{/if}{if $aLeftMenuNav[n].last} last{/if}{if $aLeftMenuNav[n].single} single{/if}{if !$aLeftMenuNav[n].first && $aLeftMenuNav[$smarty.section.n.index_prev].selected} after-active{/if}">
    {/if}
          <a href="{$adminBaseURL}{$aLeftMenuNav[n].filename|escape}">
            {$aLeftMenuNav[n].title|escape}
            <span class="top"></span>
            <span class="bottom"></span>
          </a>
          
          {if $aLeftMenuNav[n].selected && $aLeftMenuSubNav|@count}
          <ul class="navigation">
            {section name=sub loop=$aLeftMenuSubNav}
              {if $aLeftMenuSubNav[sub].selected}
              <li class="active {if $smarty.section.sub.first} first{/if}{if $smarty.section.sub.last} last {/if}">
              {else}
              <li class="passive {if $smarty.section.sub.first} first{else}{if $smarty.section.sub.last} last {/if}{/if}{if $aLeftMenuSubNav[$smarty.section.sub.index_prev].selected} after-active{/if}">
              {/if}
                <a href="{$adminBaseURL}{$aLeftMenuSubNav[sub].filename|escape}">
                  {$aLeftMenuSubNav[sub].title|escape}
                  <span class="top"></span>
                  <span class="bottom"></span>
                </a>
              </li>
            {/section}
          </ul>
          {/if}                        
          
      </li>
    {if $smarty.section.n.last} {*close nav list*}
    </ul>
    {/if}      
  {/section}

{if isset($aNotificationQueue)}
  <div class="notificationPlaceholder">
    <div class="message">
    {foreach from=$aNotificationQueue item=notification}
      <div class="panel {$notification.type}">
        <div class='icon'></div>
        <p>
          {$notification.text}
        </p>
        <div class='topleft'></div><div class='topright'></div><div class='bottomleft'></div><div class='bottomright'></div>    
      </div>
    {/foreach}
    </div>
  </div>
{/if}
  
  
</div>
{/if}

