2010-12-22 Ramon Novoa <rnovoa@artica.es>

* include/functions_reporting.php,
	  operation/reporting/reporting_xml.php: Draw baseline reports
	  in the future by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-12-22 17:51:28 +00:00
parent 418d30135a
commit c8d215b5ea
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-12-22 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
operation/reporting/reporting_xml.php: Draw baseline reports
in the future by default.
2010-12-22 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/exportdata.php: Fixed data average export.

View File

@ -1686,7 +1686,7 @@ function render_report_html_item ($content, $table, $report, $mini = false) {
}
$data = array ();
$data[0] = '<img src="include/fgraph.php?tipo=sparse&id='.$content['id_agent_module'].'&height='.$sizgraph_h.'&width='.$sizgraph_w.'&period='.$content['period'].'&date='.$report["datetime"].'&avg_only=1&baseline=1&pure=1" border="0" alt="">';
$data[0] = '<img src="include/fgraph.php?tipo=sparse&id='.$content['id_agent_module'].'&height='.$sizgraph_h.'&width='.$sizgraph_w.'&period='.$content['period'].'&date='.($report["datetime"] + $content['period']).'&avg_only=1&baseline=1&pure=1" border="0" alt="">';
array_push ($table->data, $data);
break;

View File

@ -182,7 +182,7 @@ foreach ($contents as $content) {
break;
case 'simple_baseline_graph':
$data["title"] = __('Simple baseline graph');
$data["objdata"]["img"] = 'include/fgraph.php?PHPSESSID='.$session_id.'&amp;tipo=sparse&amp;id='.$content['id_agent_module'].'&amp;height=230&amp;width=720&amp;period='.$content['period'].'&amp;date='.$datetime.'&amp;avg_only=1&amp;baseline=1&amp;pure=1';
$data["objdata"]["img"] = 'include/fgraph.php?PHPSESSID='.$session_id.'&amp;tipo=sparse&amp;id='.$content['id_agent_module'].'&amp;height=230&amp;width=720&amp;period='.$content['period'].'&amp;date='.($datetime + $content['period']).'&amp;avg_only=1&amp;baseline=1&amp;pure=1';
break;
case 2:
case 'custom_graph':