Fix coding style part 2

This commit is contained in:
Job Snijders
2015-07-13 20:10:26 +02:00
parent ad9590df9b
commit d8693f05ae
733 changed files with 37359 additions and 33947 deletions

View File

@@ -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>';