Fixed problem with previous commit

This commit is contained in:
m-lopez-f 2015-01-28 10:34:41 +01:00
parent 2dbba8a069
commit a0eb5728f7
2 changed files with 7 additions and 2 deletions

View File

@ -82,7 +82,12 @@ foreach ($servers as $server) {
}
// Type
$data[2] = '<span style="white-space:nowrap;">'.$server["img"].'</span> ('.ucfirst($server["type"]).")";
if ($server['type'] == 'data'){
$data[2] = '<span style="white-space:nowrap;">'.$server["img"].'</span> (<span style="font-size:8px;">' . $server["version"]. '</span>)';
}
else{
$data[2] = '<span style="white-space:nowrap;">'.$server["img"].'</span> ('.ucfirst($server["type"]).")";
}
if ($server["master"] == 1)
$data[2] .= ui_print_help_tip (__("This is a master server"), true);

View File

@ -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"] = "<span style='font-size:8px;'>" . $server['version']. "</span>";
$server["type"] = "data";
$id_modulo = 1;
break;
case SERVER_TYPE_NETWORK: