mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
show dropdown on graphs browser for ports
git-svn-id: http://www.observium.org/svn/observer/trunk@3049 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -230,6 +230,18 @@ if (!$auth)
|
||||
echo(generate_link("Hide Legend",$vars, array('page' => "graphs", 'legend' => "no")));
|
||||
}
|
||||
|
||||
### FIXME : do this properly
|
||||
if($type == "port" && $subtype == "bits")
|
||||
{
|
||||
echo(' | ');
|
||||
if ($vars['previous'] == "yes")
|
||||
{
|
||||
echo(generate_link("Hide Previous",$vars, array('page' => "graphs", 'previous' => NULL)));
|
||||
} else {
|
||||
echo(generate_link("Show Previous",$vars, array('page' => "graphs", 'previous' => "yes")));
|
||||
}
|
||||
}
|
||||
|
||||
echo('<div style="float: right;">');
|
||||
|
||||
if ($vars['showcommand'] == "yes")
|
||||
|
||||
Reference in New Issue
Block a user