2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Fixed html render of combined graphs. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
6b78f4912b
commit
671f032db4
|
@ -1,3 +1,8 @@
|
|||
2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/functions_reporting.php: Fixed html render of combined
|
||||
graphs.
|
||||
|
||||
2011-11-30 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/massive/massive_edit_modules.php: Fixed massive
|
||||
|
|
|
@ -2251,6 +2251,12 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
|||
$table->colspan[1][0] = 3;
|
||||
$data = array ();
|
||||
|
||||
$urlImage = 'http://';
|
||||
if ($config['https']) {
|
||||
$urlImage = 'https://';
|
||||
}
|
||||
$urlImage .= $_SERVER['SERVER_NAME'] . $config['homeurl'] . '/';
|
||||
|
||||
require_once ($config["homedir"] . '/include/functions_graph.php');
|
||||
$data[0] = graphic_combined_module(
|
||||
$modules,
|
||||
|
@ -2264,7 +2270,8 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
|||
0,
|
||||
$graph["stacked"],
|
||||
$report["datetime"],
|
||||
true);
|
||||
true,
|
||||
$urlImage);
|
||||
array_push ($table->data, $data);
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue