make sensor_type larger, merge both logs into one tab (ran out of space!)

git-svn-id: http://www.observium.org/svn/observer/trunk@2719 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-11-07 19:39:15 +00:00
parent 9891f0201b
commit 86248c8bce
9 changed files with 56 additions and 41 deletions

View File

@@ -10,14 +10,13 @@ if (device_permitted($entry['device_id']))
$entry['hostname'] = shorthost($entry['hostname'], 20);
if ($_GET['page'] != "device")
if ($vars['page'] != "device")
{
echo("<td class=syslog width=140>" . $entry['date'] . "</td>");
echo("<td width=160><strong>".generate_device_link($entry)."</strong></td>");
echo("<td class=syslog><strong>" . $entry['program'] . " : </strong> " . htmlspecialchars($entry['msg']) . "</td>");
} else {
echo("<td class=syslog><i>" . $entry['date'] . "</i>&nbsp;&nbsp;&nbsp;<strong>" . $entry['program'] . "</strong>&nbsp;&nbsp;&nbsp;" . htmlspecialchars($entry['msg']) . "</td>");
}
echo("</tr>");