{extends "../menu.tpl"}

{block name="menu-items"}
   <li class="nav-header"><i class="glyphicon glyphicon-wrench"></i><span>{translate_type type=$type}</span></li>
   <li><a href="javascript:nf('launch.php?s=menu.php&type=producers', 'launch.php?s=list.php&amp;type=producers');"><i class="glyphicon glyphicon-list"></i> <span>{'toolbar_list'|translate}</span></a></li>
   <li><a href="javascript:nf('launch.php?s=menu.php&type=producers&filterList=producersTop', 'launch.php?s=list.php&amp;type=producersTop');"><i class="glyphicon glyphicon-list"></i> <span>{'toolbar_list_top'|translate}</span></a></li>
   <li><a href="javascript:nw('producer', '0');"><i class="glyphicon glyphicon-plus"></i> <span>{'toolbar_add'|translate}</span></a></li>

   <li class="nav-header smaller"><i class="glyphicon glyphicon-search"></i><span>{'search'|translate}</span></li>
   <li class="pill-content">
      <ul class="nav-sub nav-pills">
         <form id='search' target="mainFrame" method="get" action="launch.php" class="form-inline">
            <div class="form-group">
               <div class="input-group">
                  <input type="text" class="form-control input-sm" name="title" maxlength="100" value="" placeholder="{'searchName'|translate}"/>
                  <input type="hidden" name="type" value="{if $smarty.get.filterList}{$smarty.get.filterList}{else}producers{/if}" /><input type="hidden" name="s" value="list.php">
                  <span class="input-group-btn">
                     <button type="submit" border="0" class="btn btn-primary btn-sm" title="Vyhledat"><i class="glyphicon glyphicon-search"></i></button>
                  </span>
               </div>
            </div>
            <div class="form-group">
               <div class="input-group">
                  <input type="text" class="form-control input-sm" name="searchID" maxlength="100" value="" placeholder="{'searchID'|translate}"/>
                  <input type="hidden" name="type" value="{if $smarty.get.filterList}{$smarty.get.filterList}{else}producers{/if}" /><input type="hidden" name="s" value="list.php">
                  <span class="input-group-btn">
                     <button type="submit" border="0" class="btn btn-primary btn-sm" title="Vyhledat"><i class="glyphicon glyphicon-search"></i></button>
                  </span>
               </div>
            </div>

            <div class="form-group">
               <div class="checkbox">
                  <input type="checkbox" class="input" id="nonActive" name="nonActive" value="1">
                  <label for="nonActive">{'nonActive'|translate}</label>
               </div>
            </div>
            <div class="form-group">
               <div class="checkbox">
                  <input type="checkbox" class="input" id="noLogo" name="noLogo" value="1">
                  <label for="noLogo">{'noLogo'|translate}</label>
               </div>
            </div>
            <div class="form-group">
                  <input type="reset" id="resetBtn" value="{'delete'|translate:"orders"}" class="btn btn-danger btn-sm"/>
                  <input type="submit" value="{'searchBtn'|translate:"orders"}" class="btn btn-primary btn-sm"/>
                  <input type="hidden" name="s" value="list.php"><input type="hidden" name="type" value="{if $smarty.get.filterList}{$smarty.get.filterList}{else}{$type}{/if}"/>
               </div>
         </form>
      </ul>
   </li>
{/block}
