2009-09-07 11:07:59 +00:00
|
|
|
<?php
|
2007-04-03 14:10:23 +00:00
|
|
|
|
2011-03-16 18:28:52 +00:00
|
|
|
if (device_permitted($entry['device_id']))
|
|
|
|
{
|
2014-02-26 22:33:45 +00:00
|
|
|
echo("<tr>");
|
2007-06-24 14:56:47 +00:00
|
|
|
|
2014-01-14 15:32:48 +00:00
|
|
|
// Stop shortening hostname. Issue #61
|
|
|
|
//$entry['hostname'] = shorthost($entry['hostname'], 20);
|
2008-03-23 15:40:58 +00:00
|
|
|
|
2011-11-07 19:39:15 +00:00
|
|
|
if ($vars['page'] != "device")
|
2011-03-16 18:28:52 +00:00
|
|
|
{
|
2014-02-26 22:33:45 +00:00
|
|
|
echo("<td>" . $entry['date'] . "</td>");
|
|
|
|
echo("<td><strong>".generate_device_link($entry)."</strong></td>");
|
|
|
|
echo("<td><strong>" . $entry['program'] . " : </strong> " . htmlspecialchars($entry['msg']) . "</td>");
|
2011-05-17 22:10:23 +00:00
|
|
|
} else {
|
2014-02-26 22:33:45 +00:00
|
|
|
echo("<td><i>" . $entry['date'] . "</i> <strong>" . $entry['program'] . "</strong> " . htmlspecialchars($entry['msg']) . "</td>");
|
2007-06-24 14:56:47 +00:00
|
|
|
}
|
|
|
|
|
2011-05-17 22:10:23 +00:00
|
|
|
echo("</tr>");
|
2007-04-03 14:10:23 +00:00
|
|
|
|
2010-04-11 11:25:31 +00:00
|
|
|
}
|
|
|
|
|
2011-05-17 22:10:23 +00:00
|
|
|
?>
|