Fixed problem with previous commit
This commit is contained in:
parent
2dbba8a069
commit
a0eb5728f7
|
@ -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);
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue