aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/html.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.inc.php')
-rw-r--r--inc/html.inc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/html.inc.php b/inc/html.inc.php
index 161af73..bc22ba3 100644
--- a/inc/html.inc.php
+++ b/inc/html.inc.php
@@ -338,7 +338,15 @@ function graphs_from_plugin($host, $plugin, $overview=false) {
338 isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = ''; 338 isset($items['t']) ? $_GET['t'] = $items['t'] : $_GET['t'] = '';
339 isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = ''; 339 isset($items['ti']) ? $_GET['ti'] = $items['ti'] : $_GET['ti'] = '';
340 $_GET['s'] = $time; 340 $_GET['s'] = $time;
341 $uuid = generate_uuid();
342 printf('<canvas id="%s" class="rrd">', $uuid);
341 include $CONFIG['webdir'].'/graph.php'; 343 include $CONFIG['webdir'].'/graph.php';
344 print '</canvas>';
345 printf('<a href="%s%s"><img id="%s-img" alt="graph"></a>'."\n",
346 htmlentities($CONFIG['weburl']),
347 htmlentities(build_url('detail.php', $items, $time)),
348 $uuid
349 );
342 } else { 350 } else {
343 printf('<a href="%1$s%2$s"><img src="%1$s%3$s"></a>'."\n", 351 printf('<a href="%1$s%2$s"><img src="%1$s%3$s"></a>'."\n",
344 htmlentities($CONFIG['weburl']), 352 htmlentities($CONFIG['weburl']),