mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
cef -> routing/cef
git-svn-id: http://www.observium.org/svn/observer/trunk@2103 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+10
-10
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user