mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user