From 5297b730d795966963617d2ba4929944d9e7ecd4 Mon Sep 17 00:00:00 2001
From: juanmanuelr <noreply@pandorafms.org>
Date: Mon, 5 Sep 2011 15:43:28 +0000
Subject: [PATCH] 2011-09-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

        * godmode/setup/setup.php: Added contextual help in this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_console/ChangeLog               | 4 ++++
 pandora_console/godmode/setup/setup.php | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index cf9be9adeb..3106db3d74 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
+
+	* godmode/setup/setup.php: Added contextual help in this view.
+
 2011-09-05  Miguel de Dios  <miguel.dedios@artica.es>
 	
 	* operation/agentes/exportdata.php: fixed when havent any data in any
diff --git a/pandora_console/godmode/setup/setup.php b/pandora_console/godmode/setup/setup.php
index 4071f2154d..5286baea3b 100644
--- a/pandora_console/godmode/setup/setup.php
+++ b/pandora_console/godmode/setup/setup.php
@@ -77,7 +77,8 @@ $table->data[0][0] = __('Language code for Pandora');
 $table->data[0][1] = html_print_select_from_sql ('SELECT id_language, name FROM tlanguage',
 	'language', $current_system_lang , '', '', '', true);
 
-$table->data[1][0] = __('Remote config directory');
+$table->data[1][0] = __('Remote config directory') . ui_print_help_tip (__("Directory where agent remote configuration is stored."), true);
+
 $table->data[1][1] = html_print_input_text ('remote_config', $config["remote_config"], '', 30, 100, true);
 
 $table->data[6][0] = __('Auto login (hash) password');
@@ -102,7 +103,7 @@ $table->data[11][0] = __('Enforce https');
 $table->data[11][1] = __('Yes').'&nbsp;'.html_print_radio_button_extended ('https', 1, '', $config["https"], false, "if (! confirm ('" . __('If SSL is not properly configured you will lose access to Pandora FMS Console. Do you want to continue?') . "')) return false", '', true) .'&nbsp;&nbsp;';
 $table->data[11][1] .= __('No').'&nbsp;'.html_print_radio_button ('https', 0, '', $config["https"], true);
 
-$table->data[14][0] = __('Attachment store');
+$table->data[14][0] = __('Attachment store') . ui_print_help_tip (__("Directory where temporary data is stored."), true);
 $table->data[14][1] = html_print_input_text ('attachment_store', $config["attachment_store"], '', 50, 255, true);
 
 $table->data[15][0] = __('IP list with API access') .