mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
WIP NetworkMap class
Former-commit-id: e6918056fa9d71d33cc3b06e3c265dc3856e45af
This commit is contained in:
parent
fcab1ae612
commit
c8bad2b68a
@ -1,6 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class to manage networkmaps in Pandora FMS
|
* Class to manage networkmaps in Pandora FMS
|
||||||
*
|
*
|
||||||
@ -300,11 +298,11 @@ class NetworkMap
|
|||||||
500,
|
500,
|
||||||
500,
|
500,
|
||||||
];
|
];
|
||||||
/*
|
|
||||||
$this->graph['relations'] = clean_duplicate_links(
|
$this->graph['relations'] = clean_duplicate_links(
|
||||||
$this->graph['relations']
|
$this->graph['relations']
|
||||||
);
|
);
|
||||||
*/
|
|
||||||
$output .= '<script type="text/javascript">
|
$output .= '<script type="text/javascript">
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// VARS FROM THE DB
|
// VARS FROM THE DB
|
||||||
@ -1039,8 +1037,6 @@ class NetworkMap
|
|||||||
$output .= $this->loadMapData();
|
$output .= $this->loadMapData();
|
||||||
$output .= $this->loadController();
|
$output .= $this->loadController();
|
||||||
$output .= $this->loadAdvanceInterface();
|
$output .= $this->loadAdvanceInterface();
|
||||||
} else if (isset($this->graph)) {
|
|
||||||
// Build graph based on direct graph definition.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($return === false) {
|
if ($return === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user