mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Add page title changing infrastructure, do it for device tabs already
git-svn-id: http://www.observium.org/svn/observer/trunk@2690 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -22,6 +22,8 @@ if (device_permitted($vars['device']) || $check_device == $vars['device'])
|
||||
$device = device_by_id_cache($vars['device']);
|
||||
$attribs = get_dev_attribs($device['device_id']);
|
||||
|
||||
$pagetitle[] = $device['hostname'];
|
||||
|
||||
if ($config['os'][$device['os']]['group']) { $device['os_group'] = $config['os'][$device['os']]['group']; }
|
||||
|
||||
echo('<table style="margin: 0px 7px 7px 7px;" cellspacing="0" class="devicetable" width="99%">');
|
||||
|
||||
Reference in New Issue
Block a user