split devices/ports into smaller pages. add device/ports/neighbours to show links data in text (as opposed to map)

git-svn-id: http://www.observium.org/svn/observer/trunk@2150 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-23 15:59:06 +00:00
parent 16037887c1
commit 28b98dad8d
4 changed files with 45 additions and 17 deletions
+1
View File
@@ -153,6 +153,7 @@ if (device_permitted($_GET['id']) || $check_device == $_GET['id'])
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))
{
$discovery_links = TRUE;
echo('<li class="' . $select['map'] . '">
<a href="device/' . $device['device_id'] . '/map/">
<img src="images/16/chart_organisation.png" align="absmiddle" border="0" /> Map