Skip to content

Commit

Permalink
Change order to show info in 'Tactical server information' about data…
Browse files Browse the repository at this point in the history
… server

(cherry picked from commit f1f1e7b)
  • Loading branch information
m-lopez-f committed Jan 30, 2015
1 parent 8f2c69a commit 89faf1f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pandora_console/godmode/servers/servers.build_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,18 @@

// Type
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{
$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);

switch ($server['type']) {
Expand Down

0 comments on commit 89faf1f

Please sign in to comment.