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:
Tom Laermans
2011-10-18 14:27:21 +00:00
parent b08d6377fa
commit ab2668981c
22 changed files with 53 additions and 1 deletions
+2
View File
@@ -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%">');