diff --git a/html/pages/device.inc.php b/html/pages/device.inc.php index 11167d75e8..1a5b34c5aa 100644 --- a/html/pages/device.inc.php +++ b/html/pages/device.inc.php @@ -138,17 +138,17 @@ if (device_permitted($_GET['id']) || $check_device == $_GET['id']) '); } - $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('
  • - - CEF - -
  • '); - } +# if ($cef_count) +# { +# echo('
  • +# +# CEF +# +#
  • '); +# } 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)) {