mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
WIP NetworkMap class
Former-commit-id: 5af817aef635798f1ebdfcf596f30939b327e2a7
This commit is contained in:
parent
0920328e0a
commit
2188caaec2
@ -476,7 +476,7 @@ class NetworkMap
|
|||||||
*
|
*
|
||||||
* @return string HTML code with dialogs.
|
* @return string HTML code with dialogs.
|
||||||
*/
|
*/
|
||||||
public function loadAdvanceInterface()
|
public function loadAdvancedInterface()
|
||||||
{
|
{
|
||||||
$list_networkmaps = get_networkmaps($this->idMap);
|
$list_networkmaps = get_networkmaps($this->idMap);
|
||||||
if (empty($list_networkmaps)) {
|
if (empty($list_networkmaps)) {
|
||||||
@ -494,7 +494,7 @@ class NetworkMap
|
|||||||
$output .= __('Edit node').'">';
|
$output .= __('Edit node').'">';
|
||||||
$output .= '<div style="text-align: left; width: 100%;">';
|
$output .= '<div style="text-align: left; width: 100%;">';
|
||||||
|
|
||||||
$table = null;
|
$table = new StdClass();
|
||||||
$table->id = 'node_details';
|
$table->id = 'node_details';
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
|
|
||||||
@ -516,7 +516,7 @@ class NetworkMap
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
$table = null;
|
$table = new StdClass();
|
||||||
$table->id = 'interface_information';
|
$table->id = 'interface_information';
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
|
|
||||||
@ -541,7 +541,7 @@ class NetworkMap
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
$table = null;
|
$table = new StdClass();
|
||||||
$table->id = 'node_options';
|
$table->id = 'node_options';
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
|
|
||||||
@ -615,7 +615,7 @@ class NetworkMap
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
$table = null;
|
$table = new StdClass();
|
||||||
$table->id = 'relations_table';
|
$table->id = 'relations_table';
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
|
|
||||||
@ -735,7 +735,7 @@ class NetworkMap
|
|||||||
$output .= __('Add node').'">';
|
$output .= __('Add node').'">';
|
||||||
$output .= '<div style="text-align: left; width: 100%;">';
|
$output .= '<div style="text-align: left; width: 100%;">';
|
||||||
|
|
||||||
$table = null;
|
$table = new StdClass();
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->data = [];
|
$table->data = [];
|
||||||
|
|
||||||
@ -779,7 +779,7 @@ class NetworkMap
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
$table = null;
|
$table = new StdClass();
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->data = [];
|
$table->data = [];
|
||||||
$table->data[0][0] = __('Group');
|
$table->data[0][0] = __('Group');
|
||||||
@ -830,7 +830,7 @@ class NetworkMap
|
|||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
$table = null;
|
$table = new StdClass();
|
||||||
$table->width = '100%';
|
$table->width = '100%';
|
||||||
$table->data = [];
|
$table->data = [];
|
||||||
$table->data[0][0] = __('Name');
|
$table->data[0][0] = __('Name');
|
||||||
@ -1036,7 +1036,7 @@ class NetworkMap
|
|||||||
$output .= $this->loadMapSkel();
|
$output .= $this->loadMapSkel();
|
||||||
$output .= $this->loadMapData();
|
$output .= $this->loadMapData();
|
||||||
$output .= $this->loadController();
|
$output .= $this->loadController();
|
||||||
$output .= $this->loadAdvanceInterface();
|
$output .= $this->loadAdvancedInterface();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($return === false) {
|
if ($return === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user