bibb-theme/templates/search/searchTabs_table.phtml

41 lines
1.4 KiB
PHTML
Executable File

<?php if (count($searchTabs) > 0): ?>
<div class="row">
<div class="col-md-5 col-sm-1">
<table class="table table-bordered">
<thead>
<tr>
<th>Erweitern zu:</th>
<th colspan="2">Limitieren auf:</th>
</tr>
<tr>
<td class="btn btn-info"><a href="https://thesaurus.bibb.de/vufind/Search/Results?lookfor=huber&type=AllFields">Gesamtbestand</a></td>
<td><a href="https://thesaurus.bibb.de/vufind/Search/Results?hiddenFilters%5B%5D=collection%3A%22VETRepository%22&lookfor=huber&type=AllFields">VETrepository</a></td>
<td><a href="https://thesaurus.bibb.de/vufind/Search/Results?hiddenFilters%5B%5D=collection%3A%22BIBB+Katalog%22&lookfor=huber&type=AllFields">Bibliotheksbestand</a></td>
</tr>
</table>
</div>
</div>
<?php endif; ?>
<div class="pull-left">
<ul class="nav navbar-left nav-pills">
<?php foreach ($searchTabs as $tab): ?>
<?php if ($this->permission()->allowDisplay($tab['permission'])): ?>
<li<?=$tab['selected'] ? ' class="active"' : ' class="active"'?>>
<a <?=$tab['selected'] ? ' ' : 'href="' . $this->escapeHtmlAttr($tab['url']) . '"' ?>><?=$this->transEsc($tab['label']); ?></a>
</li>
<?php elseif ($block = $this->permission()->getAlternateContent($tab['permission'])): ?>
<?=$block?>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php endif; ?>