From a649e2e659a7253d19acfafb1e89c55d65d64fe3 Mon Sep 17 00:00:00 2001 From: jack Date: Wed, 25 Jun 2014 16:34:30 +0200 Subject: [PATCH] add function to generate images html --- www/func.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/www/func.inc b/www/func.inc index cc32d28..980cf58 100644 --- a/www/func.inc +++ b/www/func.inc @@ -221,20 +221,20 @@ function clearCacheFileASSET($asset) { } # return the html used in top.php : -function getHTMLUrl($as, $ipversion, $desc, $start, $end, $peerusage){ - $img = getHTMLImg($as, $ipversion, $desc, $start, $end, $peerusage, '', '', false); - $result = "$img"; +function getHTMLUrl($as, $ipversion, $desc, $start, $end){ + $img = getHTMLImg($as, $ipversion, $desc, $start, $end, '', '', false); + $result = "$img"; return($result); } # return the html used in history.php (for example) : -function getHTMLImg($as, $ipversion, $desc, $start, $end, $peerusage, $alt, $class, $history = false){ +function getHTMLImg($as, $ipversion, $desc, $start, $end, $alt, $class, $history = false){ global $top_graph_width; global $top_graph_height; $dname = rawurlencode("AS$as - $desc - IPV$ipversion"); - $result = "