doc/lib: Add missing search view script

refs #6630
This commit is contained in:
Eric Lippmann 2015-02-11 13:58:22 +01:00
parent f33b6a918c
commit 27c53a315f
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<div class="controls">
<?= /** @type \Icinga\Web\Widget\Tabs $tabs */ $tabs->showOnlyCloseButton() ?>
</div>
<div class="content">
<?php foreach (/** @type \Icinga\Module\Doc\Search\DocSearchRenderer[] $searches */ $searches as $title => $search): ?>
<?php if (! $search->isEmpty()): ?>
<h2><?= $this->escape($title) ?></h2>
<?= $search ?>
<?php endif ?>
<?php endforeach ?>
</div>