mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Rename .inc to .inc.php files, remove more dead files
git-svn-id: http://www.observium.org/svn/observer/trunk@1913 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
29
html/includes/print-syslog.inc.php
Normal file
29
html/includes/print-syslog.inc.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
if (device_permitted($entry['device_id']))
|
||||
{
|
||||
$syslog_iter++;
|
||||
if (!is_integer($syslog_iter/2)) { $bg_colour = $list_colour_a; } else { $bg_colour = $list_colour_b; }
|
||||
|
||||
echo("<tr style=\"background-color: $bg_colour\">
|
||||
<td width=0></td>");
|
||||
|
||||
echo("<td class=syslog width=140>" . $entry['date'] . "</td>");
|
||||
|
||||
$entry['hostname'] = shorthost($entry['hostname'], 20);
|
||||
|
||||
if ($_GET['page'] != "device")
|
||||
{
|
||||
echo("<td width=160><strong>".generate_device_link($entry)."</strong></td>");
|
||||
}
|
||||
|
||||
echo(" <td class=syslog>
|
||||
<strong>" . $entry['program'] . " : </strong>
|
||||
" . htmlspecialchars($entry['msg']) . "
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>");
|
||||
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user