parent
61357da35c
commit
fde7525850
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
||||
|
||||
namespace Icinga\Module\Iframe\Controllers;
|
||||
|
||||
use Icinga\Web\Controller;
|
||||
|
||||
/**
|
||||
* Display external or internal links within an iframe
|
||||
*/
|
||||
class IndexController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display iframe w/ the given URL
|
||||
*/
|
||||
public function indexAction()
|
||||
{
|
||||
$this->view->url = $this->params->getRequired('url');
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
<iframe src="<?= $this->escape($url) ?>" style="height:100%; width:99%;" frameborder="no"></iframe>
|
|
@ -0,0 +1,3 @@
|
|||
Module: iframe
|
||||
Version: 2.0.0
|
||||
Description: Display web sites within Icinga Web 2 via iframes
|
Loading…
Reference in New Issue