From cc704c43ed1505b79c5c36f015c467e333e2a603 Mon Sep 17 00:00:00 2001 From: aloriel Date: Mon, 30 Jun 2008 15:46:36 +0000 Subject: [PATCH] 2008-06-30 Jorge Gonzalez * include/styles/pandora.css: Added cursor style for inline help. * include/help/en/help_manage_alerts.php: Added help page for Alert management. * include/help/en/help_snmpcommunity.php: Added help page for SNMP community. * include/help/en/help_map_builder.php: Added help page for map builder. * include/help/en/help_postprocess.php: Checked spelling. * include/help/en/help_module_type.php: Added help page for Module type. * include/help/en/help_snmpoid.php: Added help page for SNMP OID. * include/help/en/help_alerts.php: Added help page for Alert configuration. * include/help/en/help_module_definition.php: Added help page for Module definition. * include/functions.php: Added cursor style for inline help. * include/languages/language_en.php: Added new strings. * operation/agentes/estado_grupo.php: Fixed wrong link and text, it is a group, not an agent. * operation/agentes/tactical.php: Fixed bug for empty values. * godmode/agentes/module_manager_editor_network.php, godmode/agentes/module_manager_editor_wmi.php, godmode/agentes/module_manager_editor_plugin.php, godmode/agentes/module_manager_editor_prediction.php, godmode/agentes/alert_manager_editor.php, godmode/agentes/module_manager_editor_data.php, godmode/agentes/agent_manager.php, godmode/modules/manage_network_components_form.php, godmode/reporting/map_builder.php, godmode/alerts/plugin.php, godmode/alerts/configure_alert.php: Added suppot for inline help. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 46 +++++++++++++++++++ .../godmode/agentes/agent_manager.php | 17 ++++--- .../godmode/agentes/alert_manager_editor.php | 4 +- .../agentes/module_manager_editor_data.php | 11 +++-- .../agentes/module_manager_editor_network.php | 17 ++++--- .../agentes/module_manager_editor_plugin.php | 13 +++--- .../module_manager_editor_prediction.php | 7 ++- .../agentes/module_manager_editor_wmi.php | 6 +-- .../godmode/alerts/configure_alert.php | 10 +--- pandora_console/godmode/alerts/plugin.php | 2 +- .../manage_network_components_form.php | 2 +- .../godmode/reporting/map_builder.php | 4 +- pandora_console/include/functions.php | 2 +- .../include/help/en/help_alerts.php | 34 ++++++++++++++ .../include/help/en/help_manage_alerts.php | 24 ++++++++++ .../include/help/en/help_map_builder.php | 26 +++++++++++ .../help/en/help_module_definition.php | 7 +++ .../include/help/en/help_module_type.php | 26 +++++++++++ .../include/help/en/help_postprocess.php | 4 +- .../include/help/en/help_snmpcommunity.php | 3 ++ .../include/help/en/help_snmpoid.php | 3 ++ .../include/languages/language_en.php | 12 +++++ pandora_console/include/styles/pandora.css | 4 ++ .../operation/agentes/estado_grupo.php | 7 ++- .../operation/agentes/tactical.php | 12 +++-- 25 files changed, 251 insertions(+), 52 deletions(-) create mode 100644 pandora_console/include/help/en/help_alerts.php create mode 100644 pandora_console/include/help/en/help_manage_alerts.php create mode 100644 pandora_console/include/help/en/help_map_builder.php create mode 100644 pandora_console/include/help/en/help_module_definition.php create mode 100644 pandora_console/include/help/en/help_module_type.php create mode 100644 pandora_console/include/help/en/help_snmpcommunity.php create mode 100644 pandora_console/include/help/en/help_snmpoid.php diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 3bec020d2e..bc3cb0baf2 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,49 @@ +2008-06-30 Jorge Gonzalez + + * include/styles/pandora.css: Added cursor style for inline help. + + * include/help/en/help_manage_alerts.php: Added help page for Alert + management. + + * include/help/en/help_snmpcommunity.php: Added help page for SNMP + community. + + * include/help/en/help_map_builder.php: Added help page for map + builder. + + * include/help/en/help_postprocess.php: Checked spelling. + + * include/help/en/help_module_type.php: Added help page for Module + type. + + * include/help/en/help_snmpoid.php: Added help page for SNMP OID. + + * include/help/en/help_alerts.php: Added help page for Alert + configuration. + + * include/help/en/help_module_definition.php: Added help page for + Module definition. + + * include/functions.php: Added cursor style for inline help. + + * include/languages/language_en.php: Added new strings. + + * operation/agentes/estado_grupo.php: Fixed wrong link and text, it is + a group, not an agent. + + * operation/agentes/tactical.php: Fixed bug for empty values. + + * godmode/agentes/module_manager_editor_network.php, + godmode/agentes/module_manager_editor_wmi.php, + godmode/agentes/module_manager_editor_plugin.php, + godmode/agentes/module_manager_editor_prediction.php, + godmode/agentes/alert_manager_editor.php, + godmode/agentes/module_manager_editor_data.php, + godmode/agentes/agent_manager.php, + godmode/modules/manage_network_components_form.php, + godmode/reporting/map_builder.php, godmode/alerts/plugin.php, + godmode/alerts/configure_alert.php: Added suppot for inline help. + 2008-06-30 Esteban Sanchez * godmode/reporting/reporting_builder.php: Removed debug output. diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index c8a94b0344..253b64c21e 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -60,7 +60,7 @@ echo '
'; echo ''; echo ""; -echo ''; // module type / max timeout echo ''; -echo '"; -echo ''; if ($update_module_id != NULL){ echo "Not available in edition mode"; @@ -119,10 +120,10 @@ echo ''; // Post process / Export server echo ''; -echo '"; -echo '"; +echo ''; +echo ''; echo '"; echo ''; // module type / max timeout echo ''; -echo '"; +echo ''; + echo ''; -echo '"; +echo ''; echo ''; echo '"; echo ''; @@ -216,11 +221,11 @@ echo '"; -echo '"; -echo ''; +echo '"; +echo ''; +echo ''; echo '"; echo ''; // module type / max timeout echo ''; -echo '"; -echo ''; if ($update_module_id != NULL){ echo "Not available in edition mode"; @@ -182,11 +183,11 @@ echo '"; -echo '"; -echo ''; +echo '"; +echo ''; +echo ''; echo '"; echo '"; -echo ""; -echo '"; +// module type +echo ''; +echo ''; echo ''; // Post process / Export server echo ''; -echo '"; -echo '"; +echo ''; +echo ''; echo '"; echo '
'.lang_string ("agent_name").''; +echo ''.lang_string ("agent_name").' ' . $lang_label["agent_name_help"] . ''; print_input_text ('agente', $nombre_agente, '', 30, 100); if (isset ($id_agente) && $id_agente != "") { @@ -120,7 +120,8 @@ print_select_from_sql ('SELECT id_os, name FROM tconfig_os ORDER BY name', // Network server echo '
'; -echo lang_string("Network server"); +echo $lang_label["network_server"]; +echo ' '.$lang_label["network_server_help"].''; echo ''; $none = ''; $none_value = ''; @@ -133,7 +134,8 @@ print_select_from_sql ('SELECT id_server, name FROM tserver WHERE network_server // Plugin Server echo '
'; -echo lang_string("Plugin server"); +echo $lang_label["plugin_server"]; +echo ' '.$lang_label["plugin_server_help"].''; echo ''; $none_str = lang_string ('None'); $none = ''; @@ -147,7 +149,8 @@ print_select_from_sql ('SELECT id_server, name FROM tserver WHERE plugin_server // WMI Server echo '
'; -echo lang_string("WMI server"); +echo $lang_label["wmi_server"]; +echo ' '.$lang_label["wmi_server_help"].''; echo ''; $none = ''; $none_value = ''; @@ -160,7 +163,8 @@ print_select_from_sql ('SELECT id_server, name FROM tserver WHERE wmi_server = 1 // Prediction Server echo '
'; -echo lang_string("Prediction server"); +echo $lang_label["prediction_server"]; +echo ' '.$lang_label["prediction_server_help"].''; echo ''; $none = ''; $none_value = ''; @@ -175,11 +179,12 @@ print_select_from_sql ('SELECT id_server, name FROM tserver WHERE prediction_ser echo '
'; echo lang_string ("description"); echo ''; -print_input_text ('comentarios', $comentarios, '', 55, 255); +print_input_text ('comentarios', $comentarios, '', 45, 255); // Learn mode / Normal mode echo '
'; echo lang_string ("module_definition"); +pandora_help("module_definition"); echo ''; echo lang_string ("learning_mode"); print_radio_button_extended ("modo", 1, '', $modo, false, '', 'style="margin-right: 40px;"'); diff --git a/pandora_console/godmode/agentes/alert_manager_editor.php b/pandora_console/godmode/agentes/alert_manager_editor.php index 90abbd62f8..c1ee21eec8 100644 --- a/pandora_console/godmode/agentes/alert_manager_editor.php +++ b/pandora_console/godmode/agentes/alert_manager_editor.php @@ -19,7 +19,9 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. $add_component = get_parameter ("add_component",0); -echo "

