mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
Lots of bugfixes, some new features - VLANS
git-svn-id: http://www.observium.org/svn/observer/trunk@95 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -25,6 +25,16 @@ echo("
|
||||
<img src='images/16/server_lightning.png' align=absmiddle border=0> Overview
|
||||
</a>
|
||||
</li>");
|
||||
|
||||
if(@mysql_result(mysql_query("select count(vlan_id) from vlans WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0') {
|
||||
echo("
|
||||
<li class=$select[devvlans]>
|
||||
<a href='?page=device&id=" . $device['device_id'] . "§ion=dev-vlans' >
|
||||
<img src='images/16/rainbow.png' align=absmiddle border=0> VLANs
|
||||
</a>
|
||||
</li>");
|
||||
}
|
||||
|
||||
if(@mysql_result(mysql_query("select count(interface_id) from interfaces WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0') {
|
||||
echo("
|
||||
<li class=$select[devifs]>
|
||||
@@ -38,6 +48,7 @@ if(@mysql_result(mysql_query("select count(interface_id) from interfaces WHERE d
|
||||
</a>
|
||||
</li>");
|
||||
}
|
||||
|
||||
echo("<li class=$select[devgraphs]>
|
||||
<a href='?page=device&id=" . $device['device_id'] . "§ion=dev-graphs'>
|
||||
<img src='images/16/server_chart.png' align=absmiddle border=0> Host Graphs
|
||||
|
||||
Reference in New Issue
Block a user