diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a6499a286e..062d95d46f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,17 @@ +2009-01-30 Esteban Sanchez + + * godmode/agentes/alert_manager.php: Fixed the page title. Show the + right latest value in non-numeric modules. jQuery selectors fixed to + work with many alerts. + + * extensions/update_manager/load_updatemanager.php: Fixed setup error + messages. + + * include/functions_db.php: Added get_agent_module(). Added filter + paremeter to get_agent_modules(). return_value_agent_module() renamed + to get_agent_module_last_value() and do not transform to integer. + Removed useless get_agent_modules_count(). + 2009-01-30 Jorge Gonzalez * include/help/en/help_alert-matches.php, @@ -44,7 +58,6 @@ include/languages/pt_BR.mo, include/languages/es.mo: Updated translations. ->>>>>>> .r1409 2009-01-28 Esteban Sanchez * godmode/alerts/configure_alert_template.php: Removed a javascript diff --git a/pandora_console/extensions/update_manager/load_updatemanager.php b/pandora_console/extensions/update_manager/load_updatemanager.php index 19fd96a55a..a7a547c7cf 100644 --- a/pandora_console/extensions/update_manager/load_updatemanager.php +++ b/pandora_console/extensions/update_manager/load_updatemanager.php @@ -33,14 +33,14 @@ require_once ('lib/libupdate_manager.php'); function get_user_key ($settings) { if ($settings->customer_key != FREE_USER) { if (! file_exists ($settings->keygen_path)) { - echo '

'; + echo '

'; echo __('Keygen file does not exists'); echo '

'; return ''; } if (! is_executable ($settings->keygen_path)) { - echo '

'; + echo '

'; echo __('Keygen file is not executable'); echo '

'; diff --git a/pandora_console/godmode/agentes/alert_manager.php b/pandora_console/godmode/agentes/alert_manager.php index f40fa8968a..15b6940ffe 100644 --- a/pandora_console/godmode/agentes/alert_manager.php +++ b/pandora_console/godmode/agentes/alert_manager.php @@ -106,7 +106,7 @@ if ($disable_alert) { $modules = get_agent_modules ($id_agente, array ('id_tipo_modulo', 'nombre', 'id_agente')); -echo "

".__('Modules defined')."

"; +echo "

".__('Alerts defined')."

"; $table->class = 'databox_color modules'; $table->cellspacing = '0'; @@ -125,17 +125,22 @@ $table_alerts->style = array (); $table_alerts->style[0] = 'vertical-align: top'; $table_alerts->style[1] = 'vertical-align: top'; - foreach ($modules as $id_agent_module => $module) { - $last_data = return_value_agent_module ($id_agent_module); + $last_data = get_agent_module_last_value ($id_agent_module); if ($last_data === false) $last_data = ''.__('N/A').''; - $table->data[0][0] = ''.$module['nombre'].''; + $table->data[0][0] = 'Module: '.$module['nombre'].''; $table->data[0][0] .= ''; $table->data[0][0] .= '