fixed errors in wux
This commit is contained in:
parent
0408a2bee6
commit
d4b0fc0e6b
Binary file not shown.
After Width: | Height: | Size: 503 B |
Binary file not shown.
After Width: | Height: | Size: 500 B |
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
|
@ -444,6 +444,11 @@ function servers_get_info ($id_server = -1) {
|
||||||
$server["type"] = "sync";
|
$server["type"] = "sync";
|
||||||
$id_modulo = 0;
|
$id_modulo = 0;
|
||||||
break;
|
break;
|
||||||
|
case SERVER_TYPE_WUX:
|
||||||
|
$server["img"] = html_print_image ("images/icono-wux.png", true, array ("title" => __('Wux server')));
|
||||||
|
$server["type"] = "wux";
|
||||||
|
$id_modulo = 0;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
$server["img"] = '';
|
$server["img"] = '';
|
||||||
$server["type"] = "unknown";
|
$server["type"] = "unknown";
|
||||||
|
@ -759,6 +764,9 @@ function servers_show_type ($id) {
|
||||||
case 7:
|
case 7:
|
||||||
return html_print_image("images/server_web.png", true, array("title" => "Pandora FMS WEB server"));
|
return html_print_image("images/server_web.png", true, array("title" => "Pandora FMS WEB server"));
|
||||||
break;
|
break;
|
||||||
|
case 8:
|
||||||
|
return html_print_image("images/module-wux.png", true, array("title" => "Pandora FMS WUX server"));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return "--";
|
return "--";
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue