2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
* extensions/vnc_view.php: added first version of extension of to VNC view tab. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
0608b5e27c
commit
7db030ba63
|
@ -1,3 +1,8 @@
|
|||
2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* extensions/vnc_view.php: added first version of extension of to VNC view
|
||||
tab.
|
||||
|
||||
2010-11-17 Raúl Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* operation/reporting/reporting_viewer.php, operation/reporting/graph_viewer.php:
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
|
||||
// Please see http://pandorafms.org for full contribution list
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation for version 2.
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
function vnc_view() {
|
||||
$idAgent = (int)get_parameter('id_agente', 0);
|
||||
$ipAgent = get_db_value('direccion', 'tagente', 'id_agente', $idAgent);
|
||||
?>
|
||||
<iframe width="95%" height="500px" src="http://<?php echo $ipAgent;?>:5800"></iframe>
|
||||
<?php
|
||||
}
|
||||
|
||||
add_extension_opemode_tab_agent('vnc_view', __('VNC view'), 'images/computer.png', 'vnc_view');
|
||||
?>
|
Loading…
Reference in New Issue