mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
networkmaps php8
This commit is contained in:
parent
5a761059ea
commit
b731a05bb3
@ -2641,11 +2641,10 @@ class NetworkMap
|
|||||||
'MW'
|
'MW'
|
||||||
);
|
);
|
||||||
|
|
||||||
$simulate = false;
|
|
||||||
if (isset($networkmap['__simulated']) === false) {
|
if (isset($networkmap['__simulated']) === false) {
|
||||||
if ($this->widget) {
|
if ($this->widget) {
|
||||||
$networkmap['filter'] = $this->mapOptions;
|
$networkmap['filter'] = $this->mapOptions;
|
||||||
} else {
|
} else if (is_string($networkmap['filter']) === true) {
|
||||||
$networkmap['filter'] = json_decode(
|
$networkmap['filter'] = json_decode(
|
||||||
$networkmap['filter'],
|
$networkmap['filter'],
|
||||||
true
|
true
|
||||||
@ -2658,7 +2657,6 @@ class NetworkMap
|
|||||||
];
|
];
|
||||||
$holding_area_title = __('Holding Area');
|
$holding_area_title = __('Holding Area');
|
||||||
} else {
|
} else {
|
||||||
$simulate = true;
|
|
||||||
$holding_area_title = '';
|
$holding_area_title = '';
|
||||||
$networkmap['filter']['holding_area'] = [
|
$networkmap['filter']['holding_area'] = [
|
||||||
0,
|
0,
|
||||||
@ -2674,7 +2672,7 @@ class NetworkMap
|
|||||||
html_print_input_hidden('product_name', get_product_name());
|
html_print_input_hidden('product_name', get_product_name());
|
||||||
html_print_input_hidden('center_logo', ui_get_full_url(ui_get_logo_to_center_networkmap()));
|
html_print_input_hidden('center_logo', ui_get_full_url(ui_get_logo_to_center_networkmap()));
|
||||||
|
|
||||||
$output .= '<script type="text/javascript">
|
$output = '<script type="text/javascript">
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// VARS FROM THE DB
|
// VARS FROM THE DB
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user