<?php if (! $this->compact): ?>
<div class="controls">
    <?= $tabs; ?>
</div>
<?php endif ?>

<?php

if ($this->height) {
    $attr = sprintf(' height="%s"', $height);
} else {
    $attr = '';
}

?>
<iframe id="nagvis-iframe" src="<?= $this->nagvisUrl ?>" width="100%"<?= $attr ?> marginheight=0 marginwidth=0 wspace=0 frameborder=0 ></iframe><!-- onload="nagvis_frame_reload();" -->