From f1f1e7ba940c71cb556d2ac3e4f6a94ab807af18 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Fri, 30 Jan 2015 10:07:16 +0100 Subject: [PATCH] Change order to show info in 'Tactical server information' about data server --- .../godmode/servers/servers.build_table.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_console/godmode/servers/servers.build_table.php b/pandora_console/godmode/servers/servers.build_table.php index c34a3f857a..74958e227a 100644 --- a/pandora_console/godmode/servers/servers.build_table.php +++ b/pandora_console/godmode/servers/servers.build_table.php @@ -83,12 +83,18 @@ foreach ($servers as $server) { // Type if ($server['type'] == 'data'){ - $data[2] = ''.$server["img"].' (' . $server["version"]. ')'; + $data[2] = ''.$server["img"]; + if ($server["master"] == 1){ + $data[2] .= ui_print_help_tip (__("This is a master server"), true). ' v' . $server["version"]. ''; + } + else{ + $data[2] .= ' ( v' . $server["version"]. ')'; + } } else{ $data[2] = ''.$server["img"].' ('.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']) {