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:
Adam Amstrong
2011-04-28 15:03:38 +00:00
parent 0572f4a031
commit 811680e1b5
+1 -1
View File
@@ -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>