2010-07-05 Raul Mateos <raulofpandora@gmail.com>

* include/functions.php, include/functions_reporting.php: Cleaned code.
	Fixed "Summatory" typo.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-07-05 13:02:56 +00:00
parent 1203784e8c
commit 76ed670629
3 changed files with 53 additions and 48 deletions

View File

@ -1,3 +1,8 @@
2010-07-05 Raúl Mateos <raulofpandora@gmail.com>
* include/functions.php, include/functions_reporting.php: Cleaned code.
Fixed "Summatory" typo.
2010-07-05 Sancho Lerena <slerena@artica.es>
* pandora_console_upgrade: Changed permissions (was 640).

View File

@ -614,7 +614,7 @@ function get_report_types () {
$types['avg_value'] = __('Avg. Value');
$types['max_value'] = __('Max. Value');
$types['min_value'] = __('Min. Value');
$types['sumatory'] = __('Sumatory');
$types['sumatory'] = __('Summatory');
//$types['agent_detailed'] = __('Agent detailed view');
$types['text'] = __('Text');
$types['sql'] = __('SQL query');

View File

@ -2,7 +2,7 @@
// Pandora FMS - http://pandorafms.com
// ==================================================
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
// Copyright (c) 2005-2010 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or
@ -1839,7 +1839,7 @@ function render_report_html_item ($content, $table, $report, $mini = false) {
case 'sumatory':
//RUNNING
$data = array ();
$data[0] = $sizh.__('Sumatory').$sizhfin;
$data[0] = $sizh.__('Summatory').$sizhfin;
$data[1] = $sizh.$agent_name.' - '.$module_name.$sizhfin;
$data[2] = $sizh.human_time_description ($content['period']).$sizhfin;
array_push ($table->data, $data);