2009-12-08 Miguel de Dios <miguel.dedios@artica.es>

* 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
This commit is contained in:
mdtrooper 2009-12-08 08:10:13 +00:00
parent 702c1e5a63
commit 55c6800e4d
3 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, operation/agentes/tactical.php: fix notice
undefined var message.
2009-12-07 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* 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 <pablo.concepcion@artica.es>

View File

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

View File

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