From d12c2990725b9e2b11d87d6c98c37b227bdbd135 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 19 Apr 2011 22:06:17 +0000 Subject: [PATCH] cef -> routing/cef git-svn-id: http://www.observium.org/svn/observer/trunk@2103 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device.inc.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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)) {