Merge branch 'maint/7.0'
[ninja.git] / application / widgets / nagvis / view.php
blob053cc80cec7cf4c780c59e3801bf78369dc7f6bc
1 <?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
2 <div class="nagvis-widget-content">
3 <?php if (isset($arguments['map']) && $arguments['map']) { ?>
4 <iframe name="nagvis" class="nagvis" src="/nagvis/frontend/nagvis-js/index.php?mod=Map&act=view&show=<?php print $arguments['map'] ?>&header_menu=0" width="100%" height="<?php print $arguments['height'] ?>" frameborder="0">
5 Error : Can not load NagVis.
6 </iframe>
7 <?php } else { ?>
8 <p>No maps configured</p>
9 <?php } ?>
10 </div>