diff options
Diffstat (limited to 'inc/html.inc.php')
| -rw-r--r-- | inc/html.inc.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php index 7bc1852..2d745ec 100644 --- a/inc/html.inc.php +++ b/inc/html.inc.php | |||
| @@ -360,15 +360,7 @@ function graphs_from_plugin($host, $plugin, $overview=false) { | |||
| 360 | isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = ''; | 360 | isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = ''; |
| 361 | isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = ''; | 361 | isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = ''; |
| 362 | $_GET['s'] = $time; | 362 | $_GET['s'] = $time; |
| 363 | $uuid = generate_uuid(); | ||
| 364 | printf('<canvas id="%s" class="rrd">', $uuid); | ||
| 365 | include $CONFIG['webdir'].'/graph.php'; | 363 | include $CONFIG['webdir'].'/graph.php'; |
| 366 | print '</canvas>'; | ||
| 367 | printf('<a href="%s%s"><img id="%s-img" alt="graph"></a>'."\n", | ||
| 368 | htmlentities($CONFIG['weburl']), | ||
| 369 | htmlentities(build_url('detail.php', $items, $time)), | ||
| 370 | $uuid | ||
| 371 | ); | ||
| 372 | } else { | 364 | } else { |
| 373 | printf('<a href="%1$s%2$s"><img src="%1$s%3$s"></a>'."\n", | 365 | printf('<a href="%1$s%2$s"><img src="%1$s%3$s"></a>'."\n", |
| 374 | htmlentities($CONFIG['weburl']), | 366 | htmlentities($CONFIG['weburl']), |
