2010-08-18 Sancho Lerena <slerena@artica.es>

* pandora_console/operation/search_results.php: Fixed reference for
        "down" instead "unknown" using the new code for unknown status.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2010-08-18 17:35:06 +00:00
parent ae9e70b5e9
commit 3b0661aa87
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2010-08-18 Sancho Lerena <slerena@artica.es>
* pandora_console/operation/search_results.php: Fixed reference for
"down" instead "unknown" using the new code for unknown status.
* include/functions_io.php: safe_input() modified to detect SQL injection
attacks using /**/ strings.

View File

@ -565,8 +565,8 @@ else {
$modulesCell .= ' : <span class="yellow">'.$agent_info["monitor_warning"].'</span>';
if ($agent_info["monitor_critical"] > 0)
$modulesCell .= ' : <span class="red">'.$agent_info["monitor_critical"].'</span>';
if ($agent_info["monitor_down"] > 0)
$modulesCell .= ' : <span class="grey">'.$agent_info["monitor_down"].'</span>';
if ($agent_info["monitor_unknown"] > 0)
$modulesCell .= ' : <span class="grey">'.$agent_info["monitor_unknown"].'</span>';
if ($agent['disabled']) {
$cellName = "<em>" . print_agent_name ($agent["id_agente"], true, "upper") .print_help_tip(__('Disabled'), true) . "</em>";