Added the Satellite Server to the server's view.

This commit is contained in:
Ramon Novoa 2015-10-14 14:57:10 +02:00
parent 86c900b196
commit f0b2aa23eb
3 changed files with 6 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -344,6 +344,7 @@ define('SERVER_TYPE_WEB', 9);
define('SERVER_TYPE_EVENT', 10);
define('SERVER_TYPE_ENTERPRISE_ICMP', 11);
define('SERVER_TYPE_ENTERPRISE_SNMP', 12);
define('SERVER_TYPE_ENTERPRISE_SATELLITE', 13);
/* REPORTS */
define('REPORT_TOP_N_MAX', 1);

View File

@ -424,6 +424,11 @@ function servers_get_info ($id_server = -1) {
$server["type"] = "enterprise snmp";
$id_modulo = 2;
break;
case SERVER_TYPE_ENTERPRISE_SATELLITE:
$server["img"] = html_print_image ("images/satellite.png", true, array ("title" => __('Enterprise Satellite server')));
$server["type"] = "enterprise satellite";
$id_modulo = 0;
break;
default:
$server["img"] = '';
$server["type"] = "unknown";