diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-09-18 06:34:24 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-09-18 06:34:24 +0000 |
commit | 1ba5e90ab8165572a2c49a9d18a889227f12ba4c (patch) | |
tree | 28fabef44665830f7a1b246a2e476f7167803487 /usr | |
parent | 4314071069f23bcad32212592d10c9cad2512b44 (diff) | |
download | pfsense-1ba5e90ab8165572a2c49a9d18a889227f12ba4c.zip pfsense-1ba5e90ab8165572a2c49a9d18a889227f12ba4c.tar.gz |
Catch up with traffic graph changes.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/widgets/widgets/traffic_graphs.widget.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/widgets/widgets/traffic_graphs.widget.php b/usr/local/www/widgets/widgets/traffic_graphs.widget.php index 3ff28da..f2513b0 100644 --- a/usr/local/www/widgets/widgets/traffic_graphs.widget.php +++ b/usr/local/www/widgets/widgets/traffic_graphs.widget.php @@ -82,7 +82,6 @@ Refresh Interval: $firstgraphshown = true; foreach ($ifdescrs as $ifdescr => $ifname){ $ifinfo = get_interface_info($ifdescr); - $ifnum = convert_friendly_interface_to_real_interface_name($ifname); $currentgraph = $showngraphlist[$graphcounter]; $colposition = strpos($currentgraph,":"); $currentgraph = substr($currentgraph, $colposition+1); @@ -134,7 +133,7 @@ Refresh Interval: <div style="clear:both;"></div> </div> <div id="<?=$ifname;?>graphdiv" style="display:<?php echo $graphdisplay;?>"> - <embed id="graph" src="graph.php?ifnum=<?=$ifnum;?>&ifname=<?=rawurlencode($ifname);?>&timeint=<?=$refreshInterval;?>" type="image/svg+xml" width="<? echo $width; ?>" height="<? echo $height; ?>" pluginspage="http://www.adobe.com/svg/viewer/install/auto" /> + <embed id="graph" src="graph.php?fnum=<?=$ifdescr;?>&ifname=<?=rawurlencode($ifname);?>&timeint=<?=$refreshInterval;?>" type="image/svg+xml" width="<? echo $width; ?>" height="<? echo $height; ?>" pluginspage="http://www.adobe.com/svg/viewer/install/auto" /> </div> <? $firstgraphshown = true; $graphcounter++; ?> </div> |