mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
75147d6c62
commit
8d7f32cac1
@ -1,8 +1,11 @@
|
|||||||
<?php
|
<?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">
|
<form action="<?= $this->href('search') ?>" method="get" role="search">
|
||||||
<input
|
<input
|
||||||
type="text" name="q" id="search" class="search" placeholder="<?= $this->translate('Search') ?> …"
|
type="text" name="q" id="search" class="search" placeholder="<?= $this->translate('Search') ?> …"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user