Add icons for the Mainframe and Sync servers.

This commit is contained in:
Ramon Novoa 2017-03-08 14:48:03 +01:00
parent 68803706d4
commit a832ae99ab
4 changed files with 12 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

View File

@ -348,6 +348,8 @@ define('SERVER_TYPE_ENTERPRISE_ICMP', 11);
define('SERVER_TYPE_ENTERPRISE_SNMP', 12);
define('SERVER_TYPE_ENTERPRISE_SATELLITE', 13);
define('SERVER_TYPE_ENTERPRISE_TRANSACTIONAL', 14);
define('SERVER_TYPE_MAINFRAME', 15);
define('SERVER_TYPE_SYNC', 16);
/* REPORTS */
define('REPORT_TOP_N_MAX', 1);

View File

@ -434,6 +434,16 @@ function servers_get_info ($id_server = -1) {
$server["type"] = "enterprise transactional";
$id_modulo = 0;
break;
case SERVER_TYPE_MAINFRAME:
$server["img"] = html_print_image ("images/mainframe.png", true, array ("title" => __('Mainframe server')));
$server["type"] = "mainframe";
$id_modulo = 0;
break;
case SERVER_TYPE_SYNC:
$server["img"] = html_print_image ("images/sync.png", true, array ("title" => __('Sync server')));
$server["type"] = "sync";
$id_modulo = 0;
break;
default:
$server["img"] = '';
$server["type"] = "unknown";