2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed to show empty graph in new installations without data. Fixes: #3371197 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
71d943c4ee
commit
a3dc030e24
|
@ -1,3 +1,10 @@
|
|||
2011-09-01 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_graph.php: fixed to show empty graph in new
|
||||
installations without data.
|
||||
|
||||
Fixes: #3371197
|
||||
|
||||
2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/snmpconsole/snmp_filters.php: Added confirmation message in
|
||||
|
|
|
@ -911,6 +911,10 @@ function grafico_db_agentes_purge ($id_agent, $width = 380, $height = 300) {
|
|||
|
||||
$data[__("Older")] = $data[__("Older")] - $data["3 ".__("Months")];
|
||||
|
||||
if ($data[__("Today")] == 0 && $data["1 ".__("Week")] == 0 &&
|
||||
$data["1 ".__("Month")] == 0 && $data["3 ".__("Months")] == 0 && $data[__("Older")] == 0) {
|
||||
return html_print_image('images/image_problem.png', true);
|
||||
}
|
||||
|
||||
return pie3d_graph($config['flash_charts'], $data, $width, $height,
|
||||
__('Other'), '', $config['homedir'] . "/images/logo_vertical_water.png",
|
||||
|
|
Loading…
Reference in New Issue