Change order to show info in 'Tactical server information' about data server
This commit is contained in:
parent
f7842d8702
commit
f1f1e7ba94
|
@ -83,12 +83,18 @@ foreach ($servers as $server) {
|
||||||
|
|
||||||
// Type
|
// Type
|
||||||
if ($server['type'] == 'data'){
|
if ($server['type'] == 'data'){
|
||||||
$data[2] = '<span style="white-space:nowrap;">'.$server["img"].'</span> (<span style="font-size:8px;">' . $server["version"]. '</span>)';
|
$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>';
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$data[2] .= '</span> (<span style="font-size:8px;"> v' . $server["version"]. '</span>)';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$data[2] = '<span style="white-space:nowrap;">'.$server["img"].'</span> ('.ucfirst($server["type"]).")";
|
$data[2] = '<span style="white-space:nowrap;">'.$server["img"].'</span> ('.ucfirst($server["type"]).")";
|
||||||
}
|
}
|
||||||
if ($server["master"] == 1)
|
if ($server["master"] == 1 and $server['type'] != 'data')
|
||||||
$data[2] .= ui_print_help_tip (__("This is a master server"), true);
|
$data[2] .= ui_print_help_tip (__("This is a master server"), true);
|
||||||
|
|
||||||
switch ($server['type']) {
|
switch ($server['type']) {
|
||||||
|
|
Loading…
Reference in New Issue