mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
remove legacy variables, hopefully i didn't mess anything up
git-svn-id: http://www.observium.org/svn/observer/trunk@3134 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -143,28 +143,28 @@ if ($_SESSION['userlevel'] >= '5')
|
||||
if ($ports['transit'])
|
||||
{
|
||||
echo("<a onmouseover=\"return overlib('<img src=\'graph.php?type=multi_bits&ports=".$ports['transit'].
|
||||
"&from=".$day."&to=".$now."&width=400&height=150\'>', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 250);\" onmouseout=\"return nd();\" >".
|
||||
"&from=".$config['time']['day']."&to=".$config['time']['now']."&width=400&height=150\'>', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 250);\" onmouseout=\"return nd();\" >".
|
||||
"<div style='font-size: 18px; font-weight: bold;'>Internet Transit</div>".
|
||||
"<img src='graph.php?type=multi_bits&ports=".$ports['transit'].
|
||||
"&from=".$day."&to=".$now."&width=200&height=100'></a>");
|
||||
"&from=".$config['time']['day']."&to=".$config['time']['now']."&width=200&height=100'></a>");
|
||||
}
|
||||
|
||||
if ($ports['l2tp'])
|
||||
{
|
||||
echo("<a onmouseover=\"return overlib('<img src=\'graph.php?type=multi_bits&ports=".$ports['l2tp'].
|
||||
"&from=".$day."&to=".$now."&width=400&height=150\'>', LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 250);\" onmouseout=\"return nd();\" >".
|
||||
"&from=".$config['time']['day']."&to=".$config['time']['now']."&width=400&height=150\'>', LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 250);\" onmouseout=\"return nd();\" >".
|
||||
"<div style='font-size: 18px; font-weight: bold;'>L2TP ADSL</div>".
|
||||
"<img src='graph.php?type=multi_bits&ports=".$ports['l2tp'].
|
||||
"&from=".$day."&to=".$now."&width=200&height=100'></a>");
|
||||
"&from=".$config['time']['day']."&to=".$config['time']['now']."&width=200&height=100'></a>");
|
||||
}
|
||||
|
||||
if ($ports['voip'])
|
||||
{
|
||||
echo("<a onmouseover=\"return overlib('<img src=\'graph.php?type=multi_bits&ports=".$ports['voip'].
|
||||
"&from=".$day."&to=".$now."&width=400&height=150\'>', LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 250);\" onmouseout=\"return nd();\" >".
|
||||
"&from=".$config['time']['day']."&to=".$config['time']['now']."&width=400&height=150\'>', LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 250);\" onmouseout=\"return nd();\" >".
|
||||
"<div style='font-size: 18px; font-weight: bold;'>VoIP to PSTN</div>".
|
||||
"<img src='graph.php?type=multi_bits&ports=".$ports['voip'].
|
||||
"&from=".$day."&to=".$now."&width=200&height=100'></a>");
|
||||
"&from=".$config['time']['day']."&to=".$config['time']['now']."&width=200&height=100'></a>");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user