accesspoint support (probably) from ethan sommer (#50)

git-svn-id: http://www.observium.org/svn/observer/trunk@3223 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2012-05-21 18:17:23 +00:00
parent fcef689504
commit d3796004ae
21 changed files with 596 additions and 2 deletions
@@ -0,0 +1,17 @@
<?php
if (is_numeric($vars['id']))
{
$ap = accesspoint_by_id($id);
if (is_numeric($ap['device_id']) && ($auth || device_permitted($ap['device_id'])))
{
$device = device_by_id_cache($ap['device_id']);
$title = generate_device_link($device);
$title .= " :: AP :: " . htmlentities($ap['name']);
$auth = TRUE;
}
}
?>