diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 53dacfde24..00001d54c9 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2008-07-01 Jorge Gonzalez + + * godmode/agentes/agent_manager.php: changed $lang_label () to function + lang_string (); modified tooltips and inline help. + 2008-07-01 Jorge Gonzalez * include/help/en/help_plugin_parameters.php, diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index dba2418358..4a3491e29f 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -60,20 +60,21 @@ echo '
'; echo ''; echo ""; -echo '"; +echo "".lang_string ("interval").""; echo ''; -echo ''; +echo ''; echo '
'.lang_string ("agent_name").' ' . $lang_label["agent_name_help"] . ''; +echo ''.lang_string ("agent_name").' '.lang_string ("agent_name_help").''; print_input_text ('agente', $nombre_agente, '', 30, 100); if (isset ($id_agente) && $id_agente != "") { echo " - "; + "; } // Remote configuration available if (file_exists ($config["remote_config"] . "/" . $agent_md5 . ".md5")) { echo " - "; + "; + echo ' '.lang_string ("You can remotely edit this agent configuration").''; } echo '
'; @@ -109,20 +110,19 @@ print_select_from_sql ('SELECT id_grupo, nombre FROM tgrupo ORDER BY nombre', 'grupo', $grupo, '', '', ''); echo "
"; -echo "".lang_string("interval")."'; echo '
'.lang_string("os").'
'.lang_string ("os").''; print_select_from_sql ('SELECT id_os, name FROM tconfig_os ORDER BY name', 'id_os', $id_os, '', '', ''); // Network server -echo '
'; -echo $lang_label["network_server"]; -echo ' '.$lang_label["network_server_help"].''; -echo ''; +echo '
'.lang_string ("network_server").''; +echo ' '.lang_string ("network_server_help").''; +echo ''; $none = ''; $none_value = ''; if ($id_network_server == 0) { @@ -133,10 +133,9 @@ print_select_from_sql ('SELECT id_server, name FROM tserver WHERE network_server 'network_server', $id_network_server, '', $none, $none_value); // Plugin Server -echo '
'; -echo $lang_label["plugin_server"]; -echo ' '.$lang_label["plugin_server_help"].''; -echo ''; +echo '
'.lang_string ("plugin_server").''; +echo ' '.lang_string ("plugin_server_help").''; +echo ''; $none_str = lang_string ('None'); $none = ''; $none_value = ''; @@ -148,10 +147,9 @@ print_select_from_sql ('SELECT id_server, name FROM tserver WHERE plugin_server 'plugin_server', $id_plugin_server, '', $none, $none_value); // WMI Server -echo '
'; -echo $lang_label["wmi_server"]; -echo ' '.$lang_label["wmi_server_help"].''; -echo ''; +echo '
'.lang_string ("wmi_server").''; +echo ' '.lang_string ("wmi_server_help").''; +echo ''; $none = ''; $none_value = ''; if ($id_plugin_server == 0) { @@ -162,10 +160,9 @@ print_select_from_sql ('SELECT id_server, name FROM tserver WHERE wmi_server = 1 'wmi_server', $id_wmi_server, '', $none, $none_value); // Prediction Server -echo '
'; -echo $lang_label["prediction_server"]; -echo ' '.$lang_label["prediction_server_help"].''; -echo ''; +echo '
'.lang_string ("prediction_server").''; +echo ' '.lang_string ("prediction_server_help").''; +echo ''; $none = ''; $none_value = ''; if ($id_prediction_server == 0) { @@ -192,7 +189,7 @@ echo lang_string ("normal_mode"); print_radio_button_extended ("modo", 0, '', $modo, false, '', 'style="margin-right: 40px;"'); // Status (Disabled / Enabled) -echo '
'.lang_string("status").''; +echo '
'.lang_string ("status").''; echo ''; echo lang_string ("disabled"); print_radio_button_extended ("disabled", 1, '', $disabled, false, '', 'style="margin-right: 40px;"'); @@ -200,7 +197,7 @@ echo lang_string ("active"); print_radio_button_extended ("disabled", 0, '', $disabled, false, '', 'style="margin-right: 40px;"'); // Remote configuration -echo '
'.lang_string("Remote configuration").''; +echo '
'.lang_string ("Remote configuration").''; echo ''; $filename = $config["remote_config"] . "/" . $agent_md5 . ".md5"; if (file_exists($filename)){ @@ -208,7 +205,7 @@ if (file_exists($filename)){ // Delete remote configuration echo ""; } else { - echo ''.lang_string("Not available").''; + echo ''.lang_string ("Not available").''; } echo '
';