<?php if (count($searchTabs) > 0): ?>
  <ul class="nav nav-tabs">
    <?php foreach ($searchTabs as $tab): ?>
        <?php if ($this->permission()->allowDisplay($tab['permission'])): ?>
          <li<?=$tab['selected'] ? ' option selected="selected" ' : ''?>>
            <a <?=$tab['selected'] ? ' style="color:#448001; font-weight:bold"' : 'href="' . $this->escapeHtmlAttr($tab['url']) . '"' ?>><?=$this->transEsc($tab['label']); ?></a>
          </li>
        <?php elseif ($block = $this->permission()->getAlternateContent($tab['permission'])): ?>
            <?=$block?>
        <?php endif; ?>
    <?php endforeach; ?>
    <li option value="" selected="selected">
		<a href="/vufind/Authority/Home" style="color:#448001; font-weight:bold"><?=$this->transEsc("Search Authority File");?></a> 
    </option>
    </li>
  </ul>
<?php endif; ?>
