diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index caa70a2515..442d0dd826 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2012-08-30 Miguel de Dios + + * godmode/agentes/planned_downtime.editor.php: fixed thw added + agents without modules in Quiet mode. + + * godmode/agentes/planned_downtime.list.php: fixing some things like + as the link to stop. + 2012-08-30 Sergio Martin * include/functions_graph.php diff --git a/pandora_console/godmode/agentes/planned_downtime.editor.php b/pandora_console/godmode/agentes/planned_downtime.editor.php index 2a088ca1d6..24a3502cab 100755 --- a/pandora_console/godmode/agentes/planned_downtime.editor.php +++ b/pandora_console/godmode/agentes/planned_downtime.editor.php @@ -117,7 +117,7 @@ if ($insert_downtime_agent == 1) { $all_modules = true; else { //It is empty. - if ($module_names[0] === 0) + if ($module_names[0] == "0") $all_modules = true; } @@ -330,7 +330,7 @@ if ($id_downtime > 0) { $table->data[3][0] = __('Type'); $table->data[3][1] = html_print_select(array('quiet' => __('Quiet'), 'disable_agents' => __('Disabled Agents'), - 'disable_agents_alerts' => __('Disabled Agents and Alerts')), + 'disable_agents_alerts' => __('Disabled only Alerts')), 'type_downtime', $type_downtime, '', '', 0, true, false, true, '', $disabled_type); $table->data[4][0] = __('Execution'); diff --git a/pandora_console/godmode/agentes/planned_downtime.list.php b/pandora_console/godmode/agentes/planned_downtime.list.php index dae05f238d..5b0d9cc8af 100755 --- a/pandora_console/godmode/agentes/planned_downtime.list.php +++ b/pandora_console/godmode/agentes/planned_downtime.list.php @@ -104,7 +104,7 @@ else { $type_text = array('quiet' => __('Quiet'), 'disable_agents' => __('Disabled Agents'), - 'disable_agents_alerts' => __('Disabled Agents and Alerts')); + 'disable_agents_alerts' => __('Disabled only Alerts')); $data[3] = $type_text[$downtime['type_downtime']]; @@ -182,7 +182,7 @@ else { $data[8] = html_print_image ("images/pixel_red.png", true, array ('width' => 20, 'height' => 20, 'alt' => __('Not executed'))); if ($downtime["executed"] != 0) { - $data[9] = '' . + $data[9] = '' . html_print_image("images/cancel.png", true, array("border" => '0', "alt" => __('Stop downtime'))); }