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:
Thomas Gelf 2014-05-26 14:57:18 +00:00
parent 70ba36aad6
commit 40e45a2a39
2 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,7 @@ $helper = $this->getHelper('MonitoringState');
<div class="controls">
<?= $this->tabs ?>
<div style="margin: 1em;" class="dontprint">
<!--<?= $this->filterBox ?>-->Sort by <?= $this->sortControl->render($this); ?>
Sort by <?= $this->sortControl->render($this); ?>
</div>
<?= $this->paginationControl($hosts, null, null, array('preserve' => $this->preserve)); ?>

View File

@ -5,7 +5,6 @@ if (!$this->compact): ?>
<div class="controls">
<?= $this->tabs ?>
<div style="margin: 1em;" class="dontprint">
<!-- <?= $this->filterBox ?>-->
Sort by <?= $this->sortControl ?>
</div>