2010-08-02 16:38:03 +00:00
|
|
|
<?php
|
2010-08-01 14:17:06 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
if (is_numeric($vars['id']) && ($auth || application_permitted($vars['id']))) {
|
|
|
|
$app = get_application_by_id($vars['id']);
|
|
|
|
$device = device_by_id_cache($app['device_id']);
|
2015-08-27 13:18:53 +02:00
|
|
|
if ($app['app_type'] != 'proxmox') {
|
|
|
|
$title = generate_device_link($device);
|
|
|
|
$title .= $graph_subtype;
|
2016-08-18 20:28:22 -05:00
|
|
|
} else {
|
2015-08-27 13:18:53 +02:00
|
|
|
$title = $vars['port'].'@'.$vars['hostname'].' on '.generate_device_link($device);
|
|
|
|
}
|
2015-07-10 13:36:21 +02:00
|
|
|
$auth = true;
|
2010-08-01 14:17:06 +00:00
|
|
|
}
|