diff --git a/pandora_console/godmode/servers/servers.build_table.php b/pandora_console/godmode/servers/servers.build_table.php index ab5b40f2a4..f3ac17c7c2 100644 --- a/pandora_console/godmode/servers/servers.build_table.php +++ b/pandora_console/godmode/servers/servers.build_table.php @@ -82,7 +82,12 @@ foreach ($servers as $server) { } // Type - $data[2] = ''.$server["img"].' ('.ucfirst($server["type"]).")"; + if ($server['type'] == 'data'){ + $data[2] = ''.$server["img"].' (' . $server["version"]. ')'; + } + else{ + $data[2] = ''.$server["img"].' ('.ucfirst($server["type"]).")"; + } if ($server["master"] == 1) $data[2] .= ui_print_help_tip (__("This is a master server"), true); diff --git a/pandora_console/include/functions_servers.php b/pandora_console/include/functions_servers.php index 8a6e3732d7..7d67a0bf86 100644 --- a/pandora_console/include/functions_servers.php +++ b/pandora_console/include/functions_servers.php @@ -361,7 +361,7 @@ function servers_get_info ($id_server = -1) { switch ($server['server_type']) { case SERVER_TYPE_DATA: $server["img"] = html_print_image ("images/data.png", true, array ("title" => __('Data server'))); - $server["type"] = "" . $server['version']. ""; + $server["type"] = "data"; $id_modulo = 1; break; case SERVER_TYPE_NETWORK: