cef -> routing/cef

git-svn-id: http://www.observium.org/svn/observer/trunk@2103 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-19 22:06:17 +00:00
parent b40b218f43
commit d12c299072
+10 -10
View File
@@ -138,17 +138,17 @@ if (device_permitted($_GET['id']) || $check_device == $_GET['id'])
</li>');
}
$cef_query = mysql_query("SELECT COUNT(*) FROM `cef_switching` WHERE `device_id` = '".$device['device_id']."'");
$cef_count = mysql_result($cef_query,0);
# $cef_query = mysql_query("SELECT COUNT(*) FROM `cef_switching` WHERE `device_id` = '".$device['device_id']."'");
# $cef_count = mysql_result($cef_query,0);
if ($cef_count)
{
echo('<li class="' . $select['cefswitching'] . '">
<a href="device/' . $device['device_id'] . '/cefswitching/">
<img src="images/16/car.png" align="absmiddle" border="0" /> CEF
</a>
</li>');
}
# if ($cef_count)
# {
# echo('<li class="' . $select['cefswitching'] . '">
# <a href="device/' . $device['device_id'] . '/cefswitching/">
# <img src="images/16/car.png" align="absmiddle" border="0" /> CEF
# </a>
# </li>');
# }
if ($_SESSION['userlevel'] >= "5" && mysql_result(mysql_query("SELECT count(*) FROM links AS L, ports AS I WHERE I.device_id = '".$device['device_id']."' AND I.interface_id = L.local_interface_id"),0))
{