mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-12 16:34:25 +02:00
monitoring/lists: Don't render unexistant controls
Even PHP code in HTML comments will be executed. As the filter object sometimes failes, this can result in an invisible "breaking" exception. refs #6031
This commit is contained in:
parent
70ba36aad6
commit
40e45a2a39
@ -4,7 +4,7 @@ $helper = $this->getHelper('MonitoringState');
|
|||||||
<div class="controls">
|
<div class="controls">
|
||||||
<?= $this->tabs ?>
|
<?= $this->tabs ?>
|
||||||
<div style="margin: 1em;" class="dontprint">
|
<div style="margin: 1em;" class="dontprint">
|
||||||
<!--<?= $this->filterBox ?>-->Sort by <?= $this->sortControl->render($this); ?>
|
Sort by <?= $this->sortControl->render($this); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?= $this->paginationControl($hosts, null, null, array('preserve' => $this->preserve)); ?>
|
<?= $this->paginationControl($hosts, null, null, array('preserve' => $this->preserve)); ?>
|
||||||
|
@ -5,7 +5,6 @@ if (!$this->compact): ?>
|
|||||||
<div class="controls">
|
<div class="controls">
|
||||||
<?= $this->tabs ?>
|
<?= $this->tabs ?>
|
||||||
<div style="margin: 1em;" class="dontprint">
|
<div style="margin: 1em;" class="dontprint">
|
||||||
<!-- <?= $this->filterBox ?>-->
|
|
||||||
Sort by <?= $this->sortControl ?>
|
Sort by <?= $this->sortControl ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user