diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 87bd886e16..5413e445e4 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2012-07-10 Miguel de Dios + + * extensions/agents_alerts.php, extensions/net_tools.php, + extensions/ssh_gateway.php, + extensions/update_manager/lib/libupdate_manager_components.php, + extensions/update_manager/lib/libupdate_manager_updates.php, + general/main_menu.php: cleaned source code style and added into some + strings the call to translation. + 2012-07-09 Sergio Martin * operation/extensions.php diff --git a/pandora_console/extensions/agents_alerts.php b/pandora_console/extensions/agents_alerts.php index 96d60017b9..67c4420ca3 100755 --- a/pandora_console/extensions/agents_alerts.php +++ b/pandora_console/extensions/agents_alerts.php @@ -287,10 +287,12 @@ function print_alerts_summary_modal_window($id, $alerts) { if ($alert["times_fired"] > 0) { $status = STATUS_ALERT_FIRED; $title = __('Alert fired').' '.$alert["times_fired"].' '.__('times'); - } elseif ($alert["disabled"] > 0) { + } + elseif ($alert["disabled"] > 0) { $status = STATUS_ALERT_DISABLED; $title = __('Alert disabled'); - } else { + } + else { $status = STATUS_ALERT_NOT_FIRED; $title = __('Alert not fired'); } @@ -301,7 +303,7 @@ function print_alerts_summary_modal_window($id, $alerts) { } $content = html_print_table($table,true); - + $agent = modules_get_agentmodule_agent_name($alerts[0]['id_agent_module']); $template = alerts_get_alert_template_name($alerts[0]['id_alert_template']); @@ -317,7 +319,6 @@ ui_require_jquery_file('pandora'); + \ No newline at end of file