diff --git a/pandora_console/godmode/servers/servers.build_table.php b/pandora_console/godmode/servers/servers.build_table.php
index 44e2ebfa06..51421dc9ff 100644
--- a/pandora_console/godmode/servers/servers.build_table.php
+++ b/pandora_console/godmode/servers/servers.build_table.php
@@ -13,6 +13,9 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
+
+require_once ('include/functions_clippy.php');
+
// Load global vars
global $config;
@@ -29,10 +32,17 @@ global $tiny;
$servers = servers_get_info();
if ($servers === false) {
- echo "
".__('There are no servers configured into the database')."
";
+ $server_clippy = clippy_context_help("servers_down");
+ echo "".__('There are no servers configured into the database').$server_clippy."
";
return;
}
+
+$stateServers = (int) servers_check_status ();
+if ($stateServers == 0)
+ $server_clippy = clippy_context_help("servers_down");
+else
+ $server_clippy = "";
$table->width = '98%';
$table->size = array ();
@@ -46,7 +56,7 @@ $table->align[4] = 'center';
$table->align[5] = 'center';
$table->align[8] = 'center';
-$table->title = __('Tactical server information');
+$table->title = __('Tactical server information') . $server_clippy;
$table->titleclass = 'tabletitle';
$table->titlestyle = 'text-transform:uppercase;';
diff --git a/pandora_console/include/help/clippy/servers_down.php b/pandora_console/include/help/clippy/servers_down.php
new file mode 100644
index 0000000000..d3589a4965
--- /dev/null
+++ b/pandora_console/include/help/clippy/servers_down.php
@@ -0,0 +1,52 @@
+ true,
+ 'intro' => '' .
+ '' .
+ '' .
+ __('All servers down') .
+ ' | ' .
+ '
' .
+ '' .
+ '' .
+ __('Can you up all servers. You go to terminal in linux and execute the next command: "sudo /etc/init.d/pandora_server restart". It\'s possible need introduce root pass.') .
+ ' | ' .
+ '
' .
+ '
'
+ );
+ $return_tours['tours']['servers_down']['conf'] = array();
+ $return_tours['tours']['servers_down']['conf']['autostart'] = true;
+ $return_tours['tours']['servers_down']['conf']['show_bullets'] = 0;
+ $return_tours['tours']['servers_down']['conf']['show_step_numbers'] = 0;
+ //==================================================================
+
+ return $return_tours;
+}
+?>
\ No newline at end of file