".$lang_label["alert_asociation_form"]."

"; +echo "

".$lang_label["alert_asociation_form"]; +pandora_help("alerts"); +echo "

"; echo ''; diff --git a/pandora_console/godmode/agentes/module_manager_editor_data.php b/pandora_console/godmode/agentes/module_manager_editor_data.php index 4b584fceb6..4c4fad7998 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_data.php +++ b/pandora_console/godmode/agentes/module_manager_editor_data.php @@ -100,8 +100,9 @@ echo '
'. lang_string ("module_type")."'; +echo ''.lang_string ("module_type"); +pandora_help("module_type"); +echo '
'.lang_string ("post_process")."'; +echo ''.lang_string ("post_process"); pandora_help("postprocess"); -echo "'.lang_string ("export_server")."
'.lang_string ("module_type")."'.lang_string ("module_type"); +pandora_help("module_type"); +echo ''; if ($update_module_id != NULL){ echo "Not available in edition mode"; @@ -201,7 +204,9 @@ echo ''; // Snmp Oid / community echo '
'.lang_string ("snmp_oid")."'.lang_string ("snmp_oid"); +pandora_help("snmpoid"); +echo ''.lang_string ("snmp_community")."'; // Post process / Export server -echo "
'.lang_string ("post_process")."'; +echo '
'.lang_string ("post_process"); pandora_help("postprocess"); -echo "'.lang_string ("export_server")."
'.lang_string ("module_type")."'; +echo ''.lang_string ("module_type"); +pandora_help("module_type"); +echo ''; // Post process / Export server -echo "
'.lang_string ("post_process")."'; +echo '
'.lang_string ("post_process"); pandora_help("postprocess"); -echo "'.lang_string ("export_server").""; echo "
'.lang_string ("module_type")."
'.lang_string ("module_type"); +pandora_help("module_type"); +echo ''; if ($update_module_id != NULL){ echo "Not available in edition mode"; diff --git a/pandora_console/godmode/agentes/module_manager_editor_wmi.php b/pandora_console/godmode/agentes/module_manager_editor_wmi.php index 87c95ad5b3..61df0abdbf 100644 --- a/pandora_console/godmode/agentes/module_manager_editor_wmi.php +++ b/pandora_console/godmode/agentes/module_manager_editor_wmi.php @@ -165,10 +165,10 @@ echo '
'.lang_string ("post_process")."'; +echo ''.lang_string ("post_process"); pandora_help("postprocess"); -echo "'.lang_string ("export_server")." -  -Macros:
-_field1_
-_field2_
-_field3_
-_agent_
-_timestamp_
-_data_
-