2011-08-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fixed event graph by user into event statistics git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
598ebae6e5
commit
f00a5256d7
|
@ -1,3 +1,8 @@
|
|||
2011-08-19 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_graph.php: Fixed event graph by user
|
||||
into event statistics
|
||||
|
||||
2011-08-19 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* extensions/net_tools.php: fixed the try to execute any commands in the
|
||||
|
|
|
@ -1362,6 +1362,15 @@ function grafico_eventos_usuario ($width, $height) {
|
|||
$events = array();
|
||||
}
|
||||
|
||||
foreach($events as $event) {
|
||||
if($event['id_usuario'] == '0') {
|
||||
$data[__('System')] = $event['events'];
|
||||
}
|
||||
else {
|
||||
$data[$event['id_usuario']] = $event['events'];
|
||||
}
|
||||
}
|
||||
|
||||
return pie3d_graph($config['flash_charts'], $data, $width, $height,
|
||||
__('Other'), '', $config['homedir'] . "/images/logo_vertical_water.png",
|
||||
$config['fontpath'], $config['font_size']);
|
||||
|
|
Loading…
Reference in New Issue