From 55c6800e4dbd4b33de66c6c6c084de394e1f5b26 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Tue, 8 Dec 2009 08:10:13 +0000 Subject: [PATCH] 2009-12-08 Miguel de Dios * include/functions_agents.php, operation/agentes/tactical.php: fix notice undefined var message. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 ++++++- pandora_console/include/functions_agents.php | 1 + pandora_console/operation/agentes/tactical.php | 5 +++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 13e04b49f2..3f62745d49 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,5 +1,10 @@ +2009-12-08 Miguel de Dios + + * include/functions_agents.php, operation/agentes/tactical.php: fix notice + undefined var message. + 2009-12-07 Pablo de la ConcepcipĆ³n - * Changelog: Changelog with the last chagnes that I forgot to include in + * Changelog: Changelog with the last changes that I forgot to include in the last commit. 2009-12-07 Pablo de la ConcepcipĆ³n diff --git a/pandora_console/include/functions_agents.php b/pandora_console/include/functions_agents.php index db693702f3..454047b302 100644 --- a/pandora_console/include/functions_agents.php +++ b/pandora_console/include/functions_agents.php @@ -147,6 +147,7 @@ function get_agent_alerts_simple ($id_agent = false, $filter = '', $options = fa $subQuery = implode (",", $id_modules); } + $orderbyText = ''; if ($orderby !== false) $orderbyText = sprintf("ORDER BY %s", $orderby); diff --git a/pandora_console/operation/agentes/tactical.php b/pandora_console/operation/agentes/tactical.php index a733731b65..4fb969c2db 100644 --- a/pandora_console/operation/agentes/tactical.php +++ b/pandora_console/operation/agentes/tactical.php @@ -138,22 +138,27 @@ $cells = array (); $cells[0][0] = __('Local modules rate'); $cells[0][1] = format_numeric($server_performance ["local_modules_rate"]); $cells[0]["color"] = "#000"; +$cells[0]["href"] = ""; $cells[1][0] = __('Remote modules rate'); $cells[1][1] = format_numeric($server_performance ["remote_modules_rate"]); $cells[1]["color"] = "#000"; +$cells[1]["href"] = ""; $cells[2][0] = __('Local modules'); $cells[2][1] = format_numeric($server_performance ["total_local_modules"]); $cells[2]["color"] = "#000"; +$cells[2]["href"] = ""; $cells[3][0] = __('Remote modules'); $cells[3][1] = format_numeric($server_performance ["total_remote_modules"]); $cells[3]["color"] = "#000"; +$cells[3]["href"] = ""; $cells[4][0] = __('Total running modules'); $cells[4][1] = format_numeric($server_performance ["total_modules"]); $cells[4]["color"] = "#000"; +$cells[4]["href"] = ""; print_cells_temp ($cells);