diff options
Diffstat (limited to 'detail.php')
| -rw-r--r-- | detail.php | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -55,7 +55,9 @@ print "</ul>\n"; | |||
| 55 | 55 | ||
| 56 | if ($CONFIG['graph_type'] == 'canvas') { | 56 | if ($CONFIG['graph_type'] == 'canvas') { |
| 57 | chdir($CONFIG['webdir']); | 57 | chdir($CONFIG['webdir']); |
| 58 | printf('<canvas id="%s" class="rrd">', generate_uuid()); | ||
| 58 | include $CONFIG['webdir'].'/graph.php'; | 59 | include $CONFIG['webdir'].'/graph.php'; |
| 60 | print '</canvas>'; | ||
| 59 | } else { | 61 | } else { |
| 60 | printf("<img src=\"%s%s\">\n", | 62 | printf("<img src=\"%s%s\">\n", |
| 61 | htmlentities($CONFIG['weburl']), | 63 | htmlentities($CONFIG['weburl']), |
