Now the public visual console graphs are images by default

This commit is contained in:
Alejandro Gallardo Escobar 2016-05-11 16:33:42 +02:00
parent 4bc3105ccc
commit d98d135855
1 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ require ('include/functions_visual_map.php');
$hash = get_parameter ('hash');
$id_layout = (int) get_parameter ('id_layout');
$graph_javascript = (bool) get_parameter('graph_javascript');
$config["id_user"] = get_parameter ('id_user');
$myhash = md5($config["dbpass"].$id_layout. $config["id_user"]);
@ -79,7 +80,7 @@ $options = array();
echo '<div style="width: 95%; background: white; margin: 20px auto 20px auto; box-shadow: 10px 10px 5px #000;">';
echo "<h1>" . $layout_name . "</h1>";
visual_map_print_visual_map ($id_layout, true, true, null, null, '../../', true);
visual_map_print_visual_map ($id_layout, true, true, null, null, '../../', true, $graph_javascript);
$values = array ();
$values[5] = human_time_description_raw (5);