Change visual in 'Tactical server information' in third column

This commit is contained in:
m-lopez-f 2015-01-30 13:12:04 +01:00
parent d00233e7c4
commit 10993ef0f5
1 changed files with 3 additions and 12 deletions

View File

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