mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
highlight "ports" tab when viewing a "port"
git-svn-id: http://www.observium.org/svn/observer/trunk@2198 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -85,7 +85,7 @@ if (device_permitted($_GET['id']) || $check_device == $_GET['id'])
|
||||
|
||||
if (@mysql_result(mysql_query("select count(interface_id) from ports WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0')
|
||||
{
|
||||
echo('<li class="' . $select['ports'] . '">
|
||||
echo('<li class="' . $select['ports'] . $select['port'] . '">
|
||||
<a href="device/' . $device['device_id'] . '/ports/' .$config['ports_page_default']. '">
|
||||
<img src="images/16/connect.png" align="absmiddle" border="0" /> Ports
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user