Change visual in 'Tactical server information' in third column
This commit is contained in:
parent
d00233e7c4
commit
10993ef0f5
|
@ -82,20 +82,11 @@ foreach ($servers as $server) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Type
|
// 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){
|
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>';
|
||||||
$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);
|
|
||||||
|
|
||||||
switch ($server['type']) {
|
switch ($server['type']) {
|
||||||
case "snmp":
|
case "snmp":
|
||||||
|
|
Loading…
Reference in New Issue