Added with quiet agent to
This commit is contained in:
parent
83e9276f1b
commit
7b437d612a
|
@ -85,16 +85,21 @@ if ($agent['disabled']) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ($agent['quiet']) {
|
else if ($agent['quiet']) {
|
||||||
$agent_name = "<em'>" . $agent_name . " " . html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => "")) . "</em>";
|
if ($in_planned_downtime) {
|
||||||
|
$agent_name = "<em'>" . $agent_name . " " . html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$agent_name = "<em'>" . $agent_name . " " . html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => "")) . "</em>";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$agent_name = $agent_name;
|
$agent_name = $agent_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($in_planned_downtime && !$agent['disabled']) {
|
if ($in_planned_downtime && !$agent['disabled'] && !$agent['quiet']) {
|
||||||
$agent_name .= "<em>" . " " . ui_print_help_tip(__('Agent in planned downtime'), true, 'images/minireloj-16.png') . "</em>";
|
$agent_name .= "<em>" . " " . ui_print_help_tip(__('Agent in planned downtime'), true, 'images/minireloj-16.png') . "</em>";
|
||||||
}
|
}
|
||||||
else if ($in_planned_downtime) {
|
else if (($in_planned_downtime && !$agent['disabled']) || ($in_planned_downtime && !$agent['quiet'])) {
|
||||||
$agent_name .= " " . ui_print_help_tip(__('Agent in planned downtime'), true, 'images/minireloj-16.png') . "</em>";
|
$agent_name .= " " . ui_print_help_tip(__('Agent in planned downtime'), true, 'images/minireloj-16.png') . "</em>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue