fixed errors in wux

This commit is contained in:
daniel 2017-08-22 11:12:20 +02:00
parent 0408a2bee6
commit d4b0fc0e6b
4 changed files with 8 additions and 0 deletions

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

View File

@ -444,6 +444,11 @@ function servers_get_info ($id_server = -1) {
$server["type"] = "sync";
$id_modulo = 0;
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:
$server["img"] = '';
$server["type"] = "unknown";
@ -759,6 +764,9 @@ function servers_show_type ($id) {
case 7:
return html_print_image("images/server_web.png", true, array("title" => "Pandora FMS WEB server"));
break;
case 8:
return html_print_image("images/module-wux.png", true, array("title" => "Pandora FMS WUX server"));
break;
default:
return "--";
break;