parent
75147d6c62
commit
8d7f32cac1
|
@ -1,8 +1,11 @@
|
|||
<?php
|
||||
use Icinga\Web\Widget\SearchDashboard;
|
||||
?>
|
||||
|
||||
<? if (SearchDashboard::search('dummy')->getPane('search')->hasDashlets()): ?>
|
||||
use Icinga\Web\Widget\SearchDashboard;
|
||||
|
||||
$searchDashboard = new SearchDashboard();
|
||||
$searchDashboard->setUser($this->Auth()->getUser());
|
||||
|
||||
if ($searchDashboard->search('dummy')->getPane('search')->hasDashlets()): ?>
|
||||
<form action="<?= $this->href('search') ?>" method="get" role="search">
|
||||
<input
|
||||
type="text" name="q" id="search" class="search" placeholder="<?= $this->translate('Search') ?> …"
|
||||
|
@ -13,4 +16,4 @@ use Icinga\Web\Widget\SearchDashboard;
|
|||
<nav>
|
||||
<h1 id="navigation" class="sr-only"><?= t('Navigation'); ?></h1>
|
||||
<?= $menuRenderer; ?>
|
||||
</nav>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in New Issue