Image for mode Quiet changed to blue - #2036
This commit is contained in:
parent
b1b486143f
commit
965c6c839b
|
@ -564,7 +564,7 @@ if ($agents !== false) {
|
|||
|
||||
if ($agent['quiet']) {
|
||||
echo " ";
|
||||
html_print_image("images/dot_green.disabled.png", false, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
|
||||
html_print_image("images/dot_blue.png", false, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
|
||||
}
|
||||
|
||||
if ($in_planned_downtime) {
|
||||
|
|
|
@ -650,7 +650,7 @@ foreach ($modules as $module) {
|
|||
}
|
||||
|
||||
if ($module['quiet']) {
|
||||
$data[0] .= html_print_image("images/dot_green.disabled.png",
|
||||
$data[0] .= html_print_image("images/dot_blue.png",
|
||||
true, array("border" => '0', "title" => __('Quiet'),
|
||||
"alt" => "")) . " ";
|
||||
}
|
||||
|
|
|
@ -913,7 +913,7 @@ if ($list_modules) {
|
|||
}
|
||||
|
||||
if ($module['quiet']) {
|
||||
$data[3] .= html_print_image("images/dot_green.disabled.png", true,
|
||||
$data[3] .= html_print_image("images/dot_blue.png", true,
|
||||
array("border" => '0', "title" => __('Quiet'), "alt" => ""))
|
||||
. " ";
|
||||
}
|
||||
|
|
|
@ -1915,7 +1915,7 @@ class Tree {
|
|||
|
||||
// Quiet image
|
||||
if (isset($agent['quiet']) && $agent['quiet'])
|
||||
$agent['quietImageHTML'] = html_print_image("/images/dot_green.disabled.png", true, array("title" => __('Quiet')));
|
||||
$agent['quietImageHTML'] = html_print_image("/images/dot_blue.png", true, array("title" => __('Quiet')));
|
||||
|
||||
// Status
|
||||
$agent['statusRaw'] = agents_get_status($agent['id'], !$this->strictACL);
|
||||
|
|
|
@ -152,7 +152,7 @@ class Agent {
|
|||
}
|
||||
else if ($this->agent['quiet']) {
|
||||
$agent_alias = "<em>" . $agent_alias . " " .
|
||||
html_print_image("images/dot_green.disabled.png",
|
||||
html_print_image("images/dot_blue.png",
|
||||
true, array("border" => '0', "title" => __('Quiet'), "alt" => "")) . "</em>";
|
||||
}
|
||||
|
||||
|
|
|
@ -631,7 +631,7 @@ foreach ($agents as $agent) {
|
|||
|
||||
if ($agent['quiet']) {
|
||||
$data[0] .= " ";
|
||||
$data[0] .= html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
|
||||
$data[0] .= html_print_image("images/dot_blue.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
|
||||
}
|
||||
|
||||
if ($in_planned_downtime) {
|
||||
|
|
|
@ -91,10 +91,10 @@ if ($agent['disabled']) {
|
|||
}
|
||||
else if ($agent['quiet']) {
|
||||
if ($in_planned_downtime) {
|
||||
$agent_name = "<em'>" . $agent_name . " " . html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
|
||||
$agent_name = "<em'>" . $agent_name . " " . html_print_image("images/dot_blue.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>";
|
||||
$agent_name = "<em'>" . $agent_name . " " . html_print_image("images/dot_blue.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => "")) . "</em>";
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -97,7 +97,7 @@ else {
|
|||
|
||||
if ($agent['quiet']) {
|
||||
$cellName .= " ";
|
||||
$cellName .= html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
|
||||
$cellName .= html_print_image("images/dot_blue.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
|
||||
}
|
||||
|
||||
$in_planned_downtime = db_get_sql('SELECT executed FROM tplanned_downtime
|
||||
|
|
Loading…
Reference in New Issue