Image for mode Quiet changed to blue - #2036

This commit is contained in:
tatiana.llorente@artica.es 2018-06-26 12:31:23 +02:00
parent b1b486143f
commit 965c6c839b
8 changed files with 9 additions and 9 deletions

View File

@ -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) {

View File

@ -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" => "")) . " ";
}

View File

@ -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" => ""))
. " ";
}

View File

@ -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);

View File

@ -152,7 +152,7 @@ class Agent {
}
else if ($this->agent['quiet']) {
$agent_alias = "<em>" . $agent_alias . "&nbsp;" .
html_print_image("images/dot_green.disabled.png",
html_print_image("images/dot_blue.png",
true, array("border" => '0', "title" => __('Quiet'), "alt" => "")) . "</em>";
}

View File

@ -631,7 +631,7 @@ foreach ($agents as $agent) {
if ($agent['quiet']) {
$data[0] .= "&nbsp;";
$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) {

View File

@ -91,10 +91,10 @@ if ($agent['disabled']) {
}
else if ($agent['quiet']) {
if ($in_planned_downtime) {
$agent_name = "<em'>" . $agent_name . "&nbsp;" . html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
$agent_name = "<em'>" . $agent_name . "&nbsp;" . html_print_image("images/dot_blue.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => ""));
}
else {
$agent_name = "<em'>" . $agent_name . "&nbsp;" . html_print_image("images/dot_green.disabled.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => "")) . "</em>";
$agent_name = "<em'>" . $agent_name . "&nbsp;" . html_print_image("images/dot_blue.png", true, array("border" => '0', "title" => __('Quiet'), "alt" => "")) . "</em>";
}
}
else {

View File

@ -97,7 +97,7 @@ else {
if ($agent['quiet']) {
$cellName .= "&nbsp;";
$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