diff --git a/html/pages/device.php b/html/pages/device.php index c3d47a824c..f17100f6b4 100644 --- a/html/pages/device.php +++ b/html/pages/device.php @@ -30,6 +30,13 @@ echo(" "); +echo("
  • + + Graphs + +
  • +"); + if(@mysql_result(mysql_query("select count(vlan_id) from vlans WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0') { echo("
  • @@ -76,19 +83,12 @@ if($_SESSION[userlevel] >= "5") { echo("
  • - Port Map + Map
  • "); } -echo("
  • - - Host Graphs - -
  • -"); - if($config['enable_inventory'] && @mysql_result(mysql_query("SELECT * FROM `entPhysical` WHERE device_id = '".$_GET['id']."'"), 0) > '0') { echo("
  • diff --git a/html/pages/device/bgp.inc.php b/html/pages/device/bgp.inc.php index b959a36ce4..b14936ae52 100644 --- a/html/pages/device/bgp.inc.php +++ b/html/pages/device/bgp.inc.php @@ -1,22 +1,23 @@ -No Graphs | -Graphs +
    +
    Local AS : " . $device['bgpLocalAs'] . "
    +
    + No Graphs | + Graphs +
    "); echo("
    "); - echo(""); - $i = "1"; $peer_query = mysql_query("select * from bgpPeers WHERE device_id = '".$device['device_id']."' ORDER BY bgpPeerRemoteAs, bgpPeerIdentifier"); while($peer = mysql_fetch_array($peer_query)) {

    Local AS : " . $device['bgpLocalAs'] . "