mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix coding style part 2
This commit is contained in:
@@ -1,26 +1,30 @@
|
||||
<?php
|
||||
|
||||
if ($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
|
||||
if ($bg == $list_colour_a) {
|
||||
$bg = $list_colour_b;
|
||||
}
|
||||
else {
|
||||
$bg = $list_colour_a;
|
||||
}
|
||||
|
||||
unset($icon);
|
||||
|
||||
$icon = geteventicon($entry['message']);
|
||||
if ($icon) { $icon = "<img src='images/16/$icon'>"; }
|
||||
if ($icon) {
|
||||
$icon = "<img src='images/16/$icon'>";
|
||||
}
|
||||
|
||||
echo("<tr\">
|
||||
echo '<tr">
|
||||
<td></td>
|
||||
<td>
|
||||
".$entry['humandate']."
|
||||
'.$entry['humandate'].'
|
||||
</td>
|
||||
<td>");
|
||||
<td>';
|
||||
|
||||
if ($entry['type'] == "interface") {
|
||||
$entry['link'] = "<b>".generate_port_link(getifbyid($entry['reference']))."</b>";
|
||||
}
|
||||
if ($entry['type'] == 'interface') {
|
||||
$entry['link'] = '<b>'.generate_port_link(getifbyid($entry['reference'])).'</b>';
|
||||
}
|
||||
|
||||
echo($entry['link'] ." ". htmlspecialchars($entry['message'])
|
||||
. "</td>
|
||||
echo $entry['link'].' '.htmlspecialchars($entry['message']).'</td>
|
||||
<td></td>
|
||||
</tr>");
|
||||
|
||||
?>
|
||||
</tr>';
|
||||
|
Reference in New Issue
Block a user